[Date Prev][Date Next]
RE: objectclass index
"Howard Chu" wrote...:
>> for openldap2.0.X, does (should) it make any difference in
>> performance whether i'm indexing objectclass "eq" or "pres"? most
>> important is of course search performance, but also modifications,
>> or at all the creation of the db with slapadd are interesting. i
>> think "pres" inedxing should be adequate..
>> the db will have just three objectclasses btw. (top and qmailuser,
>> and one "organizationalunit" as it's suffix-root-entry..) and _no_
>> referral objects..
> You should only be using eq index for objectclass. If you never
> intend to use objectclass as a search parameter, you should not
> index it at all. With only 3 objectclasses in your database, there
> doesn't seem to be much need.
but.. when i'm not indexing objectclass, slapd does a search on the
whole database for an "referral" entry on the _not indexed_ attribute
objectclass.. with the openldap tools i can specify "-M" as a work-
around, but with qmail, i can't..
i think i remember a discussion on the devel list to even encode the
objectclass index in openldap with 2.0.19 at all, so i think just
disabling DSA controls at all isn't the right way..? (that's what i did
thanx for the fast reply,