Emmanuel Lecharny wrote:
> Hi guys,
>
snip
>
> So here is what I suggest :
> - get rid of those reverse index
> - or, at least, make it optionnal
>
> thoughts ?
You described pure attribute value indices (including system indices
like objectClass and entryUUID as well as user indices like cn or uid).
I think for those indices it is possible to get rid of the reverse index
table.
However there are other indices:
- alias
- onealias
- subalias
- onelevel
- sublevel
- rdn
For those indices it is more difficult to remove the reverse index table
because the reverse() methods are used more often and the information
can't be extracted from the entry.
Kind Regards,
Stefan
PS: We also need to find out how to restructure the alias and
one/sublevel indices. We now have an RDN index that allows renames/moves
in O(1). But the update of the indices still takes more time.