fsync and durability guarantees, Part 3: Making commits fast and safe

How PostgreSQL turns the brutal “PANIC on fsync error" rule into a system that is both fast and durable: WAL-first commits, group commit…