Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgNRm-000812-KT for pgsql-hackers@arkaria.postgresql.org; Tue, 11 May 2021 08:08:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lgNRk-0004rq-A2 for pgsql-hackers@arkaria.postgresql.org; Tue, 11 May 2021 08:08:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgNRk-0004rh-2J for pgsql-hackers@lists.postgresql.org; Tue, 11 May 2021 08:08:52 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgNRh-0002fD-KD for pgsql-hackers@lists.postgresql.org; Tue, 11 May 2021 08:08:51 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 60CF15C011C; Tue, 11 May 2021 04:08:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 11 May 2021 04:08:48 -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=IY1QRx547sJLFoC6dMv5vQuBPob xVhbdAuO9yL5+lxc=; b=u/yaZ6ozyiO4jQZIF7JwwID6Ykzb8v0nHinYZ5iYhW0 kR/AeLK1w4PKR2kJeaBLrA457a+HBVNorQQlpQNbZDBaggnhQ77y4zVgZSw21576 cvRZ+MMza8YpQYHZwv4eEURYXNV5Y321uJYu3c4waGYob0CEKAfbfe+SrHZTRfNN 1DTnG8zlORypycP/8UZjN7q3Xjs11cg4RoykiIOno8v+A91GHRmBQ5SZvoK24EZ/ ge4YLu/gMHbBsqSTj9E4uXtZ1sV8r+JnUg0HXy5k8IW9/v10bS6+OVRR4z+PbasI YxGENBF3EIVW0scYNp7PSYq/ZaeVkHHX+V28ZF65w9A== 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=IY1QRx 547sJLFoC6dMv5vQuBPobxVhbdAuO9yL5+lxc=; b=gAGO8ZwBu3TItyJKz3+2ma SHzhqpYF7m7lT6U5QfOGMQtto//Vixplk2hVNSzqjagksR3kk+3D8cLvZXAsYsmn 3l9z/dyPDG9c4gF/S6ZAj7UrOVizy89N6b7AbXWZerlcpXsdl3/+Y3JQ45lUfKAH /ePLmIscPUofduh8znRgs94Sj92QNunw/GsDHCBWzcTlfRi5IEPeMiFUeemQkp5I rsc+sEh6XxI9PSzohsynpwp404R34WdqR8r86jIHG+fgz7m21DqvUjloYqWCJYMj YZywXYzJvlW6i9gPiCkNvrIy93Ne25WP3noF5afgI9/OmstGFRoTKGrA9X2ct5tg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehtddgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudeffeelgffhkedukeekvedv udfgieetkeekudelfeevhffhffdtudffieeutdenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecukfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqh huihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 May 2021 04:08:45 -0400 (EDT) Date: Tue, 11 May 2021 17:08:43 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Robert Haas , Tom Lane , Zhihong Yu , PostgreSQL Developers Subject: Re: pgsql: autovacuum: handle analyze for partitioned tables Message-ID: References: <20210421230649.GA19244@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TdV5wvDfYtggpxWn" Content-Disposition: inline In-Reply-To: <20210421230649.GA19244@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --TdV5wvDfYtggpxWn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 21, 2021 at 07:06:49PM -0400, Alvaro Herrera wrote: > On 2021-Apr-09, Robert Haas wrote: >> Does this need to worry about new partitions getting attached to a >> partitioned table, or old ones getting detached? (Maybe it does >> already, not sure.) >=20 > I was pinged because this is listed as an open item. I don't think it > is one. Handling ATTACH/DETACH/DROP is important for overall > consistency, of course, so we should do it eventually, but the fact that > autovacuum runs analyze *at all* for partitioned tables is an enormous > step forward from it not doing so. I think we should treat ATTACH/ > DETACH/DROP handling as a further feature to be added in a future > release, not an open item to be fixed in the current one. Yeah, I'd agree that this could be done as some future work so it looks fine to move it to the section for "won't fix" items, but that sounds rather tricky to me as there are dependencies across the partitions. Now, I don't think that we are completely done either, as one documentation patch has been sent here: https://www.postgresql.org/message-id/20210423180152.GA17270@telsasoft.com Alvaro, could you look at that? -- Michael --TdV5wvDfYtggpxWn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmCaO4sACgkQnvQgOdby QH1KBBAAoAFldwz57W9bWeZbxOwApQoK1nNl8wdB3tYDTit+nMaNFwvrZL94dD9P +o7kg4rKslGUGvSxi6og42SgeOssOFOkFUclIV0i3qSlzUJE3GS0bI2VfVbR9FE4 YfMJstaxNXZyNMDksv0UDHxT/OTZO0F1CTwyWYlOnOgno8J0g6qLniURcHsrhXby YzC8QIK8t+yWUY9Wf0y3yic1rmslN95nJYK4ZxE6yMlp0K8MnxW978qkdiIsFyrj sEkES8NAhHV51DxjmbnY5D/LGqFIrqcPVwMSu30e3RzY1SU/9FkYQWLOTf4gjp7K zTcoXE8ZXUqckcuhjG+zvhAcUXBXVcz63ceJlS4eNMYB+HxkBRAFwaO/UGh7azQJ lws+l2JrcxPfG7P+xUWBVcfJpr0ruXcTwpsa9SlyT6N5bplVXAWbYgsJutkzFGI6 oGwc88FSPq9vihWHxnj7deGBisZN6Dvd5aogYrnxYw31SfOFLEdzIwOWeSm9HvqQ 7jp7E8O4of6jeheWu0vm3RyLDrwQMzAtENmX9HAJcjCmyq7eAptFsYgrlz0zPaUz 8c30/hSLwOe08QdgI34ECKO3SuVt4MhvExxJdClnPCFDPEr+ojZ7q7M+WfjBn7fd 5Mky4nuKFyTczVWBqt+tdx/sY2cqVAg5dzEimnimdhC2FUPbXx8= =LATy -----END PGP SIGNATURE----- --TdV5wvDfYtggpxWn--