From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: PG8.1 - Config file check
Date: Tue, 20 Dec 2005 10:35:13 -0500
Message-ID: <29546.1135092913@sss.pgh.pa.us> (raw)
In-Reply-To: <1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.com>
References: <1d219a6f0512191211n17f39110i2fb7413593930a5d@mail.gmail.com>
<23806.1135047103@sss.pgh.pa.us>
<1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.com>
Chris Hoover <revoohc@gmail.com> writes:
> 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.
You probably want small work_mem for the transactional sessions (4Mb
doesn't sound out of line, maybe even less), and then boost it up
locally in the reporting sessions. Some tens of meg will probably
help the reporting queries.
> Also, is it safe and/or advised to leave these at these high levels?
> checkpoint_segements to 256
> checkpoint_timeout to 1800 seconds (30 minutes)
If you don't mind a long time to recover from a crash ...
regards, tom lane
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: tgl@sss.pgh.pa.us, revoohc@gmail.com
Subject: Re: PG8.1 - Config file check
In-Reply-To: <29546.1135092913@sss.pgh.pa.us>
References: <1d219a6f0512191211n17f39110i2fb7413593930a5d@mail.gmail.com> <23806.1135047103@sss.pgh.pa.us> <1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.com> <29546.1135092913@sss.pgh.pa.us>
* 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