Re: Table and Index compression

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Table and Index compression
Дата
Msg-id 4A7C6451.9000707@agliodbs.com
обсуждение исходный текст
Ответ на Re: Table and Index compression  (Pierre Frédéric Caillaud<lists@peufeu.com>)
Список pgsql-hackers
Pierre,

>     I added a field in PageHeader which contains :
>     - 0 to indicate a non-compressed page
>     - length of compressed data if compressed
> 
>     If compression gains nothing (ie gains less than 4K), the page is
> stored raw.
> 
>     It seems that only pages having a PageHeader are handled by md.c, so
> it should work (am I mistaken ?)

Well, there's the issue of upgradability; this would require us to have
an incompatible upgrade of on-disk formats.  So we don't want to go
further down this route unless we're sure it's worthwhile.

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fixing geometic calculation
Следующее
От: "Todd A. Cook"
Дата:
Сообщение: Re: slow commits with heavy temp table usage in 8.4.0