Re: Effective Cache Size - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: Effective Cache Size
Date
Msg-id 3F688CC5.12621.4EBFDCC@localhost
Whole thread Raw
In response to Effective Cache Size  ("Nick Barr" <nick.barr@webbased.co.uk>)
Responses inferior SCSI performance  (Michael Adler <adler@pobox.com>)
List pgsql-performance
On 17 Sep 2003 at 11:48, Nick Barr wrote:

> Hi,
>
> I have been following a thread on this list "Inconsistent performance"
> and had a few questions especially the bits about effective_cache_size.
> I have read some of the docs, and some other threads on this setting,
> and it seems to used by the planner to either choose a sequential or
> index scan. So it will not necessarily increase performance I suppose
> but instead choose the most optimal plan. Is this correct?

That is correct.

> Danger maths ahead. Beware!!!!
>
> <maths>
>   141816K  buff
> + 1781764K cached
> -----------------
>   1923580K total
>
> effective_cache_size = 1923580 / 8 = 240447.5
> </maths>

That would be bit too aggressive. I would say set it around 200K to leave room
for odd stuff.

Rest seems fine with your configuration. Of course a latest version of
postgresql is always good though..

Bye
 Shridhar

--
Power is danger.        -- The Centurion, "Balance of Terror", stardate 1709.2


pgsql-performance by date:

Previous
From: "Nick Barr"
Date:
Subject: Effective Cache Size
Next
From: Michael Adler
Date:
Subject: inferior SCSI performance