[Date Prev][Date Next]
RE: Slow openldap?
ldif2ldbm executes ldif2id2entry, ldif2id2children,
and runs ldif2index for each index defined in the
configuration file. There shouldn't be a need to
run ldif2index in addition to ldif2ldbm. If you
add a new index to the configuration, though, and
don't want to completely recreate your database,
you have to run ldif2index (on an exported LDIF)
just to create the new index.
> -----Original Message-----
> From: Joe Novielli [mailto:firstname.lastname@example.org]
> Sent: Wednesday, July 28, 1999 11:11 AM
> To: openldap-software@OpenLDAP.org
> Subject: Re: Slow openldap?
> > > > I have added "index oui eq" to my slapd.conf and
> rebuilt the database
> > > > from .ldif file (using ldif2ldbm). But still the
> lookups by oui attribute
> > > > are still as slow as without index.
> > >
> > > Rebuilding the database with ldif2dbm doesn't help! You
> have to create the
> > > index with ldif2index. BTW, this is covered in the FAQ (see
> > > http://www.openldap.org/faq/data/cache/136.html) ;-)
> Does this apply even if you:
> 1) stop the ldap server
> 2) delete the all the database files
> 3) rebuild them with ldif2ldbm
> 4) restart the server
> IE: Must you run ldif2index, no matter what, to get indexed?