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

Compact does not release space to the system with WiredTiger

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL

    Description

      The documentation clearly claims that "On WiredTiger, compact will rewrite the collection and indexes to minimize disk space by releasing unused disk space to the system." However as far as I can tell in 3.0.7 this does not actually happen. I reduced dataSize of a collection from 130 GB to 30 GB and the storageSize remained the same at 61 GB after running compact. This was mentioned in SERVER-19062 which was marked as a dup for a ticket that doesn't address this problem.

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic
              lukejolly Luke Jolly
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: