Hacker News new | ask | show | jobs
by PaulDavisThe1st 337 days ago
Chance of Postgres commit mapping 1:1 onto posix fsync or equivalent: slim.
1 comments

Without parallelism, each commit will be at least one fdatasync (or fsync, O_SYNC/O_DSYNC write, depending on configuration). With parallelism, concurrent transaction might be flushed together, reducing the total number of fsyncs.