Database Incident Language
5 exercises — practise the English vocabulary for database incident communication: replication lag, deadlock identification, connection pool exhaustion, failover vs. switchover, and WAL-based crash recovery.
0 / 5 completed
1 / 5
During an active incident, the on-call engineer posts in the incident channel: "We are seeing 45-second replication lag on the read replica." What does this mean for read-heavy services currently pointing at that replica?
Replication lag vocabulary:
Option C is the correct operational impact. Replication lag is the delay between when a transaction commits on the primary and when that change is applied on the replica.
Incident communication vocabulary for replication lag:
Common causes to investigate: long-running transactions on primary, high WAL volume, replica I/O bottleneck, network link saturation between primary and replica.
Option C is the correct operational impact. Replication lag is the delay between when a transaction commits on the primary and when that change is applied on the replica.
| Term | Definition |
|---|---|
| Replication lag | Delay between primary commit and replica apply |
| Stale read | A read that returns outdated data because the replica has not yet applied recent writes |
| Read-after-write consistency | Guarantee that a user can always read their own recent write — broken under replication lag |
| Replica promotion | Elevating a replica to primary — during high lag, this risks losing recently committed data |
Incident communication vocabulary for replication lag:
- "We are routing all read traffic back to the primary to avoid stale reads until lag is resolved."
- "The replica is currently 45 seconds behind — services that require read-after-write consistency should not query it."
- "Lag has been stable at 45 seconds for 10 minutes — investigating whether this is WAL volume, network throughput, or replica I/O saturation."
Common causes to investigate: long-running transactions on primary, high WAL volume, replica I/O bottleneck, network link saturation between primary and replica.