Re: Move pg_attribute.attcompression to earlier in struct for reduced size?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Move pg_attribute.attcompression to earlier in struct for reduced size? |
| Дата | |
| Msg-id | 449921.1622847060@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Move pg_attribute.attcompression to earlier in struct for reduced size? (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Ответы |
Re: Move pg_attribute.attcompression to earlier in struct for reduced size?
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> It seems to me that most of the overhead is the function call for
> toast_get_compression_id(), so we should get rid of that.
Nice result. I'm willing to live with 1.5% slowdown ... IME that's
usually below the noise threshold anyway.
> Now, while this patch does seem to work correctly, it raises a number of
> weird cpluspluscheck warnings, which I think are attributable to the
> new macro definitions. I didn't look into it closely, but I suppose it
> should be fixable given sufficient effort:
Didn't test, but the first one is certainly fixable by adding a cast,
and I guess the others might be as well.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера