← BYTES
System Design·Starter·Ref: 18.1.14

In a primary-replica database replication setup, what is the primary (master) database's role?

Have a question about this video? Mention reference 18.1.14 when you contact us.

a.It only ever handles read queries, never writes
b.It is a backup copy that is never actually used
c.It is the database that accepts write operations, which are then propagated to one or more replica databases
d.It has no special role distinct from any replica
In primary-replica replication, the primary is the single database designated to accept writes; those changes are then propagated (synchronously or asynchronously) to one or more replicas, which typically serve read traffic -- giving the system a clear, unambiguous place where writes are ordered and applied first.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES18114#SystemDesign