~/talk

Postgres Storytelling: Support in the Darkest Hour

Talkat Citus Con: An Event for Postgres 2023 · 2023-04-18..04-19· [databases]
slides:none on file

A Postgres instance hits transaction ID wraparound risk: a 4 TB, insert-only table (≈7 billion rows) drives oldest XID past autovacuum_freeze_max_age (~200M); a single 8-hour-long transaction and a cron job that requests new XIDs every minute block freezing. Investigation uses pg_database, pg_class, pg_stat_user_tables, pg_stat_activity and pg_locks; fixes include killing the stale backend, tuning autovacuum_cost_delay and autovacuum_vacuum_cost_limit, and upgrading from v13 to v14/15 so autovacuum can keep up.

AI-written summary · about

  1. 0:00Introducing Boriss
  2. 1:40Boriss’ talk begins: Postgres storytelling
  3. 3:10About Monica de Bea
  4. 4:29The transaction wraparound problem
  5. 9:37Mammoths & frozen Postgres transactions
  6. 12:52Monitoring & table age
  7. 15:18Vacuum & autovacuum
  8. 16:23pg_stat_activity
  9. 18:16Investigating pg_locks
  10. 29:10Q&A
~/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.