Storage glossary · JSON corpus · llms.txt · hesela.com

group-commit · shipping

Group commit

Group commit is a logging optimization that shares a durable log synchronization across multiple concurrent transaction or write requests.

Related Observatory article: Group commit on hesela.com

PostgreSQL can persist several commit records in one WAL synchronization without flushing all changed data pages. [1] Group commit can occur with commit_delay=0; an added delay is a batching opportunity, not a durability exemption. [2] RocksDB also groups compatible concurrent writes; different write options can prevent grouping. [5] Hesela's distinction: sharing persistence work does not turn separate transactions into one application-level atomic operation. [6] The 1984 DeWitt et al. report distinguishes early lock release from client acknowledgment and requires dependency-aware log persistence; it does not establish invention priority. [7]

Relations

related
write-ahead-log, asynchronous-commit

Advantages

Limitations

Citations

  1. PostgreSQL 18: Write-Ahead Logging (accessed 2026-10-15)
  2. PostgreSQL 18: WAL Configuration, group commit (accessed 2026-10-15)
  3. PostgreSQL 18: WAL settings, commit_delay and synchronous_commit (accessed 2026-10-15)
  4. PostgreSQL 18: Reliability (accessed 2026-10-15)
  5. RocksDB: WAL Performance, Group Commit (unversioned wiki) (accessed 2026-10-15)
  6. PostgreSQL 18: Transactions (accessed 2026-10-15)
  7. DeWitt et al. Implementation Techniques for Main Memory Database Systems. UCB/ERL M84/5 (1984), section 5.2. (accessed 2026-10-15)
  8. Hesela: Group commit shares persistence work, not transaction identity (accessed 2026-10-15)

JSON: /data/terms/group-commit.json