Re: ??: Postgresql update op is very very slow - Mailing list pgsql-performance

From Andrew Sullivan
Subject Re: ??: Postgresql update op is very very slow
Date
Msg-id 20080626135501.GF6918@commandprompt.com
Whole thread Raw
In response to Re: ??: Postgresql update op is very very slow  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-performance
On Thu, Jun 26, 2008 at 09:16:25PM +0800, Craig Ringer wrote:

> I think Pg already does in place updates, or close, if the tuples being
> replaced aren't referenced by any in-flight transaction. I noticed a while
> ago that if I'm doing bulk load/update work, if there aren't any other
> transactions no MVCC bloat seems to occur and updates are faster.

Are you on 8.3?  That may be HOT working for you.  MVCC doesn't get
turned off if there are no other transactions (it can't: what if
another transaction starts part way through yours?).

A

--
Andrew Sullivan
ajs@commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/

pgsql-performance by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: ??: Postgresql update op is very very slow
Next
From: "Peter T. Breuer"
Date:
Subject: Re: Hardware vs Software RAID