X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id AB21730F74D for ; Tue, 24 Jun 2003 14:19:17 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 18683-10 for ; Tue, 24 Jun 2003 11:19:07 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id E634430F949 for ; Tue, 24 Jun 2003 11:19:06 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h5OEIvQQ019142; Tue, 24 Jun 2003 10:18:57 -0400 (EDT) To: shridhar_daithankar@persistent.co.in Cc: pgsql-performance@postgresql.org Subject: Re: Performance advice In-reply-to: <3EF85224.1633.3939548@localhost> References: <3EF85224.1633.3939548@localhost> Comments: In-reply-to "Shridhar Daithankar" message dated "Tue, 24 Jun 2003 13:29:08 +0530" Date: Tue, 24 Jun 2003 10:18:57 -0400 Message-ID: <19141.1056464337@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200306/142 X-Sequence-Number: 2226 "Shridhar Daithankar" writes: >> - Would a RAID setup make the disk faster? Because top rarely shows the >> CPUs above 50%, I suspect maybe the disk is the bottleneck. > Yes it is. You need to move WAL to a different disk. For an update-intensive setup, putting WAL on its own disk is definitely your biggest win. You might then find it rewarding to fool with the wal_sync_method and perhaps to bump up wal_buffers a little. A small number of people have had luck with putting a nonzero commit_delay but I have little faith in that. regards, tom lane