Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayLek-0002nd-J1 for pgsql-admin@arkaria.postgresql.org; Thu, 05 May 2016 15:57: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 1ayLek-0005BG-2g for pgsql-admin@arkaria.postgresql.org; Thu, 05 May 2016 15:57:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ayLej-00059D-E2 for pgsql-admin@postgresql.org; Thu, 05 May 2016 15:57:37 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ayLeg-0000tw-Bv for pgsql-admin@postgresql.org; Thu, 05 May 2016 15:57:36 +0000 Received: by mail-wm0-x230.google.com with SMTP id n129so26162842wmn.1 for ; Thu, 05 May 2016 08:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flexibee-eu.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=1F9GTBaekbXKbbx3CdqqxKnQtKDTUq1NO5T5ku81mVk=; b=JaVD3pGS+Y4EedTOsDq0tMniSeW9jUcGC+eZ+fZVywsfI3PAnxPpdvLQIIwZyiPnTL KQd47DreDzD1OwnjSO9iIIU34JJQP4C6bB+mb2u+A+XHLmgALtnWe/RlDDnulrGcbdFT l/KsWAbkoU0B20tyGxiS8JqkrZhsKVg6VZHSulRTKTabTxSanmkujP5+I/MPpGceY6Kr 254osNyJM5L6yDe2Hb6T89DX7wY2L098X9CRAtPkTNtrofiF+WqTMvKqY3GLMMkVBFVg 2rPbuCeoLoXXeGSw4hHqvIF17febdYMIonV2sTR7tGfAvI7/Qb6SH0tAtHZi9+BmuBau 58Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1F9GTBaekbXKbbx3CdqqxKnQtKDTUq1NO5T5ku81mVk=; b=j6CKcJxHwa+YfYjXm13kjJ1JNTG/EorJo8ukd86t8hqgmlsEOKcq43t1wYfHcN769U cjdqVN+06RD7Hgzu6uyLXv8cUX6S7c/pOAwYGPFc0U/2LJWmnQIwLRHqCZDzHNP5wzFh 9ZrohJMSThjbi8RO/indNcI8C6TaUdaQySCCuYWrQXGQFWp+t+Nnf65SGd8qxAE2Ua7+ 4+9hesFVR5XdQLLaQ65blz/30VD8kQqudJ9SMjByWO28Y+l4/D2s2BSxD9axWEygdPbp vUncTB35YTEkSEYFWa/hprIADoJcKahEUNM8AkD4hUqbzSpbsLvCxLTpKWliVT8nIxbL O1KQ== X-Gm-Message-State: AOPr4FVb9An6CnD0xkUR31cBe5BsHVPrdUPfJ659Dd8RXfiV/SDATxvyQn1wQ+9bDRLzdUuB X-Received: by 10.194.104.138 with SMTP id ge10mr14183620wjb.85.1462463851910; Thu, 05 May 2016 08:57:31 -0700 (PDT) Received: from osvetlik-nb.localdomain ([88.208.120.47]) by smtp.gmail.com with ESMTPSA id 8sm3847869wms.14.2016.05.05.08.57.30 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 May 2016 08:57:31 -0700 (PDT) Subject: Re: Autovacuum of pg_database To: pgsql-admin@postgresql.org References: <20160505154341.GA177987@alvherre.pgsql> From: =?UTF-8?B?T25kxZllaiBTdsSbdGzDrWs=?= Message-ID: <572B6D6A.5090106@flexibee.eu> Date: Thu, 5 May 2016 17:57:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <20160505154341.GA177987@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 Dne 5.5.2016 v 17:43 Alvaro Herrera napsal(a): > 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. > Let me know if I can help trace the cause. With regards Ondřej -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin