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

Adding members to a groupOfNames results in polynomial increase in JDBM partition size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.5
    • 1.5.6
    • None
    • None
    • Any (tested on Linux and Mac OS X)

    Description

      I noticed a polynomial increase JDBM partition size and therefore disk usage when adding users to groups in my ApacheDS instance. The vast majority of the usage (95+% once you hit a couple thousand users) is in workingDirectory/partitionId/master.db

      Further testing showed that simply adding a user is linear, as one would expect, and as 'apacheds-tools capacity' confirms. It is only when a user is made a member of a group that the JDBM partition size shoots up.

      Example statistics:
      Add 16,000 users - JDBM partition size = ~70 megabytes
      Now add those same 16,000 users to a single group (all in the same group) - JDBM partition size = ~19 GIGABYTES

      I'll work to attach a test case and some more numbers from my tests

      Attachments

        1. DIRSERVER-1459.tar.gz
          7 kB
          Ben Hoyt
        2. screenshot-1.jpg
          17 kB
          Ben Hoyt

        Issue Links

          Activity

            People

              akiran Kiran Ayyagari
              bhoyt Ben Hoyt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: