Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1742

Clarify amount of space required for a compaction is up to 2GB

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      http://docs.mongodb.org/manual/reference/command/compact/#disk-space

      Currently the docs say that running compaction will require "a little bit" of extra space.

      The compact operation requires up to 2GB of free space to compact the data (maximum extent size).

      During the compact operation itself, index creation can use temporary storage as well if the index size exceeds the max in-memory threshold (100MB in 2.5) for external sort files. The size of this storage will be up to the size of all the secondary indexes.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 30 weeks ago