Re: POC: make mxidoff 64 bits

Поиск
Список
Период
Сортировка
От Maxim Orlov
Тема Re: POC: make mxidoff 64 bits
Дата
Msg-id CACG=ezbDgXvgNcxMmiCNZR1g95CBT+Y2rVhZWa_1SuOWeFREDw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: POC: make mxidoff 64 bits  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers

On Wed, 19 Nov 2025 at 19:20, Heikki Linnakangas <hlinnaka@iki.fi> wrote:

I think those recipes need to be adjusted for 64-bit offsets.
Yes, we need to do it.

Sorry if this is too obvious, but with 32-bit offsets, we get:
SLRU_PAGES_PER_SEGMENT * BLKSZ / sizeof(MXOff) =
    32 * 8192 / 4 = 65,536 mxoff per segment.
   
Now, with 64-bits offsets, we should have half as much.

--
Best regards,
Maxim Orlov.

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