Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Date: 2013-09-11 19:40:45
Message-ID: 5230C73D.2040004@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> I think that most of the arguments in this thread drastically
> overestimate the precision and the effect of effective_cache_size. The
> planner logic behind it basically only uses it to calculate things
> within a single index scan. That alone shows that any precise
> calculation cannot be very meaningful.
> It also does *NOT* directly influence how the kernel caches disk
> io. It's there to guess how likely it is something is still cached when
> accessing things repeatedly.

Agreed. I think we should take the patch as-is, and spend the rest of
the 9.4 dev cycle arguing about 3x vs. 4x.

;-)

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-09-11 21:28:47 Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Previous Message Andrew Dunstan 2013-09-11 18:35:50 Re: Protocol forced to V2 in low-memory conditions?