When using the WAL-logged CREATE DATABASE strategy, bulk extend.

Robert Haas <rhaas@postgresql.org>

Commit: 576bb0fc93423890761f77384415936bf61267d3
Author: Robert Haas <rhaas@postgresql.org>
Date: 2022-08-18T15:22:48Z
Releases: 15.0
When using the WAL-logged CREATE DATABASE strategy, bulk extend.

This should improve performance, and was suggested by Andres Freund.
Back-patch to v15 to keep the code consistent across branches.

Dilip Kumar

Discussion: http://postgr.es/m/C3458199-FEDD-4356-865A-08DFAA5D4065@anarazel.de
Discussion: http://postgr.es/m/CAFiTN-sJ0vVpJrZ=R5M+g7Tr8=NN4wKOtrqOcDEsfFfnZgivVA@mail.gmail.com

Files

PathChange+/−
src/backend/storage/buffer/bufmgr.c modified +10 −1

Discussion