]> granicus.if.org Git - postgresql/commit
Increase the default value of effective_cache_size to 4GB.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 May 2014 01:11:47 +0000 (21:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 May 2014 01:11:47 +0000 (21:11 -0400)
commitb910d7ea358b0134d170ebf4002248df25a5f244
treef8872b4c8d4f2cd51e3367497b2e83773e67a961
parenta16d421ca4fc639929bc964b2585e8382cf16e33
Increase the default value of effective_cache_size to 4GB.

Per discussion, the old value of 128MB is ridiculously small on modern
machines; in fact, it's not even any larger than the default value of
shared_buffers, which it certainly should be.  Increase to 4GB, which
is unlikely to be any worse than the old default for anyone, and should
be noticeably better for most.  Eventually we might have an autotuning
scheme for this setting, but the recent attempt crashed and burned,
so for now just do this.
doc/src/sgml/config.sgml
doc/src/sgml/release-9.4.sgml
src/backend/utils/misc/postgresql.conf.sample
src/include/optimizer/cost.h