X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 886BAD1B4EF for ; Wed, 22 Oct 2003 16:29:16 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 37411-10 for ; Wed, 22 Oct 2003 13:28:46 -0300 (ADT) Received: from davinci.ethosmedia.com (unknown [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 931FAD1B511 for ; Wed, 22 Oct 2003 13:28:45 -0300 (ADT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3806601; Wed, 22 Oct 2003 09:29:15 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: Rhaoni Chiu Pereira , PostgreSQL Performance Subject: Re: Low Insert/Update Performance Date: Wed, 22 Oct 2003 09:27:49 -0700 User-Agent: KMail/1.4.3 References: <1066659206.3f93ed86b9907@sistemica.info> <200310211013.53997.josh@agliodbs.com> <1066839697.3f96ae91e3108@sistemica.info> In-Reply-To: <1066839697.3f96ae91e3108@sistemica.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200310220927.49451.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/578 X-Sequence-Number: 4326 Rhaoni, > Total runtime: 3.56 msec > (4 rows) Well, from that figure it's not the query that's holding you up. You said that the system bogs down when you're doing a whole series of these updates, or just one? If the former, then I'm afraid that it's your disk that's to blame ... large numbers of rapid-fire updates simply won't be fast on a single IDE disk. Try getting a second disk and moving the transaction log to it. -- Josh Berkus Aglio Database Solutions San Francisco