Re: PG8.1 - Config file check - Mailing list pgsql-admin

From Tom Lane
Subject Re: PG8.1 - Config file check
Date
Msg-id 29546.1135092913@sss.pgh.pa.us
Whole thread Raw
In response to Re: PG8.1 - Config file check  (Chris Hoover <revoohc@gmail.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Chris Hoover
Date:
Subject: Re: PG8.1 - Config file check
Next
From: "Donald Fraser"
Date:
Subject: WITH SYSID feature dropped