From: Joe Conway <mail@joeconway.com>
To: nickf@ontko.com
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Pgsql-Performance@Postgresql. Org <pgsql-performance@postgresql.org>
Subject: Re: Sanity check requested
Date: Thu, 17 Jul 2003 09:40:21 -0700
Message-ID: <3F16D175.6000404@joeconway.com> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGOEFEHMAA.nickf@ontko.com>
References: <NEBBLAAHGLEEPCGOBHDGOEFEHMAA.nickf@ontko.com>
Nick Fankhauser wrote:
> Thanks for the correction- it sounds like this is one where usage
> can't be precisely controlled in a dynamic user environment & I just
> need to get a feel for what works under a load that approximates my
> production system.
>
I think the most important point here is that if you set sort_mem too
high, and you have a lot of simultaneous sorts, you can drive the server
into swapping, which obviously is a very bad thing. You want it set as
high as possible, but not so high given your usage patterns that you
wind up swapping.
Joe
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mail@joeconway.com, nickf@ontko.com, josh@agliodbs.com
Subject: Re: Sanity check requested
In-Reply-To: <3F16D175.6000404@joeconway.com>
References: <NEBBLAAHGLEEPCGOBHDGOEFEHMAA.nickf@ontko.com> <3F16D175.6000404@joeconway.com>
* 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