X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 806DB9DC862 for ; Tue, 20 Dec 2005 11:12:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99818-02 for ; Tue, 20 Dec 2005 11:12:37 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by postgresql.org (Postfix) with ESMTP id 484139DC82D for ; Tue, 20 Dec 2005 11:12:31 -0400 (AST) Received: by xproxy.gmail.com with SMTP id s14so1027980wxc for ; Tue, 20 Dec 2005 07:12:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=beE7cx9HOsBEPCul4N3H1Ey/uSbhZ/Y7bitfYuPH4ZvYtXm6QZqxfZlr0+3mdRAr2kHyJB4lw1HQKJLDaHTjX6y6pGk56DsEWgt4HzjN6XwYeanBic+mpJDGG77Pepf3L6lV2uBasVTQh7O6+cWP7C9wyxfGROdTGvdEI0sRIEg= Received: by 10.70.9.12 with SMTP id 12mr5820193wxi; Tue, 20 Dec 2005 07:12:36 -0800 (PST) Received: by 10.70.84.7 with HTTP; Tue, 20 Dec 2005 07:12:36 -0800 (PST) Message-ID: <1d219a6f0512200712k6c6b3890u8832f042f53deacc@mail.gmail.com> Date: Tue, 20 Dec 2005 10:12:36 -0500 From: Chris Hoover To: Tom Lane Subject: Re: PG8.1 - Config file check Cc: "pgsql-admin@postgresql.org" In-Reply-To: <23806.1135047103@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1d219a6f0512191211n17f39110i2fb7413593930a5d@mail.gmail.com> <23806.1135047103@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.03 required=5 tests=[AWL=0.030] X-Spam-Score: 0.03 X-Spam-Level: X-Archive-Number: 200512/220 X-Sequence-Number: 19940 On 12/19/05, Tom Lane wrote: > Chris Hoover 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 =3D 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.=20 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