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

Online defragCollection command

    XMLWordPrintableJSON

Details

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

    Description

      This would be useful to compact a collection after removing large fields.

      I think the best procedure would be to clone the collection, then replay the oplog onto the new collection, and finally do an atomic collection rename to replace the original.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            mathias@mongodb.com Mathias Stearn
            Votes:
            38 Vote for this issue
            Watchers:
            29 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: