MongoDB TTL Monitor Batch Formation

XMLWordPrintableJSON

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

      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?

       

              Assignee:
              Unassigned
              Reporter:
              Pratiksha Aggarwal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: