Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1366

Delete take forever when having a lot of entries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.4
    • 1.5.5
    • None
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: