What is the need to provide size option on create collection?
Answer / 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 |
Can mongodb scale?
What is mongodb config server?
How you can inspect the source code of a function?
What are indexes in mongodb?
What is journaling in mongodb?
What is the syntax to create a collection and to drop a collection in mongodb?
Who developed MongoDB and when?
Does mongodb run on windows?
Why 32 bit version of mongodb are not preferred ?
What is the difference between insert() and insertOne()?
Is mongodb a nosql database? Explain.
Why should I use mongodb?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)