Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-admin by date

Next:From: Tom LaneDate: 2005-12-20 15:57:04
Subject: Re: WITH SYSID feature dropped
Previous:From: Donald FraserDate: 2005-12-20 15:15:49
Subject: WITH SYSID feature dropped

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group