Re: Performance Improvement by reducing WAL for Update Operation

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: 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-01-15 12:31:43
Message-ID: CAA4eK1LhA+A8JHHwD3AtOB8yd2=DmEaCy9jcc6Q6H3HKZjQ==g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 15, 2014 at 5:58 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> On Fri, Jan 10, 2014 at 9:12 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> Performance Data
> -----------------------------
> Non-default settings:
> autovacuum =off
> checkpoint_segments =128
> checkpoint_timeout = 10min
>
> Unpatched
> -------------------
> testname | wal_generated |
> duration
> ----------------------------------------------------------+----------------------+------------------
> one short and one long field, no change | 1054923224 | 33.101135969162
>
> After pgrb_delta_encoding_v4
> ---------------------------------------------
>
> testname | wal_generated |
> duration
> ----------------------------------------------------------+----------------------+------------------
> one short and one long field, no change | 877859144 | 30.6749138832092
>
>
> Temporary Changes
> (Revert Max Chunksize = 4 and logic of finding longer match)
> ---------------------------------------------------------------------------------------------
>
> testname | wal_generated |
> duration
> ----------------------------------------------------------+----------------------+------------------
> one short and one long field, no change | 677337304 | 25.4048750400543
>

Sorry, minor correction in last mail, the last data (Temporary Changes) is
just by reverting logic of finding longer match in pgrb_find_match().

With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2014-01-15 12:32:13 Re: plpgsql.warn_shadow
Previous Message Amit Kapila 2014-01-15 12:28:27 Re: Performance Improvement by reducing WAL for Update Operation