Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1366

Delete take forever when having a lot of entries

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.5
    • Component/s: None
    • Labels:
      None

      Description

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development