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

Automatic collection dropping

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

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            jon.rangel@mongodb.com Jon Rangel (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: