How does pg index page optimize dead tuples? - Mailing list pgsql-general

From jacktby@gmail.com
Subject How does pg index page optimize dead tuples?
Date
Msg-id 2023042009415111127413@gmail.com
Whole thread Raw
List pgsql-general
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-general by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: Question about accessing partitions whose name includes the schema name and a period - is this correct?
Next
From: Bryn Llewellyn
Date:
Subject: Re: What happened to the tip "It is good practice to create a role that has the CREATEDB and CREATEROLE privileges..."