public inbox for [email protected]  
help / color / mirror / Atom feed
pg_repack and table statistics
2+ messages / 1 participants
[nested] [flat]

* pg_repack and table statistics
@ 2024-08-29 04:16 Wells Oliver <[email protected]>
  2024-08-29 04:21 ` Re: pg_repack and table statistics Wells Oliver <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Wells Oliver @ 2024-08-29 04:16 UTC (permalink / raw)
  To: pgsql-admin

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]>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_repack and table statistics
  2024-08-29 04:16 pg_repack and table statistics Wells Oliver <[email protected]>
@ 2024-08-29 04:21 ` Wells Oliver <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Wells Oliver @ 2024-08-29 04:21 UTC (permalink / raw)
  To: pgsql-admin

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]>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-08-29 04:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-29 04:16 pg_repack and table statistics Wells Oliver <[email protected]>
2024-08-29 04:21 ` Wells Oliver <[email protected]>

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