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

From Josh Berkus
Subject Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Date
Msg-id 5230C73D.2040004@agliodbs.com
Whole thread Raw
In response to Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers  (Josh Berkus <josh@agliodbs.com>)
Responses Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
List 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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Protocol forced to V2 in low-memory conditions?
Next
From: Andres Freund
Date:
Subject: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE