Diagram
Primary data center with primary and standby databases using sync replication contrasts with async WAL streaming to a secondary region, where lag and WAL retention settings determine RPO and RTO.
Asynchronous Replication Mechanism
Asynchronous replication moves Write-Ahead Logging (WAL) data from the primary cluster to the secondary cluster by streaming, without waiting for the secondary cluster to confirm each write before the primary cluster commits. Data therefore flows from the primary database server to the secondary database server in order, and the secondary cluster normally lags slightly behind the primary cluster. That lag determines RPO, because any transactions not yet streamed when a regional failure occurs can be lost, and it affects RTO, because a lagging secondary cluster needs more time to catch up before promotion.
Domain 3 of 5
12 practice questions
Practice this DomainLast updated