dbTalk Databases Forums  

DB_SYSTEM_MEM and concurrent datastore application

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss DB_SYSTEM_MEM and concurrent datastore application in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
danwald
 
Posts: n/a

Default DB_SYSTEM_MEM and concurrent datastore application - 05-16-2006 , 01:05 PM






Is it possible to create an in memory only concurrent datastore
application?


Reply With Quote
  #2  
Old   
Ron
 
Posts: n/a

Default Re: DB_SYSTEM_MEM and concurrent datastore application - 05-17-2006 , 11:15 AM






Yes you can create a memory only database using CDS.

http://www.sleepycat.com/docs/ref/program/ram.html

Ron


Reply With Quote
  #3  
Old   
danwald
 
Posts: n/a

Default Re: DB_SYSTEM_MEM and concurrent datastore application - 05-24-2006 , 02:46 PM



Ron,

I did have a look at that page but when I do a

"env->open(env_home_dir, DB_SYSTEM_MEM , 0 )" the error message says
"Failed to open env: : No such file or directory"...

so I used flags "DB_SYSTEM_MEM | DB_CREATE" and it says "Failed to open
env: : Invalid argument" ...

and lastly I used "DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL |
DB_SYSTEM_MEM" and it says "Failed to open env: : Invalid argument"

I want the CDS with no on disk file storage, I hope the above
illustrates the issue
thanks

dan


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.