Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9926B1337BC3 for ; Fri, 7 Jan 2011 11:07:36 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 15381-01 for ; Fri, 7 Jan 2011 15:07:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 29F8F1337BC2 for ; Fri, 7 Jan 2011 11:07:28 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p07F71aq018963; Fri, 7 Jan 2011 10:07:02 -0500 (EST) To: Samuel Gendler cc: Greg Smith , Josh Berkus , Jeff Janes , pgsql-performance@postgresql.org Subject: Re: Wrong docs on wal_buffers? In-reply-to: References: <4D24D7DE.6020507@agliodbs.com> <4D2610F3.8070407@agliodbs.com> <4D269899.6040901@2ndquadrant.com> Comments: In-reply-to Samuel Gendler message dated "Fri, 07 Jan 2011 06:09:38 -0800" Date: Fri, 07 Jan 2011 10:07:01 -0500 Message-ID: <18962.1294412821@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/47 X-Sequence-Number: 41834 Samuel Gendler writes: > Does it not seem that this insistence on shipping a default config that > works out of the box on every system incurs a dramatic penalty when it comes > to getting a useful postgres config for a production system? > I'm sure this argument has probably been done to death on this list (I'm a > relatively recent subscriber), No kidding. Please review the archives. The short answer is that even though modern machines tend to have plenty of RAM, they don't tend to have correspondingly large default settings of SHMMAX etc. If we crank up the default shared-memory-usage settings to the point where PG won't start in a couple of MB, we won't accomplish a thing in terms of "making it work out of the box"; we'll just put another roadblock in front of newbies getting to try it at all. regards, tom lane