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

TTL indexes should imply usePowersOf2sizes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.5, 2.5.3
    • None

    Description

      Analogous to SERVER-8418 (which was implemented later than TTL feature existed) expireAfterSeconds index creation should trigger setting powers of 2 sizes flag on collection.

      This would eliminate the SERVER-8418 solution which causes TTL to run every minute and query every database in case the flag needs to be set (on secondaries as well as primaries).

      With systems that have large number of databases this is very painful performance-wise.

      Attachments

        Activity

          People

            dan@mongodb.com Daniel Pasette (Inactive)
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: