dbTalk Databases Forums  

db->set_cachesize() question

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


Discuss db->set_cachesize() question in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
antispam_header_remove_me__mlaster@gmail.com
 
Posts: n/a

Default db->set_cachesize() question - 07-22-2005 , 06:29 PM






I have a single database file containing 3 subdatabases. I want to use
it in read-only mode without an environment.

I have three DB handles since there are 3 distinct database, but they
all point to the same physical file.

Do I need to call set_cachesize() on each handle, or will there share
the same underlying cache structure?

The documentation isn't too clear about this.


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 - 2013, Jelsoft Enterprises Ltd.