X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A79B156002 for ; Wed, 9 Mar 2005 04:28:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25328-05 for ; Wed, 9 Mar 2005 04:27:48 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 24A6A563F2 for ; Wed, 9 Mar 2005 04:27:47 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j294Rit9016216; Tue, 8 Mar 2005 23:27:44 -0500 (EST) To: josh@agliodbs.com Cc: "pgsql-performance@postgresql.org" Subject: Re: Why would writes to pgsql_tmp bottleneck at 1mb/s? In-reply-to: <200503081644.32497.josh@agliodbs.com> References: <200503081218.24093.josh@agliodbs.com> <200503081617.57190.josh@agliodbs.com> <200503081644.32497.josh@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Tue, 08 Mar 2005 16:44:32 -0800" Date: Tue, 08 Mar 2005 23:27:44 -0500 Message-ID: <16215.1110342464@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/155 X-Sequence-Number: 10860 Josh Berkus writes: > Maybe I'm not an idiot (really!) even with almost 2GB of maintenance_mem, PG > still writes to pgsql_tmp no faster than 2MB/s. I think there may be an > artificial bottleneck there. Question is, PostgreSQL, OS or hardware? AFAIR that's just fwrite() ... regards, tom lane