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

Give option to compact to compact index buckets to be at full capacity

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Index Maintenance, MMAPv1
    • None
    • Storage Execution

    Description

      Currently when we compact an index we leave a bit of extra room in every index bucket so that it has room to grow. If you're indexing a key that is always increasing (such as with an ObjectId), nothing will ever get written into any bucket except the right-most one, so it'd be nice to leave all other buckets at 100% capacity so no space is wasted.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: