~/talk

Understanding and Optimizing commit sychronization for maximum performance

Talkat Percona Tech Days 2020 · 2020-08-05..09-18· [databases, web-performance]
links:none on file
slides:none on file

Explains how PostgreSQL guarantees durability via WAL and which knobs change real behavior: default 16 MB wal segment, WAL is 64‑bit LSN (effectively 16 exabytes), and wal_writer_delay defaults to 200 ms, so asynchronous commits can lose that window; xlog insert uses 8 locks which creates contention under extreme write concurrency. Covers fsync must be on, full_page_writes, synchronous_commit modes (on, remote_write, local), archiver/wal sender/receiver mechanics, and common pitfalls with virtualization and missing archiving.

AI-written summary · about

  1. 0:00Intro
  2. 0:31What is this talk about
  3. 1:29Life of Data Manipulation
  4. 2:44Why WAL?
  5. 6:05What is a WAL & WAL segment
  6. 9:43WAL Record
  7. 13:32Control flow of a transaction
  8. 19:42WAL 10 path
  9. 23:12WAL segment completion
  10. 25:05WAL Senders
  11. 31:51commit_delay & commit_siblings
  12. 32:28Common Mistakes
~/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.