From: | Johnny Tan <johnnydtan(at)gmail(dot)com> |
---|---|
To: | Tony Chan <tonychan(at)emblocsoft(dot)com> |
Cc: | Charles Gomes <charlesrg(at)outlook(dot)com>, Strahinja Kustudić <strahinjak(at)nordeus(dot)com>, Kevin Grittner <kgrittn(at)ymail(dot)com>, Josh Krupka <jkrupka(at)gmail(dot)com>, Alex Kahn <alex(at)paperlesspost(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: postgresql.conf recommendations |
Date: | 2013-02-09 13:24:09 |
Message-ID: | CABMVzL2QDmSzJZBa=_41dA1FuW=zdKstdHKSDVKBqPGr6AMXvg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Thu, Feb 7, 2013 at 11:16 PM, Tony Chan <tonychan(at)emblocsoft(dot)com> wrote:
> Hi,
>
> May I know what is your setting for OS cache?
>
>
Tony:
Wasn't sure if you were asking me, but here's the output from "free":
# free
total used free shared buffers cached
Mem: 198333224 187151280 11181944 0 155512 179589612
-/+ buffers/cache: 7406156 190927068
Swap: 16777208 0 16777208
- better to analyze large joins and sequential scan, and turn this
> parameter, e.g. reduce the size of effective_cache_size in postgresql.conf
> and change it for big queries.
>
This makes sense. We were setting it based on the tuning guideline from
this page:
http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
"Setting effective_cache_size to 1/2 of total memory would be a normal
conservative setting, and 3/4 of memory is a more aggressive but still
reasonable amount."
johnny
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2013-02-09 14:51:30 | Re: postgresql.conf recommendations |
Previous Message | Johnny Tan | 2013-02-09 13:19:33 | Re: postgresql.conf recommendations |