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

Re: Adding OU with PSQL backend

Dieter Kluenter wrote:
Michael Ströder<michael@stroeder.com>  writes:

Dieter Kluenter wrote:
Marcel Berteler<marcel.berteler@bdsolutions.co.za>  writes:

Dieter Kluenter wrote the following on 2009/04/21 13:35:
Marcel Berteler<marcel.berteler@bdsolutions.co.za>  writes:
Just a few lines down, section 4.2.16 and 4.2.17
an equality index should be sufficient.

Server-side database indexing is implementation-specific and therefore
RFC 4517 does not say anything about indexing.

For indexing searches with<= or>= IMHO kind of an ordering index would
be needed for the ORDERING matching rule. Maybe one of the developers
could elaborate on how ordering matching works within slapd and whether
an equality index already speeds up this. When doing it with back-sql
probably the PostgresQL indexing configuration is relevant either.

A 'greater than or equal to', or 'less than or equal to' filter in
fact is operated on an equality index database.

That's true in back-bdb/hdb. For back-sql, everything depends on the underlying SQL database.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/