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

Online defragCollection command

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            38 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: