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

Automatic collection dropping

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Execution Team
            Reporter:
            jon.rangel Jon Rangel
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: