Re: caching indexes and pages? - Mailing list pgsql-performance

From Robert Haas
Subject Re: caching indexes and pages?
Date
Msg-id 603c8f070901220734k616e9fd2vc42604ebbcbbf449@mail.gmail.com
Whole thread Raw
In response to caching indexes and pages?  (Thomas Finneid <tfinneid@fcon.no>)
List pgsql-performance
> I tried work_mem and maintenance_work_mem but it does not seem to make much
> difference yet. Admittedly I had set it to 100M and 80M, so after reading a
> little bit more I have found that I could easily set it to several GBs. But
> I am not sure those are the correct config parameters to use for this. I
> havent found any others that are relevant so far.

You probably want to increase shared_buffers by quite a large amount
and maybe make work_mem not quite so big.

If you have 2GB of memory you might set shared_buffers to 1GB,
work_mem 16MB, maintenance_work_mem 64MB?

...Robert

pgsql-performance by date:

Previous
From: Thomas Finneid
Date:
Subject: Re: caching written values?
Next
From: Robert Haas
Date:
Subject: Re: caching written values?