Using delayed read replicas for Amazon RDS for PostgreSQL disaster recovery
Database Blog
This article explains how to use delayed read replicas in Amazon RDS for PostgreSQL to recover from data corruption and human errors without lengthy restoration processes.
- Delayed replicas intentionally lag behind primary database by configurable time interval
- Enabled via `recovery_min_apply_delay` parameter; available in PostgreSQL 14.19+, 15.14+, 16.10+, 17.6+
- Primary use cases: prevent accidental data modifications, protect against application bugs, enable auditing
- Recovery functions `pg_wal_replay_pause()` and `pg_wal_replay_resume()` provide granular control
- Demonstrated recovery from dropped database using LSN-based point-in-time recovery
- Best practices include CloudWatch monitoring, storage auto-scaling, and WAL management
Delayed replication provides a real-time safety net for disaster recovery, complementing automated backups by enabling rapid recovery within minutes instead of hours.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Aug 22
2025
2025
Amazon RDS for PostgreSQL now supports delayed read replicas
Oct 21
2024
2024
Automatic reconnection to Amazon RDS for Oracle read replicas during disaster recovery
May 25
2023
2023
Amazon Aurora PostgreSQL improves availability of read replicas
Oct 7
2024
2024
Load balancing strategies for Amazon RDS for SQL Server read replicas to scale read workloads and reduce latency
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.