Are PostgreSQL data files only written to disk during checkpoint?
On every commit, postgres flushes WAL to disk through direct IO (configurable via wal_sync_method) to guarantee durability. Data files only need to be in shared buffers, can be flushed to disk later. My question is, on every commit, does postgres…