Howdoes; pg; index; page; optimize; dead; tuples?;

From: "jacktby(at)gmail(dot)com" <jacktby(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Howdoes; pg; index; page; optimize; dead; tuples?;
Date: 2023-04-20 01:40:32
Message-ID: 2023042009403085886812@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jacktby@gmail.com 2023-04-20 01:42:26 How does pg index page optimize dead tuples?
Previous Message Thomas Munro 2023-04-20 01:34:44 Re: check_strxfrm_bug()