diff options
author | Noah Misch | 2024-07-20 11:22:12 +0000 |
---|---|---|
committer | Noah Misch | 2024-07-20 11:22:12 +0000 |
commit | 8720a15e9ab121e49174d889eaeafae8ac89de7b (patch) | |
tree | b06b632c4bf8bd0f60d9b97c618a3cb656132e05 /src/backend/rewrite/rewriteHandler.c | |
parent | a858be17c3f85a2ce3ad5e3073c14ab948b85079 (diff) |
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
Diffstat (limited to 'src/backend/rewrite/rewriteHandler.c')
0 files changed, 0 insertions, 0 deletions