Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 652802E0042 for ; Wed, 11 Jun 2008 03:52:16 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 47278-08 for ; Wed, 11 Jun 2008 03:52:07 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by developer.postgresql.org (Postfix) with ESMTP id 69FF02E0032 for ; Wed, 11 Jun 2008 03:52:09 -0300 (ADT) thread-index: AcjLj8Zsf+1P6N1rQ6C+OJoJQQP+9w== Received: from [80.222.70.18] ([80.222.70.18]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Jun 2008 02:52:53 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 Message-ID: <484F7613.5070202@enterprisedb.com> Date: Wed, 11 Jun 2008 09:52:03 +0300 From: "Heikki Linnakangas" Organization: EnterpriseDB User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: "Tom Lane" Cc: "Josh Berkus" , , "Robert Treat" , "Peter Eisentraut" , "Greg Smith" , "Andreas Pflug" , "Decibel!" Subject: Re: Overhauling GUCS References: <48409D1E.3070208@agliodbs.com> <200806061624.29105.xzilla@users.sourceforge.net> <200806100937.38124.josh@agliodbs.com> <200806100949.17918.josh@agliodbs.com> <21875.1213122184@sss.pgh.pa.us> In-Reply-To: <21875.1213122184@sss.pgh.pa.us> Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Jun 2008 06:52:53.0953 (UTC) FILETIME=[C5CF7B10:01C8CB8F] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/495 X-Sequence-Number: 119608 Tom Lane wrote: > Josh Berkus writes: >> Oh, and wal_buffers, the default for which we should just change if it >> weren't for SHMMAX. > > Uh, why? On a workload of mostly small transactions, what value is > there in lots of wal_buffers? None. But there's also little to no harm in having a higher setting; at worst you waste a few megabytes of memory. Besides, most databases are initialized from some outside source in the beginning, and data loading does benefit from a higher wal_buffers setting. Ideally, of course, there would be no wal_buffers setting, and WAL buffers would be allocated from shared_buffers pool on demand... -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com