~/talk

The Computer Wants to Lose Your Data

Talkat SREcon25 Europe/Middle East/Africa · 2025-10-07..10-09· [databases]
slides:none on file

Databases must cope with torn 16KB (MySQL) or 8KB (Postgres) pages versus 4KB atomic sectors, so MySQL uses a doublewrite buffer that guarantees one intact copy on disk; Postgres changes to crash-on-error after the 2018 fsync returns EIO once discovery and kernel fixes across 4.13–4.17; many NVMe/SSD devices have volatile write-back cache lies that claim flush succeeded but lose data, and turning caches off fixes safety at a large performance cost.

AI-written summary · about

  1. 0:00Introduction to data storage
  2. 2:20MySQL doublewrite buffer
  3. 9:35Atomic writes in hardware
  4. 12:06Postgres fsyncgate incident
  5. 21:15Database error handling
  6. 22:12Hardware disk caches
  7. 27:25Safe hardware strategies
  8. 30:42Reliability and conclusions
~/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.