Automatic collection dropping

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MongoDB currently supports TTL indexes for removing old documents from a collection. There are some use cases where it would be useful to extend the concept of TTL behaviour to the collection as a whole.

      A couple of examples:

      • Automatically dropping old collections when storing time series data using the schema advocated by our High Volume Data Feed reference architecture.
      • Automatically cleaning up temporary aggregation results created by aggregation pipelines with the $out operator. If each aggregation query outputs to a different temporary collection, the cached aggregation result is most efficiently cleaned up by simply dropping the collection.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Jon Rangel (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: