Re: Getting rid of cmin and cmax

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Manfred Koizar <mkoi-pg(at)aon(dot)at>
Subject: Re: Getting rid of cmin and cmax
Date: 2006-09-19 14:40:54
Message-ID: 4578.1158676854@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sim Zacks 2006-09-19 14:53:12 Re: vista
Previous Message Tom Lane 2006-09-19 14:26:44 Re: vista