Re: Getting rid of cmin and cmax - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Getting rid of cmin and cmax
Date
Msg-id 4578.1158676854@sss.pgh.pa.us
Whole thread Raw
In response to Getting rid of cmin and cmax  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: Getting rid of cmin and cmax  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> I'm thinking of removing cmin and cmax, and keeping that information in 
> backend-private memory instead.

I don't believe you can remove *both*.  What's been discussed is
removing one of them, by letting the field represent a lookup key for an
in-memory structure in the infrequent case that xmin and xmax are both
the current xact.  You solve the table size problem by only having one
entry for each unique cmin/cmax pair in use.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: system cache and buffer cache
Next
From: Heikki Linnakangas
Date:
Subject: Re: Getting rid of cmin and cmax