Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases > Transaction Log...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 316 of 384
Post > Topic >>

Transaction Logs von Berkley Database

by "Frank Loffelt" <Post@[EMAIL PROTECTED] > Oct 24, 2005 at 12:44 AM

Hello,

I'm use an Openldap 2.3.11 withe SuSE (Novell) Linux ES 9.1.
The backend is a the Berkley Database (Sleepycat) 4.3.
The LDBM have'nt  enough Performance - to much Datas.

Now I have a problem with the BDB. The BDB write to many transaction
logfiles (log.xxxxxxxxxx).
An delete operation of the logfiles is'nt good, I should use the
Berkley Tools to delete old logfiles.
But the Berkleytools are functionally only when the Openldap is
stopped. But I can't stop the Openldap in the Production.

Therefor I have build an DB_CONFIG:

set_cachesize 0 10485760 0
set_lg_bsize 2097512
set_lg_dir /home/LDAP/openldap_app/ main/db_logs
set_flags DB_LOG_AUTOREMOVE

The Flag DB_LOG_AUTOREMOVE should remove the old unused logfiles. But
no logfiles become deleted - every logfiles exist for all time.

The logfiles are written in the set_lg_dir directory from the DB_CONFIG
file - this is for me an evidence that the Backend used the DB_CONFIG
file.

On some Days I'm write so much Datas that the Backend produces 4 GB
logfiles in 24 hours - that's to much - I have only an 5 GB HDD.
And when the file system is full than stopped my application -
isn't good.

What can I do that no or not so much logfiles are written?

The Help is urgent, and I'm very appreciative for any help.
I havn't found an answer for my problem in the Sleepycat
Dokumentation or on sites in the internet .

Thank you very much
Frank

P.s.: Sorry form a bad English
 




 1 Posts in Topic:
Transaction Logs von Berkley Database
"Frank Loffelt"  2005-10-24 00:44:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 20 0:34:20 CDT 2008.