Replication

Definition

Replication involves creating copies of data across multiple database servers, ensuring high availability and improved performance for applications.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between replication and backup?
Replication keeps one or more live copies of data in sync so applications can keep running if a server fails or to speed up reads. Backups are point-in-time snapshots meant for recovery from accidental deletion, corruption, or ransomware. Replication helps with availability and performance; backups help you restore to an earlier point in time.
When should I use replication?
Use replication when you need higher availability (failover to another copy), better read performance (send read traffic to replicas), or lower latency for global users (replicate closer to users). It’s common for production databases, read-heavy workloads, and multi-region applications. If your main goal is long-term retention or restoring old versions, prioritize backups in addition to replication.
How much does replication cost?
Costs usually include: (1) extra database instances or nodes for replicas/standbys, (2) additional storage for each copy, (3) network data transfer—especially cross-region replication, and (4) higher I/O or write overhead depending on sync method. Managed services may also charge for features like global databases or multi-region writes. The biggest drivers are number of replicas, instance size, and cross-region traffic.

Category: data

Difficulty: intermediate

Related Terms

See Also