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 1h9sBE-00061C-RO for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2019 14:08:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h9sBD-0005vm-Av for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2019 14:08:23 +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 1h9s70-00014c-EZ for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2019 14:04:02 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h9s6y-0001M5-2D for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2019 14:04:01 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 336CC210DC; Fri, 29 Mar 2019 10:03:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 29 Mar 2019 10:03:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=FIVHQp50oawH6SeN9/RVa3VpXN5 dEFAkGRWrw6qSNG4=; b=X4mDZat4paysjLpARELy9FviSZtwgej+VIiWmippx// WPpvNkJUostDOk6ctR0XCaUZvX8VX7old4YXBvd209hRJmo3krajIR5Lrqz9WJsv ttg7z6J7AfF5bdAygv9T3Uql9Y4hgIng3Cv3+KhdqpV+C4mvor2zs6dXqh6QWvBI dVyVUSA00DKv3MEgQRxzsU8iQCQrx0QGzZOY3FDXQQkHQk4+l79lBAuAs9IYjz+n Mfj2DY/57us2EqbSpAlA3qW2agexs8RZNhDhTmSsbCiacpMmyUyUq02OHUSuvDW2 P/gsI+uQuMTGz0XfXC7MsJ1HLciG9ezc4tK0RW36yGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=FIVHQp 50oawH6SeN9/RVa3VpXN5dEFAkGRWrw6qSNG4=; b=b6Exn4P2nCG9NZUkbSG7/F FCCCNNoVgPyRXvM7zIObuRHP43prdLX8mCjFDFWQNQVfPknj7fVCNHA3tfSfJfE/ Ruu2OlXurbssk57g2X9IlMkT7r1VwJxM79gf+7Odrbmb1LsyecqxuoXV9WeW5Dbm MhB/Te/av62bl7QOfc8C+UPu/PUm7SXhLLCfFD+psSVTDKGjsnEVc5B9DYNlKB82 pi+/zod+lCBqw4IWljmqC9yaGDMsrHu95l3HktZVxXM0g4lHJpwqXgOHZdtXeulC ++7J5VCxoJvfOfWFo5Gj3l5JXHolpPs9f+1jSCqcQjmggFFV0UGaRHDrej6SE3dA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeejgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddu necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeeiuddrvdduhedrudefjedrudeivdenucfrrghrrghm pehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhush htvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 828AB10391; Fri, 29 Mar 2019 10:03:52 -0400 (EDT) Date: Fri, 29 Mar 2019 23:03:49 +0900 From: Michael Paquier To: Andrew Dunstan Cc: Kyotaro HORIGUCHI , sawada.mshk@gmail.com, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, sk@zsrv.org, nasbyj@amazon.com, andres@anarazel.de, robertmhaas@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru Message-ID: <20190329140349.GI1954@paquier.xyz> References: <20181005031603.GF1629@paquier.xyz> <20181005063504.GB14664@paquier.xyz> <20181009.181536.142257785.horiguchi.kyotaro@lab.ntt.co.jp> <920b7f84-407c-005c-4b7d-e8266a17d22b@2ndQuadrant.com> <20190309011537.GD9266@paquier.xyz> <20190329115138.GD1954@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IJFRpmOek+ZRSQoz" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --IJFRpmOek+ZRSQoz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 29, 2019 at 09:11:47AM -0400, Andrew Dunstan wrote: > +=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 (errmsg_internal("found vacuum t= o prevent wraparound of > table \"%s.%s.%s\" to be not aggressive, so skipping", >=20 > This might convey something to hackers, but I doubt it will convey much > to regular users. Perhaps something like "skipping redundant > anti-wraparound vacuum of table ..." would be better. "skipping redundant" is much better. > The comment is also a bit too tentative. Perhaps something like this > would do: >=20 > Normally the relfrozenxid for an anti-wraparound vacuum will be old > enough to force an aggressive vacuum. However, a concurrent vacuum > might have already done this work that the relfroxzenxid in relcache > has been updated. If that happens this vacuum is redundant, so skip i= t. That works for me. -- Michael --IJFRpmOek+ZRSQoz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlyeJcUACgkQnvQgOdby QH0LyhAAibv4rW+gK/VRzvNRw9X7Kp/j1gArVJurKW68k39lXyWj9TEzQg3hoR6k bTQULaiVNjj77rBvgD8W78DrvDax5EwG/dil3YNprDKOKFUBtuyIO9kWPtLxSNk6 pECxBppHVdp40Wc/rqqseYQeU+beFDPz8wUDNrWLXpWkrky67/xaMlJ7E4NHqpGM FMz0gPOVTXe7zgE48OTXM/Wl/bNG0BFGzVbVdGg4vsbVaz5LDQcmocPNzCxCzi1a 7qAcPd6IsC0u+204uCAMXYjwKpS/cjLl20YoaB+E6C1Nkty8Xnc20wIgCSgmfO/f yFBHnyG1FtpLgG2HOn8F1ZL462yiN82ZemMwMFlwHOMhJ22chGM1XlMAzfWjLgJY AfbCnGEsCRlbCkZvKg+co0JC5TWsmJRINK/B7sbo9TkXTxSHO8VWjD5bjovlT4v4 iKCU45V2SF8ckUZyn7b7yme5NSfLoNv7aelDR/foUdGOolCiQwMsoV1ZQO1wp6e0 rage/Z/rHDWIbmXV3vRveCcUlC4wjw6Pu+YLoVIINz8DU2iv+51VYoP6x0C3MTxi cghlJTrUX3io6dZ4WyQiJM13zfugw/vRoZeYPHKXiDFsbvpECQ7ozHv43l96Oie/ Qeg/HEVilijJ88yzWdyqaBg2wdxvFT+hj2ERCZev2D7B2ce34mE= =un6b -----END PGP SIGNATURE----- --IJFRpmOek+ZRSQoz--