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 1hA2UK-0005kM-4s for pgsql-hackers@arkaria.postgresql.org; Sat, 30 Mar 2019 01:08:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hA2UI-00052X-QA for pgsql-hackers@arkaria.postgresql.org; Sat, 30 Mar 2019 01:08:46 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hA2UG-00052Q-Ot for pgsql-hackers@lists.postgresql.org; Sat, 30 Mar 2019 01:08:46 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hA2UD-0007DP-KZ for pgsql-hackers@lists.postgresql.org; Sat, 30 Mar 2019 01:08:44 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7282922083; Fri, 29 Mar 2019 21:08:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 29 Mar 2019 21:08:39 -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=jFXUHWPOk+Iz/aWhbec498SmN4M 5YJxEQV9yyxv13tk=; b=O7oZK0chSQR5i90iMlisdADCwSKbqJFUKP81UYO3a76 dAHNwOkFdUs+CMVQT0HozrM3vt/9K4Cm0Og7ba065JVNzB8B2Kva41GqAC1PmN/a rKf+GBZXyPrZK2Hh60rVg2i4vY6WO12QwAuEv+sQUeakovRnm0ksiK9gUFng3GjG Zg+ENdChcJPsED4FsGWrRkXC7QXUYYb3a1RvsYr9bKvTCD0Sb128KWIDiu8wGvYL JjMbStKLtgbz144P+T1UG68k0ZtyTDvezIKbPVcwq3H1mT5o9n3Ybm/2WGPJFRMJ FX/IR5+z3J1edgtoGcII9qsxHbQ4p6ckyQuSx5rqK6Q== 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=jFXUHW POk+Iz/aWhbec498SmN4M5YJxEQV9yyxv13tk=; b=rG3XTWET27BQXE78wJerxp JhCfLP/Oxwyg8ABUJIp+aHWdfDmAd+tXi+wQs1rEKHyOzs5tBXw79cVPKoh7AL6T 38wC1wrJ3TMWiIGtAfL+dFuIMVje1Cf5k9MGuWKTJyvRucjJMuZdZrt6MKxNF5SD Q55gl3gQFm3oMy07M/k52C6TfaIcPyFykFckXFOaahGZjDde9i8Jd3gqUWf5Jvzh fg7nIWgfycJV1jj55jwP9h7aP81l0Smad5GHAcBkDO4zSxvNKceZHif5crGmEhMI FauvrYYpy1/MC3iup8/ooc5OxOeMiL3jIqd/syJ+ia1MIRyHfn5WHWvtTPArLoiw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeekgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduudekrddvgedurddvgeelrddukeelnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (mp76f1f9bd.ap.nuro.jp [118.241.249.189]) by mail.messagingengine.com (Postfix) with ESMTPA id B18B1100E5; Fri, 29 Mar 2019 21:08:34 -0400 (EDT) Date: Sat, 30 Mar 2019 10:08:22 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Andrew Dunstan , Kyotaro HORIGUCHI , sawada.mshk@gmail.com, tgl@sss.pgh.pa.us, 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: <20190330010822.GL1954@paquier.xyz> References: <20190329140349.GI1954@paquier.xyz> <20190329142255.GA22447@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zROEGoKAXsG5UqGB" Content-Disposition: inline In-Reply-To: <20190329142255.GA22447@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --zROEGoKAXsG5UqGB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 29, 2019 at 11:22:55AM -0300, Alvaro Herrera wrote: > Yeah, that looks good to me too. I wonder if we really need it as LOG > though; we don't say anything for actions unless they take more than the > min duration, so why say something for a no-op that takes almost no time? > Maybe make it DEBUG1. I think that this does not justify a WARNING, as that's harmless for the user even if we use WARNING for other skips (see vacuum_is_relation_owner). However DEBUG1 is also too low in my opinion as this log can be used as an indicator that autovacuum is too much aggressive because there are too many workers for example. I have seen that matter in some CPU-bound environments. I won't fight hard if the consensus is to use DEBUG1 though. So, more opinions? Andrew perhaps? > s/relfroxzenxid/relfrozenxid/ Sure. -- Michael --zROEGoKAXsG5UqGB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlyewYYACgkQnvQgOdby QH2FmA/+IcwztB/aKCSEPb7oWBrd8UcWsm3SVC7fCADzQOMY35TnXVBgZDaa5tth vWV6gtrsPOvUny+wcXV3QREWwPEmDHu938O+BA8IgkDC2f32AnMPxnA87aeb7haT DByotD8wRMj98+zqf6ZFnjGNT8KFWm3q5QltOtcAjOpyyTm7RmPP9te+hLBhgtks Bpv3+pkVLldGocVPK5MEyjtsQzIuJtz9+UxEPEnfxnGb7faDbXxoYqbXS58549qE 03D8Ev5S3h9csKkKvK4pYPUkO7Pmzq/DfTrq/pdiIB+eNWBYabEuFffeA39PW0zC C8Pg1yV3+VrxHDSabj/XK2cqS/aygQ6ohc5euvN+C5cQuiZwUvskz+G8+91dfy2y L7AsIIHBE9rPNowL7ZQXhYZRZntN9icSp+hH/X8EStbEfBfvgq2N0cusY7f4EitI WesN1bpq49cKfOUCJl+b/mKhob80cFPmAShcJLR5Sak0rB5FVi/gGPVGCY6GhE04 MGuBxzpvG5WQE2xNviVy6HFNYWKxnu3nrHT0QRaXVaNuX4lb6HHjTRH4tzJxUzRN Wbkt3kpiHvB1xUZ6KxBzFFOYrXNiNXxv0WVCMdzCm6bv25co3NlBaPWvSN2gmxzL YS7WqfrEZwqej7++wJh30uKv1bFmANkCV6w1BQ90aZdg4XFPz6g= =xObF -----END PGP SIGNATURE----- --zROEGoKAXsG5UqGB--