Re: Performance Improvement by reducing WAL for Update Operation

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>
Subject: Re: Performance Improvement by reducing WAL for Update Operation
Date: 2014-02-04 19:11:18
Message-ID: 20140204191118.GG32407@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2014-02-04 14:09:57 -0500, Bruce Momjian wrote:
> On Tue, Feb 4, 2014 at 01:28:38PM -0500, Robert Haas wrote:
> > Meanwhile, in friendlier cases, like "one short and one long field, no
> > change", we're seeing big improvements. That particular case shows a
> > speedup of 21% and a WAL reduction of 36%. That's a pretty big deal,
> > and I think not unrepresentative of many real-world workloads. Some
> > might well do better, having either more or longer unchanged fields.
> > Assuming that the logic isn't buggy, a point in need of further study,
> > I'm starting to feel like we want to have this. And I might even be
> > tempted to remove the table-level off switch.
>
> Does this feature relate to compression of WAL page images at all?

No.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-02-04 19:14:59 Re: nested hstore - large insert crashes server
Previous Message Bruce Momjian 2014-02-04 19:09:57 Re: Performance Improvement by reducing WAL for Update Operation