MongoDB card reviewmedium

What is MongoDB capped collection?

A capped collection is a fixed-size collection that automatically removes older documents when the size limit is reached. It is useful for logs, caching, and high-speed data storage scenarios.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.