[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Quick Technical questions

Reply enclosed [ ]
----- Original Message -----
From: "Adam Haberlach" <adam@newsnipple.com>
To: <openldap-software@OpenLDAP.org>
Sent: Friday, December 01, 2000 2:30 PM
Subject: Quick Technical questions

> o. What does OpenLDAP do, on Linux (or other such limited system) when
> a file gets to the 2 gigabyte mark?  Is it smart enough to split the
> files, or does it just truncate when size_t rolls over?
> o. Is OpenLDAP smart enough to optimize queries based on the base DN
> of a search, or does it scan through everything and then limit stuff
> that doesn't match the DN filter?

[ Through testing we have found that it will optimize queries only if you
set up an index for the "dn" attribute otherwise it will do an inefficient
linear search.  We use the following index "slapd.conf: index dn sub" which
gives us good performance.]

> --
> Adam Haberlach           |"California's the big burrito, Texas is the big
> adam@newsnipple.com      | taco ... and following that theme, Florida is
> http://www.newsnipple.com| the big tamale ... and the only tamale that
> '88 EX500                | counts any more." -- Dan Rather