• Simon Riggs's avatar
    Wakeup WALWriter as needed for asynchronous commit performance. · 4de82f7d
    Simon Riggs authored
    Previously we waited for wal_writer_delay before flushing WAL. Now
    we also wake WALWriter as soon as a WAL buffer page has filled.
    Significant effect observed on performance of asynchronous commits
    by Robert Haas, attributed to the ability to set hint bits on tuples
    earlier and so reducing contention caused by clog lookups.
    4de82f7d
xlog.c 299 KB