| From: | Maxim Orlov <orlovmg(at)gmail(dot)com> |
|---|---|
| To: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
| Cc: | wenhui qiu <qiuwenhuifx(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: POC: make mxidoff 64 bits |
| Date: | 2025-11-20 16:30:51 |
| Message-ID: | CACG=ezbDgXvgNcxMmiCNZR1g95CBT+Y2rVhZWa_1SuOWeFREDw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, 19 Nov 2025 at 19:20, Heikki Linnakangas <hlinnaka(at)iki(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sami Imseih | 2025-11-20 16:34:14 | Re: another autovacuum scheduling thread |
| Previous Message | Nathan Bossart | 2025-11-20 16:25:37 | Re: another autovacuum scheduling thread |