HOT patch - version 11

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: HOT patch - version 11
Date: 2007-08-01 09:06:06
Message-ID: 2e78013d0708010206v344fe552v47f6ad990877396@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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 Content-Type Size
PG83-HOT-combo-v11.0.patch.gz application/x-gzip 48.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message kenneth d'souza 2007-08-01 11:01:01 Lock and Waiters
Previous Message Pavan Deolasee 2007-08-01 09:04:30 HOT patch - version 11

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-08-01 09:11:13 Re: Export user visible function to make use of convert_to_scalar
Previous Message Hiroshi Saito 2007-08-01 02:17:21 Re: Correction of how to use TimeZone by ControlFile(xlog.c)