Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8CC90650E82 for ; Thu, 26 Jun 2008 10:05:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61458-05 for ; Thu, 26 Jun 2008 10:04:58 -0300 (ADT) X-Greylist: delayed 00:23:32.86896 by SQLgrey-1.7.6 Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 653B4650E78 for ; Thu, 26 Jun 2008 10:05:03 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KBqn1-0008VM-7Y for pgsql-performance@postgresql.org; Thu, 26 Jun 2008 12:41:27 +0000 Received: from port-87-234-135-63.dynamic.qsc.de ([87.234.135.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2008 12:41:27 +0000 Received: from holger by port-87-234-135-63.dynamic.qsc.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2008 12:41:27 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-performance@postgresql.org From: "Holger Hoffstaette" Subject: Re: ??: Postgresql update op is very very slow Date: Thu, 26 Jun 2008 14:40:59 +0200 Organization: The Fists of the White Lotus Lines: 17 Message-ID: References: <473587.97248.qm@web32701.mail.mud.yahoo.com> <004b01c8d671$3dec1630$0544000a@hz.ali.com> <486219B6.7050003@enterprisedb.com> <005101c8d773$ff81b2c0$0644000a@hz.ali.com> <48638939.5080500@enterprisedb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: port-87-234-135-63.dynamic.qsc.de User-Agent: Pan/0.13.91 (Before we let euphoria convince us we are free) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/164 X-Sequence-Number: 30514 Hi - I have been following this thread and find some of the recommendations really surprising. I understand that MVCC necessarily creates overhead, in-place updates would not be safe against crashes etc. but have a hard time believing that this is such a huge problem for RDBMS in 2008. How do large databases treat mass updates? AFAIK both DB2 and Oracle use MVCC (maybe a different kind?) as well, but I cannot believe that large updates still pose such big problems. Are there no options (algorithms) for adaptively choosing different update strategies that do not incur the full MVCC overhead? Holger (Disclaimer: I'm not a professional DBA, just a curious developer).