Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5DeT-0031OM-03 for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 02:07:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5DeR-00ATqT-0j for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 02:07:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5DeQ-00ATqK-32 for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 02:07:19 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5DeM-00000000yy1-2rdT for pgsql-hackers@postgresql.org; Wed, 25 Mar 2026 02:07:17 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id C40CCEC0121; Tue, 24 Mar 2026 22:07:13 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Tue, 24 Mar 2026 22:07:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1774404433; x=1774490833; bh=EPwnBk/CtW I6R9HFvhOqCygDu7auCXUmWs9jCBCk0As=; b=Up0rJrVM2G+JeHjainpMEKiWOR 6oohha0efnlYDdWtBrNSJcBD/YqJOZc3HTmwzKB6CL1TEQC47ijAMV8YjhIwOgoz 8JV3uCD3HeyxjKiVRyUPtlDkaVzZfLLysn6iwuGdqpuqbvKm61/hv+Z6lEY7wKug /H7Ege1u/sjFVTu5/cyq3qih/vT7JUlcvZDDmZ/uHSXyyUV1VPW7Lb/DcL0mDTnC 7B33IEguKDLOJrq+7bcF09tyjlysaVn725mGENiUawPBYkiSq8Ug78CjRv8MYlqn GCHZKNX9xc7ATUPh7h0qY8mOWbrYMk0aBaY0EArHnCj9/qqcCLbuBKdM9xLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1774404433; x=1774490833; bh=EPwnBk/CtWI6R9HFvhOqCygDu7auCXUmWs9 jCBCk0As=; b=nEM/9cL4a72f3/iqpapPB+Wo9iPyQ0ptYTOzJUrz+GNeuYM4vw1 8lyuAFh0M5B9j2LsFOMET9ELVNW4vDwheLz1w4LCOadRHGyNkb3ri8XxaiVDR/QH LSpjiXHBjL4KVCnyJnFjWEALfMuTCuf0b3pEq0tmZ4UyUZ1w/tbYKdM2b6MTyKqZ rT6RRe0PTYbEvPDcxPgo80FtznFmDQPFcQR0FE/82Q96YG69W2GL+ii8CeN/uFva G83tydjZMu7SaRWubeeBwtHiQ0Z77X3zebRtF0i4/kydIm3BQ7nl4oqfgM9Gk4hE 5YWPxdOiQ0JzRVFU5B42yQEDYhfHBWD1p2g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdefvddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepnhgrgh grthgrsehsrhgrohhsshdrtghordhjphdprhgtphhtthhopehsrghmihhmshgvihhhsehg mhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtgh hrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Mar 2026 22:07:12 -0400 (EDT) Date: Wed, 25 Mar 2026 11:07:08 +0900 From: Michael Paquier To: Yugo Nagata Cc: Sami Imseih , Pgsql Hackers Subject: Re: Track skipped tables during autovacuum and autoanalyze Message-ID: References: <20260324151133.7940a5c1f2ebd594d54da481@sraoss.co.jp> <20260325012847.e026ba1860c07288efe3e97d@sraoss.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="B7PL4xzPqBDusTYg" Content-Disposition: inline In-Reply-To: <20260325012847.e026ba1860c07288efe3e97d@sraoss.co.jp> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --B7PL4xzPqBDusTYg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2026 at 01:28:47AM +0900, Yugo Nagata wrote: > Although the timestamps are overwritten on each skipped autovacuum or > autoanalyze, they still indicate when the last attempt was made. This > can help users confirm that autovacuum is actively attempting to run, > and that the issue is due to repeated skips rather than inactivity. >=20 > While counters can indicate overall activity, they do not reveal when > the last skip occurred. With timestamps, users can immediately see the > most recent attempt, even without a separate dashboard or historical > tracking. >=20 > Therefore, counters are useful for monitoring overall activity, but > timestamps give additional, complementary information, so it seems > worthwhile to include them too. Hmm.. I can buy this argument for the timestamps, especially for database with many relations of various sizes that could take a various amount of time to process. The timestamps could offer hints about the time it takes between the skips, even if snapshots of the stats data are not taken at a very aggressive frequency. This is v20 material at this stage, of course.. -- Michael --B7PL4xzPqBDusTYg Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnDQ0wACgkQnvQgOdby QH1KDg/+P8WXdpKAT1JJ8J5j172Ht0usmA9WhqtP6Wg65zNpU7iODFcGYkMsQrvu bbLeYRQGc+EAGGUa5IOIBDY+Wf+24yKFdlafBxJEl3N5SEfwkLTr10cTthHqfs65 Tq+laUJ3E9sVRTd6YoEfLeFCKgg//kkC/sD7B4SIkrTB7Ltw9lInhaPjnIkcNzMK 1FW73yDyJ0DRgFGMA+wPor2oaEHWx6xinSjl3wvDuZYDFGaoLFe/AcLSaDGMa3GY LO50xJN6MiL+qic9YA780n9gjRKzna/4EwcDxzj8mzDxyEl1LKdgtmxQx8DYqkxK OsaagcqxKHCgk3dd+vs3WoHTQY0gMEm4zyJTytlr7lwX7xwQEKPenNeQB6g1naOt UYn3NMwySxKe8gD7yznwceUy7wrPLQKxnzhm03/QfgJk6duyWaojeqSb1ylkRn9K CS3Lu5FL0a9+AnAP0r9F7ccAVnrpSYKDn/kTCAImAg2yMg1FpApBRYGdIIBUcDSG e64FX1woLmqUvyIhXX/GOQThVOjPvYA4pyK6RU2BmgtlnsGvyzQIdWsqcBkLWk/o CxYat/sWDNPbDtvWRMvF3t4Bxu4eLojiwrTSkufpmHXi9+mmzHQL9DzD/cP0XTKS e3Oh3Og5BXQI7VqsewdweVTWmyeDofsl1O/5s6CgTm50r6RdTZc= =7z/e -----END PGP SIGNATURE----- --B7PL4xzPqBDusTYg--