pgsql: Use posix_fallocate() for new WAL files, where available.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Use posix_fallocate() for new WAL files, where available.
Дата
Msg-id E1UvBlV-0005CQ-LL@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use posix_fallocate() for new WAL files, where available.

This function is more efficient than actually writing out zeroes to
the new file, per microbenchmarks by Jon Nelson. Also, it may reduce
the likelihood of WAL file fragmentation.

Jon Nelson, with review by Andres Freund, Greg Smith and me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/269e780822abb2e44189afaccd6b0ee7aefa7ddd

Modified Files
--------------
configure                         |    3 +-
configure.in                      |    2 +-
src/backend/access/transam/xlog.c |   93 +++++++++++++++++++++++--------------
src/include/pg_config.h.in        |    3 ++
src/include/pg_config.h.win32     |    3 ++
5 files changed, 67 insertions(+), 37 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: Expose the estimation of number of changed tuples since last ana
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Update messages, comments and documentation for materialized vie