Create a Capped Collection
On this page
Capped Collections are fixed-sized collections that support high-throughput operations that insert and retrieve documents based on insertion order.
Restrictions and Limitations
The following restrictions and limitations apply when creating a capped collection:
Custom collation is the only Advanced Collection Option that can be used alongside your capped collection.
If you import a data set larger than the maximum size of the capped collection, Compass only loads the last documents of the data set and drops the oldest documents.
Once the collection is created, you cannot adjust the maximum number of bytes.