PostgreSQL Enterprise (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
What is the difference between Hot Standby and Warm Standby?
senior LevelpostgresqlAdvanced Internals
In Simple Words:
- Warm Standby: Secondary server replays WAL logs but is inaccessible to clients (cannot accept any read queries).
- Hot Standby (
hot_standby = on): Secondary server replays WAL logs while simultaneously accepting read-only client queries (SELECT), allowing read traffic offloading.