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

Support online compaction of a database

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution

      The compact command is per collection, does not reclaim space on the file system, and blocks use of the database The repairDatabase is per database, does reclaim space, and blocks use of the server. Neither run automatically, and therefore must be scheduled externally.

      This is a request for compaction of an entire database that can be done without blocking use of the server or even the database, similar to the VACUUM command in Postgres. Note that compact/repairDatabase is roughly equivalent to a VACUUM FULL.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            8 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: