Re: PG8.1 - Config file check

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Hoover <revoohc(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PG8.1 - Config file check
Date: 2005-12-20 15:35:13
Message-ID: 29546.1135092913@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Chris Hoover <revoohc(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-12-20 15:57:04 Re: WITH SYSID feature dropped
Previous Message Donald Fraser 2005-12-20 15:15:49 WITH SYSID feature dropped