What is capped collection in MongoDB

Definition:MongoDB Capped collection is a fixed-sized collection that automatically overwrites its oldest entries when it reaches its maximum size.

What is capped collection in MongoDB
In detailed : Capped collections have maximum size or document counts that prevent them from growing beyond maximum thresholds. All capped collections must specify a maximum size and may also specify a maximum document count. MongoDB removes older documents if a collection reaches the maximum size limit before it reaches the maximum document count.

How to create Capped collection:


Continue reading What is capped collection in MongoDB