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 1rb2DI-00CieY-MO for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Feb 2024 17:41:28 +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 1rb2DH-0039vE-0Y for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Feb 2024 17:41:27 +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.94.2) (envelope-from ) id 1rb2DG-0039v6-IT for pgsql-hackers@lists.postgresql.org; Fri, 16 Feb 2024 17:41:26 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rb2D9-0075G5-DT for pgsql-hackers@postgresql.org; Fri, 16 Feb 2024 17:41:25 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2d0d7985dfdso31981611fa.2 for ; Fri, 16 Feb 2024 09:41:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1708105278; x=1708710078; darn=postgresql.org; h=message-id:date:content-id:mime-version:comments:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=8pVeZvb1LgWj1mGxNm7q3oU4zHUFK6PUYKWWFTX6W5k=; b=MXuS5dV8waDypmsq3EePe+DUTN2uQr0osqhRrc+tTlvq0omlSQdscrVr7abehKr75C c3ALI6emkfh/DWmxa2HG3zs9shAU/bpsosAlnpLmrP/hU4t65ExwZeUMjAhti5vl3npy 3AQPdjUR6ZBxCnYJfi5iMbBiYH2U14FPx0nl2Lpyyp0Pa8mwspYOmbKqFQbhxF08muaW 95zGhkD3gDupiCFQIdeC5nNwPBeAhYr/a0ErF54ZAahM93mKhKPljsoqB1RGdNA0BJjd i47KVAjOCjHd7/TEnZ/C58BzoLye4x0LHCvbK82AetcccD1mK8svz78Qu0t0jiVPBUI4 4msw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708105278; x=1708710078; h=message-id:date:content-id:mime-version:comments:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8pVeZvb1LgWj1mGxNm7q3oU4zHUFK6PUYKWWFTX6W5k=; b=VpN3ATK4RhrVBA+ULcbO8ZxoCtfSNSvP0u1eUI/6CHwniqMx68Ag2Nt/lUZG3spUUW L+TlK1HknnHYjBpWMwpNxK7AkjXyibemmD2NXkaSXWvssTZ1Ih79a/kb78MBCGAQgPU4 DuOeDyf7BnJBiuyHb63slDok8vfPCpEnHDb6vRf+gvSIucwqlocwgkM9/TlwHi9TYdmY YJ6ZpxoirQLpj46aP8Bs4H8j4IdoxgKK50RzHxjBvev2CD9zI0Ap2DOkqG84VXm4vaYr yxm/gTXrkdXrvYbcySz5oc3BOE80ueSRCNPiNETMSL7SeS08fIyVNpqOnixng+rnkdtu F8zw== X-Forwarded-Encrypted: i=1; AJvYcCXEIJqW/KxoaeIlAOacIGx6zt8PXYp1HWZk3w9kvQdPmMchdc/Yuz19QJ7DR4AtqGZ2gnVOQO9B26Wk2tntHsl+owYAqYNOCa5OcoBw X-Gm-Message-State: AOJu0YxvpKutYaowgBUpWugqX1GQRsNk0JqR7oJc2vOe9SDDUzuMlDE6 f1uAkI/Z/T213ly6vW0Shf8xaFaKrk0bUlEPuyPKrDAjILrEfKCHkXq2SI84V7G1LZkO/LN3bNF z X-Google-Smtp-Source: AGHT+IHjlFO5NJLVhotrm5Uvb/cdReThzuc1qWL3MzBG9/tj+Vpqxs3l8DW6cqRL68EGj9qR74scBw== X-Received: by 2002:a05:651c:1a0d:b0:2d1:f23:3f7b with SMTP id by13-20020a05651c1a0d00b002d10f233f7bmr5177169ljb.35.1708105277593; Fri, 16 Feb 2024 09:41:17 -0800 (PST) Received: from antos (109-81-174-0.rct.o2.cz. [109.81.174.0]) by smtp.gmail.com with ESMTPSA id jn4-20020a05600c6b0400b00411b7c91470sm2873407wmb.12.2024.02.16.09.41.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:41:17 -0800 (PST) From: Antonin Houska To: Alvaro Herrera cc: Pavel Stehule , Michael Paquier , PostgreSQL Hackers Subject: Re: why there is not VACUUM FULL CONCURRENTLY? In-reply-to: <202401311004.2yky72qydzxn@alvherre.pgsql> References: <202401311004.2yky72qydzxn@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 31 Jan 2024 11:04:24 +0100." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.2.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6346.1708105409.1@antos> Date: Fri, 16 Feb 2024 18:43:29 +0100 Message-ID: <6347.1708105409@antos> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera wrote: > This is great to hear. > > On 2024-Jan-31, Antonin Houska wrote: > > > Is your plan to work on it soon or should I try to write a draft patch? (I > > assume this is for PG >= 18.) > > I don't have plans for it, so if you have resources, please go for it. ok, I'm thinking how can the feature be integrated into the core. BTW, I'm failing to understand why cluster_rel() has no argument of the BufferAccessStrategy type. According to buffer/README, the criterion for using specific strategy is that page "is unlikely to be needed again soon". Specifically for cluster_rel(), the page will *definitely* not be used again (unless the VACCUM FULL/CLUSTER command fails): BufferTag contains the relatin file number and the old relation file is eventually dropped. Am I missing anything? -- Antonin Houska Web: https://www.cybertec-postgresql.com