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

MongoDB TTL Monitor Batch Formation

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.14
    • Component/s: Index Maintenance, TTL
    • 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 Unassigned
            Reporter:
            pratiksha.gupta38@gmail.com Pratiksha Aggarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: