From: | Daniil Davydov <3danissimo(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | SLRU_PAGES_PER_SEGMENT as configure parameter |
Date: | 2025-02-06 10:53:17 |
Message-ID: | CAJDiXgiSVjsMj7pCKrXjwoVb2UCo28Fifd2VndNgybfbAhjbpg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
The constant SLRU_PAGES_PER_SEGMENT defines the size of the SLRU
segments. It is currently hardcoded in slru.h. It would be nice to be
able to set this parameter during configuration (for example, by
analogy with --with-segsize-blocks).
What will it give us:
1) The ability to test pg_upgrade more extensively, since without it
you need to generate too much data to fill a significant number of
segments.
2) The number of segments is arbitrary: 32. However, I have not heard
about any estimates in terms of performance; with such a patch (for
REL_17_STABLE), it will be realistic to do this.
--
Best regards,
Daniil Davydov
Attachment | Content-Type | Size |
---|---|---|
0001-SLRU_PAGES_PER_SEGMENT-as-configure-parameter.patch | text/x-patch | 21.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Umar Hayat | 2025-02-06 10:58:40 | Add missing tab completion for VACUUM and ANALYZE with ONLY option |
Previous Message | Jakub Wartak | 2025-02-06 10:50:04 | Re: AIO v2.3 |