pgsql: Wakeup WALWriter as needed for asynchronous commit performance.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Wakeup WALWriter as needed for asynchronous commit performance.
Дата
Msg-id E1RPVzl-0002E2-Ox@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: In plpgsql, allow foreign tables to define row types.
Следующее
От: Michael Meskes
Дата:
Сообщение: pgsql: Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda ha