Howdoes; pg; index; page; optimize; dead; tuples?; - Mailing list pgsql-hackers

From jacktby@gmail.com
Subject Howdoes; pg; index; page; optimize; dead; tuples?;
Date
Msg-id 2023042009403085886812@gmail.com
Whole thread Raw
Responses Re: Howdoes; pg; index; page; optimize; dead; tuples?;  ("Jonah H. Harris" <jonah.harris@gmail.com>)
List pgsql-hackers
As far as I know, when a index page is full, if you insert a new tuple here, you will split it into two pages.
But pg won't delete the half tuples in the old page in real. So if there is another tuple inserted into this old
page, will pg split it again? I think that's not true, so how it solve this one? please give me a code example,thanks.

jacktby@gmail.com

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: check_strxfrm_bug()
Next
From: "jacktby@gmail.com"
Date:
Subject: How does pg index page optimize dead tuples?