X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 069F5D1C990 for ; Mon, 11 Aug 2003 13:24:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 88419-10 for ; Mon, 11 Aug 2003 10:22:57 -0300 (ADT) Received: from smtp.pspl.co.in (unknown [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id 17383D1C4D6 for ; Mon, 11 Aug 2003 10:24:12 -0300 (ADT) Received: (from root@localhost) by smtp.pspl.co.in (8.12.9/8.12.9) id h7BDQEc0020183 for ; Mon, 11 Aug 2003 18:56:14 +0530 Received: from daithan (daithan.intranet.pspl.co.in [192.168.7.161]) (authenticated bits=0) by persistent.co.in (8.12.9/8.12.9) with ESMTP id h7BDQD3g020170 for ; Mon, 11 Aug 2003 18:56:13 +0530 From: "Shridhar Daithankar" To: Date: Mon, 11 Aug 2003 18:56:08 +0530 MIME-Version: 1.0 Subject: Re: Peformance of Update Reply-To: shridhar_daithankar@persistent.co.in Message-ID: <3F37E6C8.24039.1A81422F@localhost> In-reply-to: <001a01c35ffc$651e7cc0$71327f81@joey> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/166 X-Sequence-Number: 2983 On 11 Aug 2003 at 19:33, whchung@popularworld.com wrote: > Currently we are using postgresql 7.3 with Redhat linux 9. We find that > when we try to execute 200,000 update statement through JDBC, the performance > of degraded obviously for each update statement when comparing with less update > statement(eg. 5000). Is there any suggestion that we can improve the > performance for executing update statementat postgresql ? Thanks. How are you bunching your transactions? I mean how many updates per transaction? And have you tried moving WAL to separate disk for such a update heavy environment? Have you are tuned FSM to take care of dead tuples generated in vacuum? Are you running autovacuum daemon? All these things are almost a must for such update heavy environment.. Bye Shridhar -- Moore's Constant: Everybody sets out to do something, and everybody does something, but no one does what he sets out to do.