Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRIl1-0001Ai-0B for pgsql-performance@arkaria.postgresql.org; Mon, 26 Nov 2018 15:25:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gRIkz-00076s-P0 for pgsql-performance@arkaria.postgresql.org; Mon, 26 Nov 2018 15:25:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRIkz-00076k-De for pgsql-performance@lists.postgresql.org; Mon, 26 Nov 2018 15:25:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gRIkw-0000WN-P6 for pgsql-performance@postgresql.org; Mon, 26 Nov 2018 15:25:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wAQFOxmn028511; Mon, 26 Nov 2018 10:24:59 -0500 From: Tom Lane To: Mariel Cherkassky cc: PostgreSQL mailing lists Subject: Re: autovacuum run but last_autovacuum is empty In-reply-to: References: Comments: In-reply-to Mariel Cherkassky message dated "Mon, 26 Nov 2018 17:12:02 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28509.1543245899.1@sss.pgh.pa.us> Date: Mon, 26 Nov 2018 10:24:59 -0500 Message-ID: <28510.1543245899@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mariel Cherkassky 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