dbTalk Databases Forums  

Need help in Log file removal

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


Discuss Need help in Log file removal in the comp.databases.berkeley-db forum.



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

Default Need help in Log file removal - 11-11-2005 , 11:08 PM






Hi,
I have one problem with log file removal in DBXml.
In file system I have around 4 GB of Xml data and I am trying to
load it into the data base .
This load process rapidly creates log files of around 10 MB (Even if
I set the log file size parameter to some aother values during
enviornment creation it is creating 10 MB files) and eats up all my
disk space.So I am not able to load all the data into dbxml.
I tried to remove the logs by setting the config property(In Java)
envConf.setLogAutoRemove(true);
But it doesn't seem to be doing anything. I am not understanding
when this process is triggered or do I have to explicitly call it in
the application?

Thanks
Regards
Sandesh Pai


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

Default Re: Need help in Log file removal - 11-15-2005 , 09:47 AM






Hi Sandesh,

Most likely the logs are not *ready* to be archived since they contain
transactions that
have not yet finished (by your issueing a commit or abort). Also, you
should make sure
you are issueing checkpoints periodically.

http://www.sleepycat.com/docs/java/c...intConfig.html

Ron


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.