From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: pgsql-performance@postgresql.org
Subject: Re: Very poor performance
Date: Wed, 18 Aug 2010 10:27:45 +1200
Message-ID: <4C6B0CE1.80301@catalyst.net.nz> (raw)
In-Reply-To: <4C6A8C44020000250003479C@gw.wicourts.gov>
References: <4C6A53DD0200002500034739@gw.wicourts.gov>
<C8904501.1CA62%aburnett@bzzagent.com>
<4C6A8C44020000250003479C@gw.wicourts.gov>
On 18/08/10 06:19, Kevin Grittner wrote:
>
>
> Since you haven't set effective_cache_size, you're discouraging some
> types of plans which might be worth considering. This should
> normally be set to the sum of your shared_buffers setting and
> whatever is cached by the OS; try setting effective_cache_size to
> 15MB. Speaking of shared_buffers, are you really at the default for
> that, too? If so, try setting it to somewhere between 1GB and 4GB.
> (I would test at 1, 2, and 4 if possible, since the best setting is
> dependent on workload.)
>
>
>
Kevin - I'm guessing you meant to suggest setting effective_cache_size
to 15GB (not 15MB)....
Cheers
Mark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mark.kirkwood@catalyst.net.nz
Subject: Re: Very poor performance
In-Reply-To: <4C6B0CE1.80301@catalyst.net.nz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox