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 1w5XcT-003M0Q-2g for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 23:26:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5XcR-00HR3p-2x for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 23:26:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5XcR-00HR3g-21 for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 23:26:36 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5XcQ-0000000134t-0u2c for pgsql-hackers@postgresql.org; Wed, 25 Mar 2026 23:26:35 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id D5E6A7A018A; Wed, 25 Mar 2026 19:26:32 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 25 Mar 2026 19:26:33 -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=1774481192; x=1774567592; bh=+w8UxZXmJr SHR5kBS1AFsB8MndCOMZW9H9mZvmbhRMs=; b=WLVDgDzK5oiolP4csO6xR86G16 lRA8XqcIoyB9gGGMeBqmb0Bcc+VD/p71iaWDJHi18/trxWjitzWYINM1rJO5+I7b peSwYhYxtInbt2HO8UxdWPnTLMFur3TnMfvlGbZdGtVa80YaRxXWAYiEsikoC1f2 n5KJ+hwUChu8Yzct3vS+ElamQCbyJeKgb3zmdCqhfHDzjNcl+CTAIxR4lj5SGKQR c8BzlErI6p42b89LabcnANUqta/U1RjscauTOnRhTmPimfn+wfoeBgYoP26eIa6W lE4e/khnslxgngWnJxzfuKIp/5VcNY5hMVaZ31PmvT9QhyQLVt828XrLZkvA== 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= 1774481192; x=1774567592; bh=+w8UxZXmJrSHR5kBS1AFsB8MndCOMZW9H9m ZvmbhRMs=; b=aaLRssKat+hFH64WRRTx0MlTZv/xOtyP2gLDGfteT4sQorlc8ay Ni3esOVeXh+NvauZ+nfH0LoJH24UMFdRZG1JcsH7MjrnjA/f5ktG/wmQyJHYuI/m NSc7v8iVFIL/2/tK9VG0O4XCM56K1xweNTz1oYv0WRP1o+oXkga82As3/yaewwQD 2NaN8Q+YIqQWOImnlWR0c60T/VvhOcLGTyUX8JzoNDgFANC924IEmgOR4B0/WO1u YH6jZF8hc0raLMRZYGafbiFqi574hCuLXd6AgW1i9MvpHRBs3vsb7jqJ2IlrMeOr ZWRI47Dy8o8g3tlwjEuYAMZNO8Efslx6wEQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdehjeelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshgrmh himhhsvghihhesghhmrghilhdrtghomhdprhgtphhtthhopehnrghgrghtrgesshhrrgho shhsrdgtohdrjhhppdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtgh hrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Mar 2026 19:26:30 -0400 (EDT) Date: Thu, 26 Mar 2026 08:26:26 +0900 From: Michael Paquier To: Sami Imseih Cc: Yugo Nagata , Pgsql Hackers Subject: Re: Track skipped tables during autovacuum and autoanalyze Message-ID: References: <20260324151133.7940a5c1f2ebd594d54da481@sraoss.co.jp> <20260325012847.e026ba1860c07288efe3e97d@sraoss.co.jp> <20260325132451.807ebb159f3b11e88ad4ecc0@sraoss.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WkakBkjbT7IZF2eo" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --WkakBkjbT7IZF2eo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2026 at 12:12:35PM -0500, Sami Imseih wrote: > I'm fine with adding timestamps, as there seem to be convincing > reasons to add them. > My other concern is bloat of the pg_stat_all_tables view. This patch > adds 4 columns, or > 8 if we also include manual vacuum and analyze (which I think we should). >=20 > Given that, should we also start thinking about splitting the vacuum > activity related > columns into a dedicated view and out of pg_stat_all_tables for v20? PgStat_StatTabEntry is shared between indexes and tables. A bunch of its fields apply only to tables, not indexes (aka all the vacuum and analyze ones). Few fields apply only to indexes, not tables. Not that many are shared between both. I would advocate for a clean split between indexes and tables, as a start, with a new variable-sized stats kind dedicated to indexes. -- Michael --WkakBkjbT7IZF2eo Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnEbyIACgkQnvQgOdby QH2YKg//fVCLycHSlSRUdJwK3M6Kv1VuHfIj3yoi/l+gqymXXq3eToCz5jj9+Lpi zdglDX3kgkJRkxzv19zEBOOfUjC79Kx6kzW0woEntK7dGYd16O1nvlKeIj0Rh07A y22hbEfitzZNQRqf5IB57SKLpzM4eM4A4rKzsykexq9mkKEeH4dvd4UJvuFB0QWt ZdNQaD0oJRVZVDItGj5jRMRw3hbmG6yJXRjWe1ej0JVRspy5P8OJcdY+y5kIhTuY ogeRrKjaStovCD3cAy9yEQZMwQ7+5iZgke+wLIRWKLL5J7D5GZ5e9XCg4HzocHWc /wFNe0ajWLfZTip/NwQvvYqfRmj9Lm2nlK/GJ4R7qa0K2IaxiGgOXisbeKWpv6Ol 8WJmyyEKTN9cugSBuU6e3oaru9Fv4QHYt8kpL0Nbs7UTQ2emdpnd2E181SOrNEvL zcxD4EQ3vOBqT6SA5Wl+13Dz68dFkNaIfq3V7PrKB8Mq0tLGsVP/zgSQ0ohu+yjL 8kk+fhHx5i3QxKRtEMw1ZcMwKQ1O0nsgX4y5HyUcGJFjgLteyZ8+a6JHUF9kPy6M Bj4WmqgR3PqF3U1FwpGQeisPFEQVCUWvbfh7DDCgrH9BCQGhttRnTTacLaYgsmQS eUgzk57D+M6/eLW0gZOscPIDaaNokxAl8Uvfdsv+ztnnqHZotgQ= =y3C4 -----END PGP SIGNATURE----- --WkakBkjbT7IZF2eo--