- Published on
Investigation · Part 16 of 20 · What survives a crash
Group Commit: How Databases Make fsync Cheaper
With every writer syncing alone, my laptop made about 1,800 records per second durable, with 1 or 16 writers. With group commit, one fdatasync for all waiting records, 16 writers reached 15,822. A small delay before the sync helped 16 writers and hurt one, as PostgreSQL documents.