]> granicus.if.org Git - postgresql/commit
Increase max_wal_size's default from 128MB to 1GB.
authorAndres Freund <andres@anarazel.de>
Sun, 15 Mar 2015 16:37:07 +0000 (17:37 +0100)
committerAndres Freund <andres@anarazel.de>
Sun, 15 Mar 2015 16:37:07 +0000 (17:37 +0100)
commita0f5954af19ddcfea946b15744f2006a789dc4bd
treef1804d6c5e464c1c22c1022dc7525b896fac1071
parent241f088f3632814fe9dbd5bcbc509ec42a268d01
Increase max_wal_size's default from 128MB to 1GB.

The introduction of min_wal_size & max_wal_size in 88e982302684 makes it
feasible to increase the default upper bound in checkpoint
size. Previously raising the default would lead to a increased disk
footprint, even if more segments weren't beneficial.  The low default of
checkpoint size is one of common performance problem users have thus
increasing the default makes sense.  Setups where the increase in
maximum disk usage is a problem will very likely have to run with a
modified configuration anyway.

Discussion: 54F4EFB8.40202@agliodbs.com,
    CA+TgmoZEAgX5oMGJOHVj8L7XOkAe05Gnf45rP40m-K3FhZRVKg@mail.gmail.com

Author: Josh Berkus, after a discussion involving lots of people.
doc/src/sgml/config.sgml
doc/src/sgml/wal.sgml
src/backend/access/transam/xlog.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample