~/talk

PostgreSQL Replication Conflicts: Avoiding Pitfalls

Talkat Percona Community Live 2022 · 2022-06-21..06-23· [databases]
slides:none on file

Covers common replication conflicts in PostgreSQL streaming replication—such as replication lag, logical slots, lock and snapshot conflicts, and tablespace issues—and explains PostgreSQL internals behind those problems. Describes best practices and observability tools (monitoring/diagnostics) to prevent and troubleshoot replication-related failures.

AI-written summary · about

  1. 0:00Start
  2. 3:23Replication Issues - Overview • Reliable replication scheme requires: Optimal configuration
  3. 4:47Presentation Outline
  4. 17:10Synching Up • Synchronous Streaming Replication
  5. 21:53Replication Configuration • Configuration Parameters Sending Server
  6. 25:55What Conflicts? So primary server and readonly standby. How can we have conflicts?
  7. 27:04Replication Issues?
  8. 27:41Types of Replication Issues Faced
  9. 32:34Replication: Lock Conflict
  10. 34:09Lock Conflict-Code Flow
  11. 44:07Replication: Snapshot Conflicts Primary Server Standby Server
  12. 44:34Snapshot Conflicts-Code Flow Start XLog Processing
  13. 45:56Closing Thoughts Always tune for workload. There is no single solution that fits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.