HOT patch - version 11 - Mailing list pgsql-patches

From Pavan Deolasee
Subject HOT patch - version 11
Date
Msg-id 2e78013d0708010206v344fe552v47f6ad990877396@mail.gmail.com
Whole thread Raw
Responses Re: HOT patch - version 11  ("Simon Riggs" <simon@2ndquadrant.com>)
Re: HOT patch - version 11  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-patches

Hi All,

Please see the attached version 11 of HOT patch

The concept of marking the pruned tuples with LP_DELETE and
reusing such tuples for subsequent UPDATEs has been removed
and replaced with a simpler mechanism of repairing the page
fragmentation as and when possible.

The logic of chain pruning has been simplified a lot. In addition, there
are fewer new WAL log records. We rather reuse the existing WAL
record types to log the operations.

Few 4 hour DBT2 runs have confirmed that this simplification hasn't
taken away any performance gains, rather we are seeing better performance
with the changes. The gain can be attributed to the fact that now more
HOT updates are possible even if the tuple length changes between
updates (since we do the complete page defragmentation)

The changes are mostly isolated in the above area apart from some
stray bug fixes.

Thanks,
Pavan


--
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com
Attachment

pgsql-patches by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Next
From: Gregory Stark
Date:
Subject: Re: Export user visible function to make use of convert_to_scalar