public inbox for [email protected]
help / color / mirror / Atom feedFrom: Durgamahesh Manne <[email protected]>
To: Laurenz Albe <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Fillfactor effectiveness on existing table
Date: Wed, 11 Feb 2026 07:58:41 +0530
Message-ID: <CAJCZko+HNA++sW-a0cZWmPn7gPNDy2HKGXMSshMb5TFPzC5Qjw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAJCZko+BFu4c4moqA5kMoJx3776xdYfEsxJQVNu_YYgrBmsCyQ@mail.gmail.com>
<[email protected]>
On Wed, 11 Feb, 2026, 00:01 Laurenz Albe, <[email protected]> wrote:
> On Tue, 2026-02-10 at 21:25 +0530, Durgamahesh Manne wrote:
> > I added fillfactor with less than 100 to existing table then ran vacuum
> full to take effect
> >
> > How to ensure the applied fillfactor is working successfully
> >
> > A ratio of hot updates in catalog table should higher than value of
> n_dead_tup or n_tup_upd? Or what ?
>
> Run
>
> SELECT n_tup_upd, n_tup_hot_upd
> FROM pg_stat_all_tables
> WHERE relname = 'your table';
>
> Then wait for an hour and run the query again.
>
> See how much "n_tup_upd" and "n_tup_hot_upd" increased in that hour.
> If the increase is about the same for both, almost all of your UPDATEs
> are HOT.
>
> Yours,
> Laurenz Albe
>
Hi
@Laurenz Albe <[email protected]>
offer=> SELECT relname AS table_name, n_tup_upd AS updates, n_tup_hot_upd
AS hot_updates FROM pg_stat_all_tables WHERE relname = 'market';
table_name | updates | hot_updates
market | 5997455764 | 3752865557
Regards
Durga Mahesh
>
view thread (5+ messages) latest in thread
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], [email protected]
Subject: Re: Fillfactor effectiveness on existing table
In-Reply-To: <CAJCZko+HNA++sW-a0cZWmPn7gPNDy2HKGXMSshMb5TFPzC5Qjw@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox