In mongodb, how sharding and replication work together?
Answer / Gurucharan Singh
Sharding is a method used to horizontally partition data across multiple MongoDB instances for improved scalability. Replication, on the other hand, is used to maintain copies of data across multiple servers for better fault tolerance and availability. In MongoDB, sharded clusters combine both sharding and replication features, allowing you to store multiple copies of each document across several shards while still maintaining the performance benefits of horizontal scaling.
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you understand by nosql databases? Is mongodb a nosql database? Explain.
Is mongodb free for commercial use?
When do we use namespace in mongodb?
Is it required to call ‘getlasterror’ to make a write durable?
What is the syntax of update document?
Is mongodb scalable?
Is mongodb a framework?
What is use of gridfs in mongodb?
Does mongodb have a schema?
Is mongodb atlas free?
What do you understand by a profiler with reference to mongodb?
Who bought 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)