[Date Prev][Date Next]
Re: Problem with indexes.
Marc Jadoul wrote:
> There is something strange in my ldap with indexes:
> For example, i defined an index on the cn attribute. Then i have done
> some test, adding and deleting entries.
> What i see now (running slapd with -d 1) is that deleted entries have
> been deleted from the id2entry.dbb index, but not from the cn.dbb index.
> The consequence is of course a slowdown of search operation when using a
> filter like '(cn=name)'. The cn.dbb has for example 100 candidate for
> the filter, but 90 of these entries have been deleted in fact.
> does it look for 90 entries that does not exist anymore:
> => id2entry_r( 36208 )
> => ldbm_cache_open( "/mnt/u01/ldap_data/id2entry.dbb", 7, 600 )
> <= ldbm_cache_open (cache 1)
> <= id2entry_r( 36208 ) not found
> Is it normal or is a known problem ?
> Is there solution (without recreate all the indexes every 2 month or
Devel version has a fix for this problem...I would patch 1.2.4 if you
it and it works for you .....