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

TTL indexes on capped collections - statements seem contradictory

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      On this page:
      https://docs.mongodb.com/manual/core/capped-collections/#automatically-remove-data-after-a-specified-period-of-time

      This should say "As an alternative to capped collections, you could use TTL indexes..."

      As written, it says for "additional flexibility", which implies you can add it to capped collections, because that is the topic on this page. Then the last line of the section says it can't be used for capped collections, which is confusing

      Attachments

        Activity

          People

            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            matt.kalan@mongodb.com Matt Kalan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 15 weeks, 2 days ago