From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use read streams in CREATE DATABASE when STRATEGY=WAL_LOG.
Date: Sat, 20 Jul 2024 11:24:19 +0000
Message-ID: <E1sV8CJ-000Ouc-DX@gemulon.postgresql.org> (raw)
Use read streams in CREATE DATABASE when STRATEGY=WAL_LOG.
While this doesn't significantly change runtime now, it arranges for
STRATEGY=WAL_LOG to benefit automatically from future optimizations to
the read_stream subsystem. For large tables in the template database,
this does read 16x as many bytes per system call. Platforms with high
per-call overhead, if any, may see an immediate benefit.
Nazir Bilal Yavuz
Discussion: https://postgr.es/m/CAN55FZ0JKL6vk1xQp6rfOXiNFV1u1H0tJDPPGHWoiO3ea2Wc=A@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8720a15e9ab121e49174d889eaeafae8ac89de7b
Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 53 ++++++++++++++++++++++++++++++++++---
1 file changed, 49 insertions(+), 4 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use read streams in CREATE DATABASE when STRATEGY=WAL_LOG.
In-Reply-To: <E1sV8CJ-000Ouc-DX@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox