[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Open LDAP performance tuning
- To: OpenLDAP software list <openldap-software@OpenLDAP.org>
- Subject: Re: Open LDAP performance tuning
- From: Moe <moe_w90@yahoo.com>
- Date: Tue, 13 Sep 2005 19:19:40 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fVSqmx2MyZ2hKZCs8rMocm5Ozlqy9m+fg3UCIT65lZNyKOzqwpx7WuYyxyHRZ77OuK9Wa5cBhKVgEWEcgNbH4xLsOltGwJASk90SynQSOc7U8YbxuF5jqFCvblsydCegSWr3xyWRnl2rIALYmWRIi46aWQts4Ytn5qWSoV0df18= ;
- In-reply-to: <D84D0130EE6EA64F7FAF7EFA@[10.0.0.1]>
Is using db_config essential or can i just due the performance tuning through slapd.conf?
Quanah Gibson-Mount <quanah@stanford.edu> wrote:
--On Tuesday, September 13, 2005 12:13 PM -0700 Moe
wrote:
> For using db_stat, Should the DB_HOME environment variable be pointing to
> db-4.3.28.NC or to /usr/local/var/openldap-data/ ?. Should i use DB_ENV
> to open a Berkeley DB environment before using db_stat?
> I'm in production and i would like to know if there is a risk in playing
> with this. I have openldap 2.2.28 with berkeley db 4.3.28.
The DB Home environment is wherever you have deployed your database, so
most likely /usr/local/var/openldap-data/.
If you had no DB_CONFIG file, creating one and setting stuff in it will not
have any effect until you:
Shut down the slapd process
run db_recover
Start the slapd process
Do *not* run db_recover while slapd is running.
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.