public inbox for [email protected]  
help / color / mirror / Atom feed
From: Wells Oliver <[email protected]>
To: pgsql-admin <[email protected]>
Subject: Re: pg_repack and table statistics
Date: Wed, 28 Aug 2024 21:21:12 -0700
Message-ID: <CAOC+FBV0Q_E=cMnE4c06yMz-WBg7XbhwCN3Cf09s9GYSU4jRAA@mail.gmail.com> (raw)
In-Reply-To: <CAOC+FBVsecrnc-dzt-pZ-orMe2i=kxZ9WHBFQrk6_PEu7zyniw@mail.gmail.com>
References: <CAOC+FBVsecrnc-dzt-pZ-orMe2i=kxZ9WHBFQrk6_PEu7zyniw@mail.gmail.com>

Hmm, apologies, I'd delete this if I could, I was looking at stale data for
pg_stat_user_tables, it indeed has a n_dead_tup of 0 after a repack.

On Wed, Aug 28, 2024 at 9:16 PM Wells Oliver <[email protected]> wrote:

> I find that the n_dead_tup value in pg_stat_user_tables is the same before
> and after a successful pg_repack of that table (ditto all the values
> really). Is there something that should be done after a repack to have
> those stats updated, or is their unchanging value a sign of repack failing
> for some reason?
>
> --
> Wells Oliver
> [email protected] <[email protected]>
>


-- 
Wells Oliver
[email protected] <[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]
  Subject: Re: pg_repack and table statistics
  In-Reply-To: <CAOC+FBV0Q_E=cMnE4c06yMz-WBg7XbhwCN3Cf09s9GYSU4jRAA@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