[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Adding new Indexes while the directory is running
- To: Diego Lima <lists@diegolima.org>, openldap-technical@openldap.org
- Subject: Re: Adding new Indexes while the directory is running
- From: Christopher Wood <christopher_wood@pobox.com>
- Date: Sat, 15 Oct 2011 10:31:15 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:reply-to :to:subject:references:in-reply-to:content-type:date:message-id :mime-version; s=sasl; bh=e1ueRof14L55qYIeAcxgoYb9Za4=; b=PNMt2P tixtilw8K5ISMpcL7HmORZuOvsyV31cOsI8+G1p1Rfa9uGJ6iqO1tyju5Gs6rYgr Ue6QTV+tdL5rzgBuXeN4DhdSjDNPWjkcO9DDdqqlCgZ2yU/ThjMzQ/eWArCAaHIK S1XetpJ87dFPVsgabyowLk3wyCaD6HiaSmq2Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:reply-to :to:subject:references:in-reply-to:content-type:date:message-id :mime-version; q=dns; s=sasl; b=DjsHXBJCVMVN/Da9yYazcCXthFvzupAw 6BAT54eVx+kQRVrdkNGwG6j3y/f3TLjmiqptXg5N3twBrzc7pMEOup/bVVSOIRnO d4oVNrySFBXHDfRTCY3WzJvEUI6zdevGPFzRm5cVphF63PkG7t8A7uzBUelYAvRG vl39OI/4eIg=
- In-reply-to: <CAAv8OTxtcGb4ar=YDQ4AtsbmiKmuU=EzLj3ZHRBXk1w1YQCtsA@mail.gmail.com>
- References: <CAAv8OTxtcGb4ar=YDQ4AtsbmiKmuU=EzLj3ZHRBXk1w1YQCtsA@mail.gmail.com>
(Try it and see?)
When I tried adding an index with the online config the indexing happened in the backgound, as near as I could tell. At least my logs stopped pointing out the indexing opportunity, and an index file was generated in the db dir.
My experience was on an unloaded lab slapd, though.
----- Original message -----
> Hello all,
>
> I've recently migrated my OpenLDAP servers configurations to the
> online configuration (cn=config) and I have a question on how to deal
> with indexes. I can add a new index directive while the base is
> running, but should I do this? Don't I need to stop the directory and
> reindex the whole database when I add the new index entry? Or can I
> add it and postpone running slapindex to a later time?
>
> Thank you!
>
> --
> Diego Lima
> http://www.diegolima.org
>
>