From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-performance@postgresql.org>
Subject: Re: autovacuum run but last_autovacuum is empty
Date: Mon, 26 Nov 2018 10:24:59 -0500
Message-ID: <28510.1543245899@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+t6e1nKAhrZ6BC7x6pP+bdZiNDx7x3M_cgye9HWbFF0AAqa3A@mail.gmail.com>
References: <CA+t6e1nKAhrZ6BC7x6pP+bdZiNDx7x3M_cgye9HWbFF0AAqa3A@mail.gmail.com>
Mariel Cherkassky <mariel.cherkassky@gmail.com> writes:
> I checked pg_stat_all_tables and I see that the last_autovacuum is empty
> for all the tables but in the database`s log I see that autovacuum was
> running and deleted records(not all of them but still deleted...).
> Can someone explain why the pg_stat_all_tables doesnt show the real data ?
Hm, are you sure the stats collector is working at all? Are other fields
in the pg_stat data updating?
(If not, you may have a problem with firewall rules blocking traffic
on the stats loopback port.)
regards, tom lane
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: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, mariel.cherkassky@gmail.com
Subject: Re: autovacuum run but last_autovacuum is empty
In-Reply-To: <28510.1543245899@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox