Online defragCollection command

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Mathias Stearn
            Votes:
            38 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: