~/talk

Breakout Session

Talkat PGConf Silicon Valley 2015 · 2015-11-17..11-18· [databases]
links:none on file
slides:none on file

Detailed postmortems of streaming replication lag with concrete fixes and measurable failures: monitoring both time lag and byte lag, using pg_stat_replication, iostat and graphs, and automating slot cleanup; root causes include NTP clock skew, HDD IO spikes on xlog partitions, a hand-misset async/sync that stopped replication, and replication slots filling disks; observed spikes up to ~30 seconds and a one-off ~500s anomaly; explains hot standby feedback tradeoffs causing master bloat and how replication slots change xlog retention, with scripts and HA config that end up working.

AI-written summary · about

  1. 0:00Start
  2. 1:17Monitoring 101 Cacti, Nagios, Zabbix + pagerduty
  3. 1:47What is Normal?
  4. 2:32Time V Bytes
  5. 4:49is replication paused?
  6. 5:04Byte Measurement
  7. 6:55Most issues are in the initial setup phase.
  8. 7:222. Hardware
  9. 8:46Traffic Isolation: separate host with alternate configuration
  10. 9:21Reporting Slaves
  11. 9:58Don't Forget: Remove Replication Slots For Decommissioned Slaves
  12. 11:33replication_timeout
  13. 12:44hot_standby_feedback
  14. 14:18max_standby_streaming_delay
  15. 15:36SSD xlogs & trim
  16. 21:39Slave Time - Master Time
  17. 22:56What have you experienced?
  18. 38:32The End
~/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.