public inbox for [email protected]  
help / color / mirror / Atom feed
From: [email protected] <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: How does pg index page optimize dead tuples?
Date: Thu, 20 Apr 2023 09:42:26 +0800
Message-ID: <[email protected]> (raw)

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.


[email protected]


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: How does pg index page optimize dead tuples?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox