From: Chris Hoover <revoohc@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: PG8.1 - Config file check
Date: Tue, 20 Dec 2005 10:12:36 -0500
Message-ID: <1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.com> (raw)
In-Reply-To: <23806.1135047103@sss.pgh.pa.us>
References: <1d219a6f0512191211n17f39110i2fb7413593930a5d@mail.gmail.com>
<23806.1135047103@sss.pgh.pa.us>
On 12/19/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Chris Hoover <revoohc@gmail.com> writes:
> > We are in the process of upgrading our 7.3.4 servers to 8.1, and I
> > wanted to have a sanity check ran against my config file. Do you see
> > any issues with these configs?
>
> > work_mem = 4096 # min 64, size in KB
>
> This seems a bit low in context, although it depends heavily on what
> sort of query mix you expect, which you said nada about.
>
> regards, tom lane
>
Sorry for got to mention that.
We are running a typical OLTP system with some reporting done against it.
What value would you recommend as a starting point for the work_mem.
This value has come over verbatim from the 7.3.4 installs.
Also, is it safe and/or advised to leave these at these high levels?
maintenance_work_mem to 1GB (1048576)
checkpoint_segements to 256
checkpoint_timeout to 1800 seconds (30 minutes)
Thanks,
Chris
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-admin@postgresql.org
Cc: revoohc@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: PG8.1 - Config file check
In-Reply-To: <1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.com>
References: <1d219a6f0512191211n17f39110i2fb7413593930a5d@mail.gmail.com> <23806.1135047103@sss.pgh.pa.us> <1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.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