~/talk

Ptrack 2.0: yet another block-level incremental backup engine

Talkat PGCon 2020 · 2020-05-26..05-29· [databases]
links:none on file
slides:none on file

Ptrack 2.0 is an extension that implements block-level incremental backups by tracking page writes at the storage manager and storing per-page LSNs in a single shared hash table mmap'ed from disk as a mmap'ed map with CRC32 that is atomically replaced at checkpoint. It is lockless using atomics, uses a fixed-size table (64 MB can cover ~64 GB without false negatives), allows false positives but never misses changes, and shows about 1–3% TPS overhead in benchmarks while integrating with pg_probackup.

AI-written summary · about

  1. 0:00Introduction to Ptrack
  2. 2:20Motivation for incremental backups
  3. 4:24Page vs delta backup methods
  4. 7:24First Ptrack version overview
  5. 11:03Drawbacks of first implementation
  6. 17:31Second Ptrack version design
  7. 21:56In-memory data structure
  8. 24:06Tracking page modifications
  9. 26:15Durability and crash recovery
  10. 29:51Limitations of new version
  11. 31:42User-facing SQL API
  12. 35:15Benchmark results
  13. 38:52Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.