pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jacktby@gmail.com <jacktby@gmail.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Subject: Howdoes; pg; index; page; optimize; dead; tuples?;
Date: Thu, 20 Apr 2023 09:40:32 +0800
Message-ID: <2023042009403085886812@gmail.com> (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.


jacktby@gmail.com


view thread (2+ messages)  latest in thread

Message-ID: <2023042009403085886812@gmail.com>
Permalink:  ../2023042009403085886812@gmail.com/
Also on:    postgresql.org/message-id/2023042009403085886812@gmail.com

 · 

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: pgsql-hackers@postgresql.org
  Cc: jacktby@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Howdoes; pg; index; page; optimize; dead; tuples?;
  In-Reply-To: <2023042009403085886812@gmail.com>

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

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