Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 46B071337BDF for ; Fri, 4 Mar 2011 05:22:05 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 66634-03 for ; Fri, 4 Mar 2011 09:21:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail1.icritical.com (mail1.icritical.com [93.95.13.41]) by mail.postgresql.org (Postfix) with SMTP id 866631337BBB for ; Fri, 4 Mar 2011 05:21:57 -0400 (AST) Received: (qmail 32269 invoked from network); 4 Mar 2011 09:21:55 -0000 Received: from localhost (127.0.0.1) by mail1.icritical.com with SMTP; 4 Mar 2011 09:21:55 -0000 Received: (qmail 32255 invoked by uid 599); 4 Mar 2011 09:21:54 -0000 Received: from unknown (HELO icritical.com) (87.127.43.251) by mail1.icritical.com (qpsmtpd/0.28) with ESMTP; Fri, 04 Mar 2011 09:21:54 +0000 Message-ID: <4D70AF32.7020706@icritical.com> Date: Fri, 04 Mar 2011 09:21:54 +0000 From: Matt Burke User-Agent: Thunderbird 2.0.0.24 (X11/20100704) MIME-Version: 1.0 To: Robert Haas CC: pgsql-performance@postgresql.org Subject: Re: Slowing UPDATEs inside a transaction References: <4D6FA208.1040800@icritical.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Mar 2011 09:21:54.0910 (UTC) FILETIME=[9A783FE0:01CBDA4D] X-Virus-Scanned: by iCritical at mail1.icritical.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/40 X-Sequence-Number: 42719 Robert Haas wrote: > Old row versions have to be kept around until they're no longer of > interest to any still-running transaction. Thanks for the explanation. Regarding the snippet above, why would the intermediate history of multiply-modified uncommitted rows be of interest to anything, or is the current behaviour simply "cheaper" overall in terms of cpu/developer time? -- The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Critical Software Ltd. reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation. Critical Software Ltd. registered in England, 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. ------------------------------------------------------------ This message has been scanned for security threats by iCritical. For further information, please visit www.icritical.com ------------------------------------------------------------