Skip to content

Conversation

@knizhnik
Copy link

@knizhnik knizhnik commented Dec 9, 2025

PG>=16 has optimization for storing zero page in FPI. When storing page as FPIN in WAL records, Postgres excludes page hole (space betweenpd_upper and pd_lower), but it not able to handle zero page (hole size=page size).
It allows to minimize WAL size in case of walloging smgrzeroextend.
PG14/15 doesn't have smgrzeroextend and so has not such optimization.

@knizhnik knizhnik force-pushed the zero_page_optimization_v14 branch from 1740234 to 2319943 Compare December 10, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants