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

Add note on convertToCapped behaviour when collection has data greater than the new capped collection size

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      Add a note to: http://docs.mongodb.org/manual/reference/command/convertToCapped/

      The original collection will be followed in $natural order and loaded into a new capped collection. If you choose a smaller size (in bytes) for the capped collection than the current uncapped collection, documents will be aged out of the collection based on insertion order (First In, First Out).

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 19 weeks, 5 days ago