Re: Need explanation on index size - Mailing list pgsql-general

From Peter Geoghegan
Subject Re: Need explanation on index size
Date
Msg-id CAH2-Wz=jfvT1tuk6mq+zuY_dmX0g6emoPN1wC56Jr2f-0+jKhw@mail.gmail.com
Whole thread Raw
In response to Need explanation on index size  (Guillaume Luchet <g.luchet@bilendi.com>)
List pgsql-general
On Thu, Sep 24, 2020 at 6:55 AM Guillaume Luchet <g.luchet@bilendi.com> wrote:
> I don’t understand why after the update where I only update a non indexed column the indexes size is growing. Is it
somethingsomeone can explain ? 

If you reduce the table fillfactor then these updates will all be HOT
updates. That will make the table larger initially, but leaving enough
space behind on the same heap pages for successor tuples makes it
possible to use HOT updates.


--
Peter Geoghegan



pgsql-general by date:

Previous
From: Chris Sterritt
Date:
Subject: Re: Need explanation on index size
Next
From: Bruce Momjian
Date:
Subject: Re: multiple tables got corrupted