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 1tf32J-00H99L-GA for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2025 20:27:15 +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 1tf32I-00GWaX-6q for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Feb 2025 20:27:14 +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 1tf32H-00GWaP-TD for pgsql-hackers@lists.postgresql.org; Mon, 03 Feb 2025 20:27:13 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tf32E-0035wv-39 for pgsql-hackers@postgresql.org; Mon, 03 Feb 2025 20:27:13 +0000 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-844ce6d0716so337935039f.1 for ; Mon, 03 Feb 2025 12:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738614429; x=1739219229; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=pZRMhg6ernWVj16avNgTgaC0q/+tlFpSnd+VKogPTak=; b=L2oMB/QGBeoU4Tth1Ot4nTA0E4o3rlBwRkRbQDqPlMZnoYoAW/FS7QHnOeFQ/3Fvg/ ONeUHFLcbJV0EstmbX1WFip4Yb/SSk04d1fTZvavmNh8CLwrRcpo6MclNlRisZ95TH7f 2xmjWd+1GlGJmkHlmA9XTW7/bIzGvhQoeSign2K9f58OsiI0Lg/bGr45pCS4DnrC3yM2 NahxVMHxLfeTdwxk09lA5FDXKUMutoaSMj/qS0jg5/nBEaxmSC2mFsTJt4ipJsgkCsjb UTeiio/X8IbBZsSBeNTUU5avb0dgWjxsIBoCEED4fi0Vz95y3PJmldewff7nJ0Bxw2D6 k8/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738614429; x=1739219229; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pZRMhg6ernWVj16avNgTgaC0q/+tlFpSnd+VKogPTak=; b=l2xPalr8cG5oM+ciHPjvpsoW21o2BXKnN44dNldYgH79oZnXlXnWY0PnUkqM2bw0Ac a50aECnpJQwinB+O4Yt/ftByjqQDKIBjQ/51p4YcU8Mp2zU+xyHjcH/GA95wdFmp2ZGv BhLo+u8R+9tcB2kfH1i97wCvGmOtDp55hdYlZeSaqWNy4lUb6V1UuGEv52I5v/F4L4Ai /HN/a4fdTsCV8T+Atfmt5aCr4BJl5dacRULnU6wSCURVa5KP4BeYb3dy8cnt8UVpYMGT XBUZun7H/UmmriRQO3Hs1PbF1k2J7AXui0SsYgqlpCExR+tufVOQzfLaj/0Qf9sY7Ksq faLw== X-Forwarded-Encrypted: i=1; AJvYcCW6BHMr9ksYTiPFKqE911/qC82XRNV1SxcrMbg9cFCkBpbQppbp+MV0vhgl2EK2RsTNBhrd8ciNRm2+lmyh@postgresql.org X-Gm-Message-State: AOJu0YyLEZh81O24u7lDjJrnn9M2wPfa2Lc6OMr1iaI/O9Z7B4FzN3TQ vTZn/Z1n9uWEhCAEhZKWQB0AeJJ3FOcTy/2vex+IXebl27rFsYXc X-Gm-Gg: ASbGnctiqLE0i5hSuQ8hTCf0epNljt0fSfTCfh43l1ge87N+MnJGpthM0r9nR3lEdBQ YCtlDBvaZ6BiOzq/y/vHd/68o/toALzZhIBOKOgtn8odl55SMq0YYvHj9eWpUm63i3qq+nehKc3 e7DtgixLziYeocFY9LGBu6fEcFflBGtA/g1WxfrMZPis5CqhPIYgHHRuuTxUHqvQ0CkDAuF0/dv h53pMjkXlbCKB/ZZa7WqluMOxFn5xSIJs/y8RyMhBcS7o+6KKSYgFEZDYvBhHzjdzYgL/W1rUnU XwGOMWBqUsAImR2Vv+mI1759rYdHs7yaFfHJwnuiOvm0NB5kMhcJyYGGmKAMWPxJcK5diKJGzGl 4ElJjWQ== X-Google-Smtp-Source: AGHT+IEqlEfH6bBIhGROQjXgKlhi/gwdzqbXfQesnRcamjX7997jg5G8Gwx8Tzfbaeivr+JLeZlcBA== X-Received: by 2002:a05:6602:168c:b0:83a:db84:41a8 with SMTP id ca18e2360f4ac-85439f8aec9mr1852959239f.10.1738614429640; Mon, 03 Feb 2025 12:27:09 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-854a16124absm259518439f.26.2025.02.03.12.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2025 12:27:09 -0800 (PST) Date: Mon, 3 Feb 2025 14:27:07 -0600 From: Nathan Bossart To: Alvaro Herrera Cc: Michael Banck , Antonin Houska , Junwang Zhao , Kirill Reshke , Pavel Stehule , Michael Paquier , PostgreSQL Hackers Subject: Re: why there is not VACUUM FULL CONCURRENTLY? Message-ID: References: <679b3979.5d0a0220.115578.3e08@mx.google.com> <202501301529.ejggbtao2skr@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202501301529.ejggbtao2skr@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jan 30, 2025 at 04:29:35PM +0100, Alvaro Herrera wrote: > 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. +1 One small thing I thought of after the meeting was that this effectively forces users to always specify an index if they want to REPACK WITH INDEX. Today, CLUSTER will use the same index as before if one is not specified. IMHO requiring users to specify the index is entirely reasonable, but I figured I'd at least note the behavior change. -- nathan