| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use read streams in CREATE DATABASE when STRATEGY=WAL_LOG. |
| Date: | 2024-07-20 11:24:19 |
| Message-ID: | E1sV8CJ-000Ouc-DX@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2024-07-20 17:40:42 | pgsql: Correctly check updatability of columns targeted by INSERT...DEF |
| Previous Message | Nathan Bossart | 2024-07-19 16:55:34 | pgsql: Add overflow checks to money type. |