Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review]
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review] |
| Дата | |
| Msg-id | 26779.1356284282@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review] (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Re: patch submission: truncate trailing nulls from heap
rows to reduce the size of the null bitmap [Review]
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> The lack of any space saving for lower % values is strange and
> somewhat worrying. There should be a 36? byte saving for 300 null
> columns in an 800 column table - how does that not show up at all?
You could only fit about 4 such rows in an 8K page (assuming the columns
are all int4s). Unless the savings is enough to allow 5 rows to fit in
a page, the effective savings will be zilch.
This may well mean that the whole thing is a waste of time in most
scenarios --- the more likely it is to save anything, the more likely
that the savings will be lost anyway due to page alignment
considerations, because wider rows inherently pack less efficiently.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера