On 19 December 2013 17:23, <[email protected]> wrote:

> Is there a way to copy the local database to an in memory database on the
> same server.   Since most of the datasets we work run in memory and the
> test we are doing are on local machines.
> We would want to be able to start the application by loading the database
> in memory to then gain the performance increase of in memory operations.
>

You could export and reimport the database with different storage engine.


> Also, is there way to have 2 databases open at the same time on the same
> machine.  This would allow us to pull data from the local database and then
> write the answers into the memory database for
> future querying.
>

You can mix in-memory only cluster in your database where you can store
temporary information. Like:

Class Customer relies on 2 clusters:
- customer -> local (disk)
- customer_cache -> memory

If you move your record across clusters the query against the class always
works. Example:

select from Customer

That will always include both clusters.

Lvc@






>
> Thanks
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to