proposal: Set effective_cache_size to greater of .conf value, shared_buffers
From:
Merlin Moncure <mmoncure(at)gmail(dot)com>
To:
PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject:
proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Date:
2013-01-08 14:39:09
Message-ID:
CAHyXU0weDECnab1pypNum-dWGwjso_XMTY8-NvvzRphzM2Hv5A@mail.gmail.com (view raw or flat )
Thread:
2013-01-08 14:39:09 from Merlin Moncure <mmoncure(at)gmail(dot)com>
2013-01-08 14:53:29 from Claudio Freire <klaussfreire(at)gmail(dot)com>
2013-01-08 22:23:36 from Robert Haas <robertmhaas(at)gmail(dot)com>
2013-01-08 22:48:55 from Bruce Momjian <bruce(at)momjian(dot)us>
2013-01-09 00:17:10 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 00:54:38 from Robert Haas <robertmhaas(at)gmail(dot)com>
2013-01-09 01:08:36 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 01:40:44 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-09 02:01:55 from Josh Berkus <josh(at)agliodbs(dot)com>
2013-01-09 08:38:25 from Benedikt Grundmann <bgrundmann(at)janestreet(dot)com>
2013-01-10 18:44:59 from Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
2013-01-09 17:51:12 from Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
2013-01-09 18:39:11 from Josh Berkus <josh(at)agliodbs(dot)com>
2013-01-09 18:47:46 from Claudio Freire <klaussfreire(at)gmail(dot)com>
2013-01-09 18:58:21 from Josh Berkus <josh(at)agliodbs(dot)com>
Lists:
pgsql-hackers
Reference: http://postgresql.1045698.n5.nabble.com/Simple-join-doesn-t-use-index-td5738689.html
This is a pretty common gotcha: user sets shared_buffers but misses
the esoteric but important effective_cache_size. ISTM
effective_cache_size should always be >= shared buffers -- this is a
soft configuration error that could be reported as a warning and
perhaps overridden on the fly.
merlin
Responses
pgsql-hackers by date
Next :From: Claudio FreireDate: 2013-01-08 14:51:06
Subject : Re: Improve compression speeds in pg_lzcompress.c
Previous :From : Andres FreundDate : 2013-01-08 14:31:14
Subject : Re: Extra XLOG in Checkpoint for StandbySnapshot