Capped Collections
Fixed size collections that overwrite oldest data.
Example
db.createCollection("logs", { capped: true, size: 100000 })Exercise
Fixed size.
{ : true }
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.