effective_cache_size X shared_buffer

From: Patrick B <patrickbakerbr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: effective_cache_size X shared_buffer
Date: 2017-04-03 01:23:34
Message-ID: CAJNY3itO1rTAtVQWadU6KcDbXrWiYFXOF7QX+Hnt2FTuDsGqyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi guys.

I'm thinking about increasing the query cache for my PG 9.2 server.
I've got a project happening, which is doing lots and lots of writes and
reads during the night, and in the morning I see PG cache warming up again,
as all the cache "was used" by those write and read tasks.

So my environment gets very slow for a few hours, until the queries used on
a daily basis go to the cache.

Question:
Should I increase effective_cache_size or shared_buffer? What's the
difference between them?

Thanks
Patrick

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Patrick B 2017-04-03 03:33:10 Re: effective_cache_size X shared_buffer
Previous Message Francisco Olarte 2017-04-02 15:41:14 Re: Merging records in a table with 2-columns primary key