-
- Downloads
Allow the wal_buffers setting to be auto-tuned to a reasonable value.
If wal_buffers is initially set to -1 (which is now the default), it's replaced by 1/32nd of shared_buffers, with a minimum of 8 (the old default) and a maximum of the XLOG segment size. The allowed range for manual settings is still from 4 up to whatever will fit in shared memory. Greg Smith, with implementation correction by me.
Showing
- doc/src/sgml/config.sgml 19 additions, 6 deletionsdoc/src/sgml/config.sgml
- src/backend/access/transam/xlog.c 40 additions, 1 deletionsrc/backend/access/transam/xlog.c
- src/backend/utils/misc/guc.c 1 addition, 1 deletionsrc/backend/utils/misc/guc.c
- src/backend/utils/misc/postgresql.conf.sample 1 addition, 1 deletionsrc/backend/utils/misc/postgresql.conf.sample
Loading
Please register or sign in to comment