dbTalk Databases Forums  

Disabling cache

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


Discuss Disabling cache in the comp.databases.berkeley-db forum.



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

Default Disabling cache - 11-16-2006 , 08:38 AM






I want to execute queries on my databases without any cache.

So I use DB->set_cachesize() function to set zero cache. Is it correct?
Should I do the same thing when creating my database?




thanx in advance.


Reply With Quote
  #2  
Old   
Philip Guenther
 
Posts: n/a

Default Re: Disabling cache - 11-16-2006 , 09:36 PM






On Nov 16, 7:38 am, "pbour" <panayiotis.bou... (AT) gmail (DOT) com> wrote:
Quote:
I want to execute queries on my databases without any cache.
Why? That is, what effect are you trying to achieve?


Quote:
So I use DB->set_cachesize() function to set zero cache. Is it correct?
It is not possible to use with DB access methods without a cache. The
DB->set_cachesize() function description documents the minimum size:
The default cache size is 256KB, and may not be specified as less
than 20KB

If you specify less than the minimum, it'll use the minimum.


Philip Guenther



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.