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.94.2) (envelope-from ) id 1tdWUH-007p6w-9L for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Jan 2025 15:29:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tdWUD-00CHQq-B9 for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Jan 2025 15:29:45 +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.94.2) (envelope-from ) id 1tdWUC-00CHQi-Jn for pgsql-hackers@lists.postgresql.org; Thu, 30 Jan 2025 15:29:45 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tdWU8-002MZd-2v for pgsql-hackers@postgresql.org; Thu, 30 Jan 2025 15:29:44 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 5DAD01140156; Thu, 30 Jan 2025 10:29:38 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 30 Jan 2025 10:29:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1738250978; x=1738337378; bh=A 0dtr5xnQZ9mzw4UFNv74QmNcjWA0GZKpNcHZhqTr0Q=; b=aTotFpv5Si3KiEpPg DtS3FGYobbbMqwF0SnYm7pIMQE4QLZ6mspbtPT17VrzZhPlV7uHZp/sc2Hk+fce5 EISuvaOHdligMextRAnsQpz5Os1VMTdZ1dwAnjIU4fFDPZtFcJ0H81o/rGy+D3S+ Qklh1L++pBsOqtOU4i65ZStmFLWKDtfH8KoiCxdECce+TZWt2pzDPtnHkOV9tFQT IawsW14/9ukDmZRWLmQIgbV+bvZHX0bKVF2kncynAjxiEHoDQHgcAF7/W1Ff1RsV XU58PHx4OdvbHpHEQ9vAk39v9j8cV6YsgTpmTAwvdtouoMBqwPQAPmcfnSKpj6Pm DBoFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeen ucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffh jeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprh gtphhtthhopeejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrhhestgihsggv rhhtvggtrdgrthdprhgtphhtthhopehprghvvghlrdhsthgvhhhulhgvsehgmhgrihhlrd gtohhmpdhrtghpthhtoheprhgvshhhkhgvkhhirhhilhhlsehgmhgrihhlrdgtohhmpdhr tghpthhtohepiihhjhifphhkuhesghhmrghilhdrtghomhdprhgtphhtthhopehmsggrnh gtkhesghhmgidrnhgvthdprhgtphhtthhopehmihgthhgrvghlsehprghquhhivghrrdig hiiipdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrd horhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Jan 2025 10:29:37 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1738250975; bh=cWeRMeTT1ZiT139HSjFDs1t4GpovYwVsqUT5Ep+D/do=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=fjpY3Tktx2qhIC1A/DJwznTN1pyTTlm4yepR3Sj9DJT/05AwGwS/JhtnU1/377bW5 a4tFk7tyftb22Gharo+YP3zzwAgAPWIMTb9hfBNPAH167pIjYTvUhEwOUg99z7gb/Y HQMdbSP/w57nPVssV7p/Md8nX99FCzYZIOhEWD15DKR5q2NXcTPiYAWSj6uJRlECj9 5v2SCnZAMOQl+9GGLGKy8BpWlJJCZ2LzFraBaRJ5CAfV618fSuEp2I03c/tchmQzdE FCJsGZMfaHaojGLxlp8K2MPeW336A/2PRlK2KsxrEYFIT9vlhjAlp/YSxvhlTr7smx uCtuTjvb9udvQ== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id D54B78B; Thu, 30 Jan 2025 16:29:35 +0100 (CET) Date: Thu, 30 Jan 2025 16:29:35 +0100 From: Alvaro Herrera To: Michael Banck Cc: Antonin Houska , Junwang Zhao , Kirill Reshke , Pavel Stehule , Michael Paquier , PostgreSQL Hackers Subject: Re: why there is not VACUUM FULL CONCURRENTLY? Message-ID: <202501301529.ejggbtao2skr@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <679b3979.5d0a0220.115578.3e08@mx.google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Jan-30, Michael Banck wrote: > > I haven't addressed the problem of a new command yet - for that I'd like to > > see some sort of consensus, so that I do not have to do all the related > > changes many times. > > Well, looks like this patch-set is blocked on the bikeshedding part? > > Somebody should call a shot here, then. A bunch of people discussed this patch in today's developer meeting in Brussels. There's pretty much a consensus on using the verb REPACK CONCURRENTLY for this new command -- where unadorned REPACK would be VACUUM FULL, and we'd have something like REPACK WITH INDEX or maybe REPACK USING INDEX to take the CLUSTER place. For the record, there was an observation that 1) if logical decoding is not enabled, REPACK CONCURRENTLY would not work, and 2) that sites being forced to enable logical decoding (even if transiently) to allow this, might take a considerable performance hit, and that we shouldn't entangle our features in that way. I don't have an opinion on these things at this point; knowing more about exactly what the performance impact is would be good. Regarding logical decoding, the conversation continued that maybe it'd be good if the feature can be automatically enabled transiently for that particular table for as long as needed, and disabled afterwards. But like with the previous concern, I don't really have an opinion without understanding it more deeply. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/