Capped Collection

Capped collections are fixed-size collections that support high-throughput operations that insert and retrieve documents based on insertion order. Capped collections work in a way similar to circular buffers: once a collection fills its allocated space, it makes room for new documents by overwriting the oldest documents in the collection.

  • mongo不需要等OS allocate spaces

Document - Capped Collection

results matching ""

    No results matching ""