What is the need to provide size option on create collection?
Answer Posted / Senjons Murmu
When creating a new collection in MongoDB, providing a size option (e.g., capped = true and size = N) can be useful for managing collections with limited storage. A capped collection guarantees that it will not grow beyond a specific size, ensuring predictable performance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers