Notes for a proposal to add per-session and/or per-transaction commit delay to postgresql.
Currently postgres has the commit_delay
and commit_sibling
global configurations.
To better support mixed workloads it would be significantly easier if a bit more flexibility was permitted, e.g. by allowing individual sessions or transactions to specify different acceptable commit delays, while still providing all required guarantees.