Delete take forever when having a lot of entries
------------------------------------------------

                 Key: DIRSERVER-1366
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1366
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.4
            Reporter: Emmanuel Lecharny
            Priority: Blocker
             Fix For: 1.5.5


When we have a base with, say, 10000 entries, deleting one of them takes 
forever. A short analysis conducted by Stefan Seelmann shown that the problem 
lies in the way we handle indexes (log for one entry) :

JdbmStore: lookup in 0ms
JdbmStore: drop alias indices in 0ms
JdbmStore: drop ndn index in 78ms
JdbmStore: drop updn index in 34ms
JdbmStore: drop onelevel indices in 426ms
JdbmStore: drop sublevel index in 525ms
JdbmStore: drop parent onelevel index in 0ms
JdbmStore: drop existence index in 3ms
JdbmStore: master delete in 0ms
JdbmStore: sync in 7ms

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to