Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dALe4-0003ZB-8O for pgsql-admin@arkaria.postgresql.org; Mon, 15 May 2017 19:27:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dALe3-0007MU-RL for pgsql-admin@arkaria.postgresql.org; Mon, 15 May 2017 19:27:03 +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 1dALe2-0007Fo-SJ for pgsql-admin@postgresql.org; Mon, 15 May 2017 19:27:03 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dALe0-0004EO-8z for pgsql-admin@postgresql.org; Mon, 15 May 2017 19:27:01 +0000 Received: by mail-wm0-x235.google.com with SMTP id v15so59690691wmv.1 for ; Mon, 15 May 2017 12:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JMRlXKtPnwCn/tzUkTUpJ4uIrjkqCerVlAzSLfBQyGw=; b=TYTpu7p3MIuTtL17keBsthLvV03QUunkneSJDacltQc7PMkGhujSF/4q6y1SW6tYLE +BQRj9+4NWyEBBXh4tXajBohFlpXGdcgSrWMHoN4g7/+ksoMiIfkSGXUhIkQjJeAkJbU OeXRvrweqo9PG9V9UDzeXr35pdrhAwVb/hcKSIrZXUil6pBPNADT7oVr7KddVcbUtzum waIz/HaYkQo1AZYsllgJQkx75dWVh807kaK4c9aBBqb16JPG/c3PtBdqaUIopcHe/pEm aggse2vguzMHapS2UsMBdlTft26IJ73LiULNKOkck56MtO1UikUz52/rV2kxjul2m9RE eC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JMRlXKtPnwCn/tzUkTUpJ4uIrjkqCerVlAzSLfBQyGw=; b=nb69zOZdiowEb2JjcD46lnqBmUOpQAYP7upN4qKU06T8wrG9DbXs4793maHwPJxoVx bNRk3ri5YOan/IGsTvYjunQ2WwigTDMfvOAJK5LWP8Vtxcr+sxdamsQxJ35/bLNjVNaS CN+6ggio4U8XUJMW31+hseQcoUsoVKxpXqdA8i6XwXy3E7yWtWESHSgz3JOoN4+TiDQg AvF3DTg/hTyZElfftIXlgSMWiK8ebHyZ8C2B3YpM+O/qJ22uYsSYzkd6bvOPHTDKV6O5 TWwqUCkopJ6Ic1qj2Dw3IHJMpdk2RW7KE7OAzWUGdp3qF3l5JGgt21CCIS4r/V/+Su7D DxaA== X-Gm-Message-State: AODbwcDVwldLC5SfIaxNfQw4mDO7BjZSz0oFJ63nileL3jAsit7ORPhf gkXWMl12Wu+VVQ== X-Received: by 10.28.155.78 with SMTP id d75mr1076510wme.129.1494876418277; Mon, 15 May 2017 12:26:58 -0700 (PDT) Received: from gd-kuba.localdomain (cgn1.wosa.cz. [185.137.125.1]) by smtp.gmail.com with ESMTPSA id v7sm17804575wrb.68.2017.05.15.12.26.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 May 2017 12:26:57 -0700 (PDT) Date: Mon, 15 May 2017 21:26:54 +0200 From: Jakub Jedelsky To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: Autovacuum of pg_database Message-ID: <20170515192653.GA23721@gd-kuba.localdomain> References: <15834.1494869368@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15834.1494869368@sss.pgh.pa.us> User-Agent: Mutt/1.8.0 (2017-02-23) X-Pg-Spam-Score: -2.7 (--) 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 On Mon, May 15, 2017 at 01:29:28PM -0400, Tom Lane wrote: > =?UTF-8?Q?Jakub_Jedelsk=C3=BD?= writes: > > The problem (can) occurs when the pg_database table hits > > `autovacuum_freeze_max_age` and I'm able to reporoduce it (but not always) > > with this stupid reproducer: > > * set autovacuum_freeze_min_age to it's minimum - 100000 > > * generating ~ 1000 DBs > > * make some transactions to almost hit `autovacuum_freeze_max_age` > > * `vacuum freeze` all tables in all databases except pg_database > > * run a few transactions to hit `autovacuum_freeze_max_age` > > I tried to reverse-engineer a test case out of this description, > without much success. If you have a script that can reproduce > the problem (even if not 100% success rate), could you share it? > > regards, tom lane Thanks for reply. I will try to prepare something asap, but it can take some time, so please be patient. (I just want to make you sure, that I'm not ignoring that thread :)) Regards, jj. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin