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 1vmoJn-00GVPZ-1E for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 07:25:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vmoJl-00CFjd-1d for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 07:25:54 +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 1vmoJl-00CFjT-0Y for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 07:25:54 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vmoJj-000000009W5-42B8 for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 07:25:52 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-432d2c96215so3929476f8f.3 for ; Sun, 01 Feb 2026 23:25:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1770017149; x=1770621949; darn=lists.postgresql.org; h=message-id:date:content-transfer-encoding:content-id:mime-version :comments:references:in-reply-to:subject:cc:to:from:from:to:cc :subject:date:message-id:reply-to; bh=VR3ChPFaRKf01g9srmQpGwhyggufvDhchdIobQ4+wZU=; b=It+E42hII/9/PawcDWLK8ivw6Bwma/bPiVC6DSmaM+lsjyU28D9mGbHy0VoD4GTpr5 aHvNW4nkP/WLjaUH30OWajY4j3DGVmNYQLN22LEzVKKQYdfGIguKHDJgrjxvfKjSFTx5 aIBIezIEjirtnaFdHKwh2OXOegrGCo2sp747FkI7L74C/Hu/RDPnRA7JK7rSJJUggwz7 XSU2NEytD5x7bnTgAOACL5IHtfg7tdlYX4ZpJqVMYgdqjObtUphwuGVjIV0XrCE7n1r6 yRt5jzB+el2ukA8FoAiUsgz7wi92eE+y0wzNW4TqlurCSPF1ts6YwOUTf3n3NZK84IO+ 8WXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770017149; x=1770621949; h=message-id:date:content-transfer-encoding:content-id:mime-version :comments:references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VR3ChPFaRKf01g9srmQpGwhyggufvDhchdIobQ4+wZU=; b=uyB9R0zDCQHaYJGTQZ42tMh9kcaEfhYyNTpuZsRWDHR2jkr2K1rSSgfH8b9ezkJjNP EUfO0X5mPqz9KiO8PrvSjh2DciSHAl+vpPRv0LufWhyzNM3+63LfeJ1hNevmLFd5Cy9o mkpLvwh0fnbUZ2Yh7P5LdX9vzzSRScWdrBFCzQt7/4bNWl+BMMQYKeK+MAfhy+KskcnU roMJWjL1vyIgIukx1Z9uwFRQ6JtGhm4vubvA/3j4GKPzdu+6swauLUYS8g6ivQOKpZ3K VNhBADZrC1LZ8sA2Kb1vzn/mWBa6CgZgiJ/7IN/eaUIkf84zitmh/oM9bB/muOCd/5p9 AiDA== X-Forwarded-Encrypted: i=1; AJvYcCVbJo94Nywx7721E8aOAwB45f2oyniRBu178Vhy7jsa87Qsf7XgRzeF/1vB7L8O1z7MPSNrXobtS78WKGYv@lists.postgresql.org X-Gm-Message-State: AOJu0YwKAWA1YUUPoqM5HGHTN4LNrCsPcN/f+F97suIeRT9jV35jwLDV 0zJXCFRMS8iMIl4DYS0biwK9G2ftLu1ic5d6ron948dmPQxQH4RjuTLBQWyM4tTUMhQ= X-Gm-Gg: AZuq6aJTi6+qj5t5eQ8fjsLe4U/j6spxKpm7Y8v+fV1XFKMGSrC50rewo3/T83XcXsp XAfnASS2BauMf18+tYUdtlAVfxNaRVeKdFi+ZtgEMhPzjMppYk+oO+azu6cfHwHzxEh+HXJDq0L 9pV/ZNd40nvUZhQpassyvuemOxaaJIlD/I0uQi9/qfbMxcMo7K0hOyyKLH9tlPl19NbOKxdd3yv xoFg+tCATjNf8zBJKwhPesFVAAHPX8g8pLi4QD5rZacp0Ttlwr3wRcLdWZemIVXR2UY7yOq1m7B Yh21GBAuDfr/nw6hzqkhwx6+wH1gAsKKpwtU6qwjWcC7++z5B8Wpu/kx/wYM3J/I6Km6o+8PGIW KKge5AqlfDlFpKiMFSRlYQlWiBZbnLQOzsDfDAAy2Uh3RLMChzdNlbhVasNtdCXmnvsYeLn54XJ arMvlWr9Mu8M4lEIWNjzgAcGLF6qoiwYtd7jU= X-Received: by 2002:a05:6000:2004:b0:42f:b690:6788 with SMTP id ffacd0b85a97d-435f3a6baa6mr13506671f8f.10.1770017149274; Sun, 01 Feb 2026 23:25:49 -0800 (PST) Received: from localhost (109-81-168-246.rct.o2.cz. [109.81.168.246]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e1322f40sm40724231f8f.34.2026.02.01.23.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 23:25:48 -0800 (PST) From: Antonin Houska To: Mihail Nikalayeu cc: Alvaro Herrera , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] In-reply-to: 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> Comments: In-reply-to Mihail Nikalayeu message dated "Wed, 28 Jan 2026 03:06:00 +0100." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5366.1770017148.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Mon, 02 Feb 2026 08:25:48 +0100 Message-ID: <5367.1770017148@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Mihail Nikalayeu wrote: > > The 0006 part needs more work (definitely beyond PG 19). > = > This is sad, because if you are in a situation then you need REPACK - pi= nning the horizon for too long may just finish your DB.... > And also, even with 0006 we still need to build indexes, which might pin= it for long (even duration caused by a single index). I suppose "to finish database" refers to XID wraparound - a problem that y= ou keep mentioning again and again. (Yes, the wraparound is a problem, but no= t exactly a "final" state of the database.) As far as I know, it's not uncommon for DBAs to use the pg_repack extensio= n, and this extension also restricts the progress of the VACUUM xmin horizon.= Are you sure that users do complain about having ended up in the XID wraparoun= d situation? I don't really pay attention to pg_repack, but I do pay quite some attenti= on to the pg_squeeze extension (which I wrote and maintain). I recall that so= me 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. -- = Antonin Houska Web: https://www.cybertec-postgresql.com