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

Support online compaction of a database

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            8 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: