git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7ef64e7) | patch
Accept slightly-filled pages for tuples larger than fillfactor.
2021年3月31日 01:53:44 +0000 (18:53 -0700)
2021年3月31日 01:53:44 +0000 (18:53 -0700)
commit 0ff8bbdee19a9db2794a95d439c946ab017d0acd
Accept slightly-filled pages for tuples larger than fillfactor.

We always inserted a larger-than-fillfactor tuple into a newly-extended
page, even when existing pages were empty or contained nothing but an
unused line pointer. This was unnecessary relation extension. Start
tolerating page usage up to 1/8 the maximum space that could be taken up
by line pointers. This is somewhat arbitrary, but it should allow more
cases to reuse pages. This has no effect on tables with fillfactor=100
(the default).

John Naylor and Floris van Nee. Reviewed by Matthias van de Meent.
Reported by Floris van Nee.

Discussion: https://postgr.es/m/6e263217180649339720afe2176c50aa@opammb0562.comp.optiver.com
src/backend/access/heap/hio.c diff | blob | blame | history
src/backend/access/heap/rewriteheap.c diff | blob | blame | history
src/test/regress/expected/insert.out diff | blob | blame | history
src/test/regress/sql/insert.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /