| От | Tom Lane |
|---|---|
| Тема | Re: Decrease MAX_BACKENDS to 2^16 |
| Дата | |
| Msg-id | 21832.1398525759@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Decrease MAX_BACKENDS to 2^16 (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: Decrease MAX_BACKENDS to 2^16
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-04-26 05:40:21 -0700, David Fetter wrote:
>> Out of curiosity, where are you finding that a 32-bit integer is
>> causing problems that a 16-bit one would solve?
> Save space? For one it allows to shrink some structs (into one
> cacheline!).
And next week when we need some other field in a buffer header,
what's going to happen? If things are so tight that we need to
shave a few bits off backend IDs, the whole thing is a house of
cards anyway.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера