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

compact always creates a new extent

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0.6, 2.1.0
    • None
    • Storage
    • None

    Description

      It looks like the compact command will create a new extent, at least if there isn't an extent on the free list. For large collections, the new extents will be large and usually require a new datafile to be allocated every time compact is run.

      Experimentally I've run several compact commands back to back and seen a new file get allocated every or almost every time. This was after hitting the max file size, and it seemed like compact was creating a new extent rather than reusing a free list extent in this case.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            aaron Aaron Staple
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: