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

MongoDB TTL Monitor Batch Formation

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: 4.0.14
    • Fix Version/s: None
    • Component/s: Index Maintenance, TTL
    • Labels:
      None

      Description

      Hi ,

      When there is a heavy collection say with 50 crore of documents ,

      field - created_at with date value on which TTL with expiration 1 year is applied

      Index is created 100%

      How does the mongodb TTL thread that runs every 60 seconds prepare which set of documents to delete?

      Does it scan complete collection every minute?

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pragupta Pratiksha Gupta
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: