Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1694

TTL and powerOf2Sizes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      On http://docs.mongodb.org/manual/tutorial/expire-data/

      "TTL collections set the usePowerOf2Sizes collection flag, which means MongoDB must allocate more disk space relative to data size."

      Should we state TTL collections set the usePowerOf2Sizes collection flag to true? instead of just it sets this flag? Because every 60 seconds that the ttl thread runs, it sets this flag to true. So people cannot disable it with collMod on a TTL collection because the thread will reset it to true.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 29 weeks ago