Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5C44063280B for ; Tue, 15 Jun 2010 00:57:23 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 72979-05 for ; Tue, 15 Jun 2010 03:57:15 +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 CC0B5632548 for ; Tue, 15 Jun 2010 00:57:15 -0300 (ADT) 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 o5F3vBqi026741; Mon, 14 Jun 2010 23:57:11 -0400 (EDT) To: Scott Carey cc: Greg Smith , Tom Wilcox , Bob Lunney , "pgsql-performance@postgresql.org" Subject: Re: requested shared memory size overflows size_t In-reply-to: <08A32E7F-5FFC-4341-A543-E0BFB6420B7E@richrelevance.com> References: <584872.74177.qm@web39702.mail.mud.yahoo.com> <4C167A8D.1060002@gmail.com> <4C16E039.10803@2ndquadrant.com> <08A32E7F-5FFC-4341-A543-E0BFB6420B7E@richrelevance.com> Comments: In-reply-to Scott Carey message dated "Mon, 14 Jun 2010 20:49:40 -0700" Date: Mon, 14 Jun 2010 23:57:11 -0400 Message-ID: <26740.1276574231@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.51 tagged_above=-10 required=5 tests=BAYES_05=-0.5, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/264 X-Sequence-Number: 39120 Scott Carey writes: > Great points. There is one other option that is decent for the WAL: > If splitting out a volume is not acceptable for the OS and WAL -- absolutely split those two out into their own partitions. It is most important to make sure that WAL and data are not on the same filesystem, especially if ext3 is involved. Uh, no, WAL really needs to be on its own *spindle*. The whole point here is to have one disk head sitting on the WAL and not doing anything else except writing to that file. Pushing WAL to a different partition but still on the same physical disk is likely to be a net pessimization, because it'll increase the average seek distance whenever the head does have to move between WAL and everything-else-in-the-database. regards, tom lane