Re: Strange optimization - xmin,xmax compression :)

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Strange optimization - xmin,xmax compression :)
Дата
Msg-id 0ECD2604-7C28-470C-83F7-11573A02325A@nasby.net
обсуждение исходный текст
Ответ на Re: Strange optimization - xmin,xmax compression :)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-performance
On Dec 17, 2010, at 8:46 PM, Robert Haas wrote:
> 2010/12/6 pasman pasmański <pasman.p@gmail.com>:
>> hello.
>>
>> i tested how are distributed values xmin,xmax on pages.
>> in my tables . typically there are no more than 80 records
>> on pages.
>>
>> maybe its possible to compress xmin & xmax values to
>> 1 byte/per record (+table of transactions per page)?
>> its reduce the space when more than 1 record is
>> from the same transaction.
>
> Not a bad idea, but not easy to implement, I think.

Another option that would help even more for data warehousing would be storing the XIDs at the table level, because
you'lltypically have a very limited number of transactions per table. 

But as Robert mentioned, this is not easy to implement. The community would probably need to see some pretty compelling
performancenumbers to even consider it. 
--
Jim C. Nasby, Database Architect                   jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net



В списке pgsql-performance по дате отправления:

Предыдущее
От: selvi88
Дата:
Сообщение: Re: postgres performance tunning
Следующее
От: James Cloos
Дата:
Сообщение: Re: CPU bound