Re: Remove xmin and cmin from frozen tuples - Mailing list pgsql-hackers

From Manfred Koizar
Subject Re: Remove xmin and cmin from frozen tuples
Date
Msg-id qcmhh1lgk5udc2qiq4tapqrhh7nsdinnlg@4ax.com
Whole thread Raw
In response to Re: Remove xmin and cmin from frozen tuples  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Remove xmin and cmin from frozen tuples
List pgsql-hackers
On Fri, 2 Sep 2005 15:51:15 -0400 (EDT), Bruce Momjian
<pgman@candle.pha.pa.us> wrote:
>    * Merge xmin/xmax/cmin/cmax back into three header fields

And don't forget xvac, please.
>      Before subtransactions, there used to be only three fields needed to
>      store these four values.

... five values.

> This was possible because only the current
> transaction looks at the cmin/cmax values.

Which is a reason to get rid of cmin/cmax in tuple headers entirely.
Once I had a patch based on 7.4 that stored cmin and cmax in
backend-local memory.  It passed make check and some volume tests, but
I felt it was not ready to be applied without any spill-to-disk
mechanism.  Development stalled when I tried to eliminate xvac as
well, which would have required deep cuts into VACUUM code :-(

ServusManfred



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove xmin and cmin from frozen tuples
Next
From: Bruce Momjian
Date:
Subject: Re: Remove xmin and cmin from frozen tuples