Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayLT8-0002I6-QF for pgsql-admin@arkaria.postgresql.org; Thu, 05 May 2016 15:45:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ayLT8-0004im-0U for pgsql-admin@arkaria.postgresql.org; Thu, 05 May 2016 15:45:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ayLRQ-00029e-Hi for pgsql-admin@postgresql.org; Thu, 05 May 2016 15:43:52 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ayLRM-0000R3-5T for pgsql-admin@postgresql.org; Thu, 05 May 2016 15:43:51 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [216.155.90.98]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id B79F0400599; Thu, 5 May 2016 08:43:43 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id DCB12438; Thu, 5 May 2016 12:43:41 -0300 (CLST) Date: Thu, 5 May 2016 12:43:41 -0300 From: Alvaro Herrera To: =?utf-8?B?T25kxZllaiBTdsSbdGzDrWs=?= Cc: pgsql-admin@postgresql.org Subject: Re: Autovacuum of pg_database Message-ID: <20160505154341.GA177987@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <572B685E.9020902@flexibee.eu> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Ondřej Světlík wrote: > Dne 5.5.2016 v 17:19 Ondřej Světlík napsal(a): > >Dne 5.5.2016 v 17:16 Ondřej Světlík napsal(a): > >>Hello again, > >> > >>we have another strange problem with autovacuum. The process goes well > >>until it reaches the table pg_database (in some databases, not all), > >>then it loops over it forever (until I run vacuum full analyze on that > >>table, simple vacuum doesn't help): > >> > >>2016-05-05 17:13:33 CEST 34818LOG: automatic vacuum of table > >>"somedatabase.pg_catalog.pg_database": index scans: 0 > >> pages: 0 removed, 233 remain > >> tuples: 0 removed, 5817 remain, 0 are dead but not yet removable > >> buffer usage: 87 hits, 0 misses, 0 dirtied > > And now the same goes for pg_authid. Sorry for spamming, I hope this is the > last one. These are all shared catalogs. There are others, so you may still see more. We got another report for pg_database https://www.postgresql.org/message-id/A9D40BB7-CFD6-46AF-A0A1-249F04878A2A%40amazon.com so I suppose there really is a bug. I don't know what's going on there. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin