From: Jeremy Haile <jhaile@fastmail.fm>
To: pgsql-performance@postgresql.org
Subject: Re: Config parameters
Date: Tue, 02 Jan 2007 12:06:24 -0500
Message-ID: <1167757584.31784.282774689@webmail.messagingengine.com> (raw)
In-Reply-To: <459A898B.9020509@archonet.com>
References: <1167754933.1316.282766279@webmail.messagingengine.com>
<459A898B.9020509@archonet.com>
What is a decent default setting for work_mem and maintenance_work_mem,
considering I am regularly querying tables that are tens of millions of
rows and have 2-4 GB of RAM?
Also - what is the best way to determine decent settings for
temp_buffers and random_page_cost?
On Tue, 02 Jan 2007 16:34:19 +0000, "Richard Huxton" <dev@archonet.com>
said:
> Jeremy Haile wrote:
> > I'm curious what parameters you guys typically *always* adjust on new
> > PostgreSQL installs.
>
> > The parameters that I almost always change when installing a new system
> > is shared_buffers, max_fsm_pages, checkpoint_segments, and
> > effective_cache_size.
>
> Always: work_mem, maintenance_work_mem
> Also consider temp_buffers and random_page_cost.
>
> A lot will depend on how much of the data you handle ends up cached.
>
> --
> Richard Huxton
> Archonet Ltd
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: jhaile@fastmail.fm
Subject: Re: Config parameters
In-Reply-To: <1167757584.31784.282774689@webmail.messagingengine.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