Re: Getting rid of cmin and cmax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Getting rid of cmin and cmax
Дата
Msg-id 4578.1158676854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Getting rid of cmin and cmax  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Getting rid of cmin and cmax  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: system cache and buffer cache
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Getting rid of cmin and cmax