HOT WIP Patch - Version 5.0

From: "Pavan Deolasee" <pavan(dot)deolasee(at)enterprisedb(dot)com>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: HOT WIP Patch - Version 5.0
Date: 2007-03-21 05:41:07
Message-ID: 4600C573.60108@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The version 5.0 of HOT WIP patch is attached. This fixes the
VACUUM FULL issue with HOT. In all the earlier versions, I'd
disabled VACUUM FULL.

When we move the HOT-chain, we move the chains but don't carry
the HOT_UPDATED or HEAP_ONLY flags and insert as many index
entries as there are tuples in the chain. IOW the HOT-update
is actually turned into a COLD chain.

Apart from this, I'd to make some changes to the VACUUM FULL
code so that the number of indexed tuples is counted
correctly. With HOT, whenever a HEAP_ONLY tuple is moved, an
additional index entry is generated and this needs to be
taken into account.

Please let me know comments/suggestions.

Thanks,
Pavan

--

EnterpriseDB http://www.enterprisedb.com

Attachment Content-Type Size
NewHOT-v5.0.patch.gz application/x-gzip 31.0 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-03-21 05:50:06 Re: patch adding new regexp functions
Previous Message Joshua D. Drake 2007-03-20 23:03:24 Re: Bitmapscan changes - Requesting further feedback