directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Chu <...@symas.com>
Subject Re: [index review] System indexes
Date Fri, 15 May 2009 09:23:00 GMT
Emmanuel Lecharny wrote:
> Currently, ObjectClass, entryCSN and UUID are considered as user index.
> A decent LDAP server can't work well without any of those index. This is
> obvious for the ObjectClass attribute, but replication heavily depends
> on the two other index.
>
> UUID and entryCSN must be System index. ObjectClass should also be a
> System index, I think.
>
> We already discussed about this, and agreed that UUID and entryCSB must
> be system index, so we will do the modification. I want to see if you
> feel the same for the ObjectClass index.
>
> One more thing : UUID and entryCSN are single valued attributes. We may
> want to store them in a Hash instead of a Tree. This has to be
> evaluated, I guess...

Considering that the most straightforward syncrepl mechanism involves turning 
a poll into a search on (entryCSN>={cookie}) I think you're going to want to 
use an ordered index (e.g. Btree) for entryCSN...

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

Mime
View raw message