Sharding and replication in YugaByte DB

Does YugaByte DB’s replication model have shards and replica sets, similar to MongoDB?

Yes, but our terminology is slightly different. YugaByteDB implicitly shards user data into tablets based on the specified key in your table definition, and then each tablet has a number of copies specified by the replication factor of the cluster.

For more information, refer to:
https://docs.yugabyte.com/latest/architecture/docdb/sharding/
https://docs.yugabyte.com/latest/architecture/docdb/replication/

Alan

1 Like

We have multiple blog posts comparing sharding, replication and transactions architecture of YugaByte DB and MongoDB.

The intro post is here:
https://blog.yugabyte.com/mapping-yugabyte-db-concepts-to-postgresql-and-mongodb/

Follow-ups are:
https://blog.yugabyte.com/yugabyte-db-high-availability-transactions-for-postgresql-mongodb-developers/
https://blog.yugabyte.com/overcoming-mongodb-sharding-and-replication-limitations-with-yugabyte-db/

Let us know if you have more questions.

1 Like