System Design · Junior · Question 47 of 75
What is database replication?
- ✓Correct answer: Copies of data on several servers for reliability and reads
- 2Removing duplicate records from database tables
- 3Migrating the database to a new schema version
Explanation
A typical setup: one primary server for writes and replicas for reads. If the primary fails, a replica can be promoted. Caveat: replication lag - just-written data may not have appeared on the replica yet.