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

Re: Performance of search with filter (entryDN=<DN>)

Michael Ströder wrote:

Not sure whether this has discussed before.

I have to deal with a third-party application where single entries are
read by sub-tree search with filter (entryDN=<DN>). That cannot be
easily changed. The database is rather small (<10000 entries) so I
simply tried to generate an equality index for entryDN which does not
seem to be possible (slapd shows error message when reading config).

So I wonder whether this sort of filter is already optimized out with
the dn2id.bdb index.

Yes it is. However, it was only recently (2.4.13), and not in 2.3.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it