Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id ACA509FA274 for ; Thu, 14 Dec 2006 12:26:45 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 12028-03 for ; Thu, 14 Dec 2006 12:26:28 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from serveurmail01.codata.be (125.123.146.82.ipv4.evonet.be [82.146.123.125]) by postgresql.org (Postfix) with ESMTP id 2C8FB9FA182 for ; Thu, 14 Dec 2006 12:26:27 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id 34E051838791; Thu, 14 Dec 2006 17:26:27 +0100 (CET) X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Dec 14 17:26:25 2006 X-DSPAM-Confidence: 0.6768 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45817b31264802066714844 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Z5T9fZ3SuU6; Thu, 14 Dec 2006 17:26:25 +0100 (CET) Received: from [127.0.0.1] (38-179-112-217.fix.adsl.belcenter.be [217.112.179.38]) by serveurmail01.codata.be (Postfix) with ESMTP id E38841838786; Thu, 14 Dec 2006 17:26:24 +0100 (CET) Message-ID: <45817B2F.7070502@freesurf.fr> Date: Thu, 14 Dec 2006 17:26:23 +0100 From: Arnaud Lesauvage User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Tom Lane CC: Ragnar , Jens Schipkowski , pgsql-performance@postgresql.org Subject: Re: Slow update with simple query References: <457FDB1E.6040801@freesurf.fr> <457FF0CD.4050606@freesurf.fr> <4580025D.2040903@freesurf.fr> <1166021340.6369.103.camel@localhost.localdomain> <45801A1B.6070200@freesurf.fr> <8399.1166028385@sss.pgh.pa.us> <4581593E.8080401@freesurf.fr> <20426.1166109494@sss.pgh.pa.us> <45816C54.5010602@freesurf.fr> <21233.1166113140@sss.pgh.pa.us> In-Reply-To: <21233.1166113140@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 0658-1, 14/12/2006), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/374 X-Sequence-Number: 22430 Tom Lane a écrit : > I think the conclusion must be that there was just too much I/O to be > done to update all the rows. Have you done any tuning of shared_buffers > and so forth? I recall having seen cases where update performance went > bad as soon as the upper levels of a large index no longer fit into > shared_buffers ... Yes, that's probably it. I think my raid1 array's performances are very bad. I am switching to a brand new hardware next week, I am quite confident that this will solve many problems. Thanks for helping ! Regards -- Arnaud