Re: How can i be certain autovacuum is causing reuse if table still grows

From: Keith Fiske <keith(dot)fiske(at)crunchydata(dot)com>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: Sidney Aloisio Ferreira Pryor <sidney(at)tjrj(dot)jus(dot)br>, Guillaume Lelarge <guillaume(at)lelarge(dot)info>, Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: How can i be certain autovacuum is causing reuse if table still grows
Date: 2020-08-04 22:25:38
Message-ID: CAODZiv6PAs=AuqgJH4O-r3A7TmfkHjc168omVeWKiAoiuDf6fg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Aug 4, 2020 at 3:54 PM Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
wrote:

> > On Aug 4, 2020, at 12:31 PM, Sidney Aloisio Ferreira Pryor <
> sidney(at)tjrj(dot)jus(dot)br> wrote:
> >
> > Beside this, i saw on pg_stat_tables and the vacuum and autovacuum count
> for this table is 0.
>
> Those values are not persistent; they are only since the last start of PG.
>
>
This is not correct. Statistics are persistent through restarts. They are
only reset during specific cases such as a crash or a major version
upgrade. They can also be reset at any time manually.

--
Keith Fiske
Senior Database Engineer
Crunchy Data - http://crunchydata.com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message MichaelDBA 2020-08-05 13:29:17 Re: How can i be certain autovacuum is causing reuse if table still grows
Previous Message Sidney Aloisio Ferreira Pryor 2020-08-04 20:12:56 RE: How can i be certain autovacuum is causing reuse if table still grows