Replication ஒரு primary தரவுக்காகத்திலிருந்து ஒன்று அல்லது அதற்கு மேற்பட்ட replica (standby) சேவையகங்களுக்கு தரவை நகலெடுக்கிறது — உயர் கிடைக்கட்டாய়தன்மைக்கு (primary தோல்வியுற்றால் failover) மற்றும் வாசிப்பு அளவிடுவதற்கு (வாசிப்பு வினவல்களை விநியோகிக்க). PostgreSQL முதன்மையாக streaming replication (physical) ஐ write-ahead log (WAL) அடிப்படையில் பயன்படுத்துகிறது..
Streaming (physical) replication
Primary ──(streams WAL: the write-ahead log of changes)──▶ Replica(s)
✓ The primary handles all WRITES
✓ Replicas continuously apply the primary's WAL → stay in sync (near-real-time)
✓ Replicas can serve READ queries ("hot standby") → scale reads
