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

Documentation incorrectly says that compact can be used to reclaim disk space

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The MongoDB Storage FAQ says to use either compact or repair to reclaim space, in the section Why are the files in my data directory larger than the data in my database. Given the title of that section, I believe that most readers will interpret this as compact being a way of reclaiming disk space.

      Compact does not reclaim disk space, however. It only refragments. The compact documentation page spells this out, in the Disk Space section.

      We should remove compact as a means of reclaiming disk space from the Storage FAQ.

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            jantje.daniel Ian Daniel
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 43 weeks, 4 days ago