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

MongoDB TTL Monitor Batch Formation

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 4.0.14
    • Index Maintenance, TTL
    • 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

            Unassigned Unassigned
            pratiksha.gupta38@gmail.com Pratiksha Aggarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: