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 3FB5253D6E for ; Fri, 11 Mar 2005 22:07:44 +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 86854-10 for ; Fri, 11 Mar 2005 22:07:34 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5765852AA6 for ; Fri, 11 Mar 2005 22:07:33 +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 j2BM7Z1A005670; Fri, 11 Mar 2005 17:07:35 -0500 (EST) To: Arshavir Grigorian Cc: pgsql-performance@postgresql.org Subject: Re: Postgres on RAID5 In-reply-to: <423209E1.6090200@m-cam.com> References: <423209E1.6090200@m-cam.com> Comments: In-reply-to Arshavir Grigorian message dated "Fri, 11 Mar 2005 16:13:05 -0500" Date: Fri, 11 Mar 2005 17:07:35 -0500 Message-ID: <5669.1110578855@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/201 X-Sequence-Number: 10906 Arshavir Grigorian writes: > I have a RAID5 array (mdadm) with 14 disks + 1 spare. This partition has > an Ext3 filesystem which is used by Postgres. Currently we are loading a > 50G database on this server from a Postgres dump (copy, not insert) and > are experiencing very slow write performance (35 records per second). What PG version is this? What version of pg_dump made the dump file? How are you measuring that write rate (seeing that pg_restore doesn't provide any such info)? > Postgres is installed from the Debian package and uses > all the configuration defaults. The defaults are made for a fairly small machine, not big iron. At a minimum you want to kick shared_buffers up to 10K or more. regards, tom lane