pgsql: Wakeup WALWriter as needed for asynchronous commit performance. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Wakeup WALWriter as needed for asynchronous commit performance.
Date
Msg-id E1RPVzl-0002E2-Ox@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Wakeup WALWriter as needed for asynchronous commit performance.
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4de82f7d7c50a81ec8e70e2cb0ab413ab9134c0b

Modified Files
--------------
src/backend/access/transam/xlog.c  |   33 ++++++++++++++++++++++++++++++++-
src/backend/postmaster/walwriter.c |   27 ++++++++++-----------------
src/include/access/xlog.h          |    2 ++
3 files changed, 44 insertions(+), 18 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: In plpgsql, allow foreign tables to define row types.
Next
From: Michael Meskes
Date:
Subject: pgsql: Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda ha