[Pkg-openldap-devel] Bug#436954: Bug#436954: slapd: wishlist item: re-index at startup

Quanah Gibson-Mount quanah at zimbra.com
Tue Jan 15 18:48:40 UTC 2008


--On Tuesday, January 15, 2008 12:02 PM -0600 Pat Riehecky 
<prieheck at iwu.edu> wrote:

> I would like to add my $0.02 to have this feature added, it would almost
> certainly come in hand when bug #333428 is completed.

Out of curiosity, why would one want to re-index at startup of slapd? 
indices are maintained as data is modified.  The only time one needs to 
re-index is if they have modified their indices.  In OpenLDAP 2.4, it is 
trivial to re-index just those attributes that you've modified the indices 
for, by passing them to slapindex.  This is far superior than attempting to 
re-index the entire database, which could take quite a long time on large 
databases.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration





More information about the Pkg-openldap-devel mailing list