dbTalk Databases Forums  

Re: BDB 4.7.25 not deleting log files

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


Discuss Re: BDB 4.7.25 not deleting log files in the comp.databases.berkeley-db forum.



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

Default Re: BDB 4.7.25 not deleting log files - 06-03-2009 , 12:38 PM






Quote:
By the way, I dont have any checkpoiint calls , could that be my
problem?
Yes, log files are only removed after a checkpoint, after the data has
actually hit the disk.


Reply With Quote
  #2  
Old   
Florian Weimer
 
Posts: n/a

Default Re: BDB 4.7.25 not deleting log files - 06-06-2009 , 05:01 PM






Quote:
By the way, I dont have any checkpoiint calls , could that be my
problem?

Yes, log files are only removed after a checkpoint, after the data has
actually hit the disk.

Thanks for your reply, but I thought checkpoints just flush the
current log file and uncommitted stuff. In my situation, new log files
are constantly being created, for exmaple, when the files have reached
upto log.1000, I would imagine, log.0001 can be safely removed?
Not necessarily. This depends on factors such as log file and cache
file size. It's only permitted to remove those log files if the
transactions recorded within them have completed, and their updates
are reflected in the on-disk database files. A checkpoint ensures
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 - 2012, Jelsoft Enterprises Ltd.