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 1vmq4x-00GtA1-1t for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 09:18:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vmq4v-00D85x-23 for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 09:18:42 +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 1vmq4v-00D85e-15 for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 09:18:42 +0000 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vmq4u-00000000AZj-2EMD for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 09:18:41 +0000 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-385bdc72422so35765531fa.1 for ; Mon, 02 Feb 2026 01:18:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770023919; cv=none; d=google.com; s=arc-20240605; b=IksqIiLMCgJEUIYhDDiURrEHnX36G1Do8oQ1gTpb43dEHR7INja4SgeckuGJANKR99 XHsuGOSbkixha28Ka5Qh5saqWhpDJjwWDK8gg7Gk57wAp/HSdDo8K2jDpSlMipAL4PTz 60TNjT6AfOD37FVwXVpZX/9doZe1YbU9+BtLEesM63VPNH7FUDUBM59MDKirZlh95MGN VVkXJhL3Ph9+N75gHDj1CLAqWDZOIPJJprKiYHDNA1FnOijAkw3SZRqyWdB40O8wZ1kH 15ZhCNmjWsPUpimQlejA0pC4h+3iA6DrLylxThyLlNSkOxYYwsM1Lm90x2ncMGWYRZCj 4Mgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=ZjzA7oDYgqizibFCk0Cx8xZXVTH3loqIkG8BALi0O+s=; fh=6XOnQYuhi0aaFZM5uT6I4L7e6XbmXg0y0ZTynfV8UWM=; b=GHC7Mb8VKdqembjdBjpT+bJF/2660QClR8pc7Wo436AnPefTTdgzLlQkRM4bo8E+QS 40a+kJoBh118/+btaiZxgu3JEIKFfO3raEZ6xG/FzvtqhC+J2d5iF5mpAxhoAAs2E/hQ PD3mda3h2IoheuA1wfDceT+KUMOL9ibzdt6UpnRYdPxWgm0QyTk2aZY/NgOLu2CTIN/Y va/UBJnUimJwhwID2Ian+G5GDY1SJ49AbpYUz1UO3nTZd9aT/UsntSFB46CC1fu78396 GBPWf0Lh/gR3ZXtCFSQ+XM3jYOZzeNdVZoBv/6hTSAD6DEzgP3/3vUwXOTlaGRNC4peX ZKxw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770023919; x=1770628719; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZjzA7oDYgqizibFCk0Cx8xZXVTH3loqIkG8BALi0O+s=; b=ccrtBTWxk/NrnibRiFad/+XC95mA3CgdSy4YaTID4Q9A6hFaEKBreHW6cGoLmZ05AW qEDJnIHTXOsWajoFn9NxITA4QJ8D4i/pvjO/yDXN26li5LhBtt3yah1Gcp3//BR2qREQ blZ9XX1ChDxeQY6g+KkaJqn8KxUVN/M66rxo7SlG3k1lgRLeazLgAicvxaMu80AeXMYX Be3r0GkhcUlXQS/QF/bbfVRf4LHPZzRsgIIHj1EQ3PK2rkbBgRNZYd2jwUdd2Nk3bJUS Rl/yJBGD0eNGdi6j8OmnL7apUBPjOnvmrXDvRM0nCJas12wAdQ0+HhvK2K67n2HAFXBB A9GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770023919; x=1770628719; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZjzA7oDYgqizibFCk0Cx8xZXVTH3loqIkG8BALi0O+s=; b=nHyftkZy/vezrD2FQ7NNR3J8b8XUqFjezxsZgwZmRGlArX02jUrQp6MUxOfIT8iuK9 K8GDjm70WlgQbZnyI6LhqQ7CP72KooG/lKJKOpa/6h4mFFT12/6ZT/Au0GuUel2g49Lu 7Dk4ZRD0MBVGGiFAEB06Ent4AG9yuSOukWBbfH881lkXlVMpvjtiroqugjie0bk9dtea 6K8XugMdR7jSdooGvcR/LMHx7ep/A02RUkcqA2nzqIyiDZtDJPq/USCxUnUGqG7zpRcf nsyd/SfOzzhtNMVH6YhgvmWHyLNgzAOw/VLgvSYGNdMP/ibE8Ap0OIji1jgvmVHhuf+H qtbQ== X-Forwarded-Encrypted: i=1; AJvYcCXl9yojY+TcCXqR1zqBSqscd1BX0w2dT3oG288nkXloD1LIIMi4jCtO0gnL22qbC8ImBANgx2xhxyluU0rS@lists.postgresql.org X-Gm-Message-State: AOJu0YxNBaLUM5LsjzUgS40Satjqf6p2gENGb3M7cqfxlEaTKTSj5GDt ZnrWZ722sdTn2yKDZO4FV5RwFH+7AfSwaS7YtgnO+oVIm0wf2srHcLVjaGRI/29SU7Fu+yDRs2x vlHw/MZdlfuakBE4TDTntqA5FU+H6wfYLAw42 X-Gm-Gg: AZuq6aLG35i+BOi8GJooZFnFab6eGxAvmegHbX9xm5buMd+OfwyEDiJM5TBuCOVNFuH Xfks7aqrgd4rC4QptRAiK6I8gT/XwmTLfTvY1Q3aAJwvNDOowQ/rnY+3f2szN/x3KJss4kiwE9c qtTVP5w9SB5RL6HpbU/ewr9SV677Cg7P8kAkdKtJkQ7tlH/k6MNIK/e81NK4wNirKmDwclPXz7B fA5W3O4b/p0Zp5ZwFNR6rNrnVriBPJLvPoIPed5cxuA9NQ+XfVcl1pEb1M+7TjreA/tGX0AxxCQ RWjgYIZgcXY/oVI94K7AwMuSik/nAnCXC3uS/ik38D/cYsbTkvho+eFhbB0KdYp1mBugVOD/4/+ f0bRAsFok+FvjXLbTcDNKvik5rg== X-Received: by 2002:ac2:4c52:0:b0:59d:cb35:44ab with SMTP id 2adb3069b0e04-59e16404170mr3990802e87.14.1770023918745; Mon, 02 Feb 2026 01:18:38 -0800 (PST) MIME-Version: 1.0 References: <202512151349.vlq3mpfniyk3@alvherre.pgsql> <11247.1767609087@localhost> <11558.1767609632@localhost> <141054.1767891540@localhost> <137668.1768235610@localhost> <74802.1769071060@localhost> <3901.1769412880@localhost> <88003.1769511456@localhost> <5367.1770017148@localhost> In-Reply-To: <5367.1770017148@localhost> From: Mihail Nikalayeu Date: Mon, 2 Feb 2026 10:18:01 +0100 X-Gm-Features: AZwV_Qg5mrdC2lyiXyNxNSBRghzT4hpNUCZSwFFEa-HgE6gmTMzvwjb0zXFAamc Message-ID: Subject: Re: Adding REPACK [concurrently] To: Antonin Houska Cc: Alvaro Herrera , Pg Hackers , Robert Treat Content-Type: multipart/alternative; boundary="000000000000ebba260649d3cee0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ebba260649d3cee0 Content-Type: text/plain; charset="UTF-8" Helllo! > I don't really pay attention to pg_repack, but I do pay quite some attention > to the pg_squeeze extension (which I wrote and maintain). I recall that some > users were surprised by the amount of disk space consumed (as the earlier > versions of pg_squeeze were "too lazy" about WAL decoding), but I do not > recall a single complaint about pg_squeeze causing the XID wraparound > situation. For "finish" I mean get out of space (in other write-heavy tables) or high CPU usage (due to slow index scan checking the same rows again and again). Also, you REPACK one table - and add a lot of bloat in others, in some cases with negative impact in total. But yes, agree about pg_squeeze here - if it is usable with such a long transaction - REPACK CONCURRENTLY will be too. Mikhail. --000000000000ebba260649d3cee0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Helllo!

>= ; I don't really pay attention to pg_repack, but I do pay quite some at= tention
>=C2=A0to the pg_squeeze extension (which I wrote and maintai= n). I recall that some
>=C2=A0users were surprised by the amount of d= isk space consumed (as the earlier
>=C2=A0versions of pg_squeeze were= "too lazy" about WAL decoding), but I do not
>=C2=A0recall= a single complaint about pg_squeeze causing the XID wraparound
>=C2= =A0situation.

For "finish" I mean ge= t out of space (in other write-heavy tables) or high CPU usage (due to slow= index scan checking the same rows again and again).
Also, you RE= PACK one table - and add a lot of bloat in others, in some cases with negat= ive=C2=A0impact in total.

But yes, agree about pg_= squeeze here - if it is usable with such a long transaction - REPACK CONCUR= RENTLY will be too.

Mikhail.
--000000000000ebba260649d3cee0--