proposal: Set effective_cache_size to greater of .conf value, shared_buffers - Mailing list pgsql-hackers

From Merlin Moncure
Subject proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Date
Msg-id CAHyXU0weDECnab1pypNum-dWGwjso_XMTY8-NvvzRphzM2Hv5A@mail.gmail.com
Whole thread Raw
Responses Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
List 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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Extra XLOG in Checkpoint for StandbySnapshot
Next
From: Claudio Freire
Date:
Subject: Re: Improve compression speeds in pg_lzcompress.c