Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3206

reusage of free space on high insert/delete enviroments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.9.1
    • Fix Version/s: None
    • Component/s: Internal Code, Storage
    • Labels:
    • Operating System:
      ALL

      Description

      MongoDB does not reuse deleted space if the collection has an index on a key (in addition to _id)

      there is already a pull request on github regaring that issue - but its not mine I just tried it.
      https://github.com/mongodb/mongo/pull/37

      Attached is a testscript(for 1.8.1) and the logs from v1.8.1 and the patched version(based on the v1.8 branch) from github. You can clearly see the difference.

      Issue is also present on current master but not as bad(see the growth_test_master.log & growth_test_master_patched.log)

        Attachments

        1. cwolfinger_growth_test.log
          1 kB
        2. growth_test_master_patched.log
          1 kB
        3. growth_test_master.log
          1 kB
        4. growth_test.js
          0.9 kB
        5. growth_test.log
          1 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sch1zo Eger Andreas
            Participants:
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: