Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWggK-0002dH-Gl for pgsql-general@arkaria.postgresql.org; Mon, 27 Feb 2023 16:48:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pWggJ-0001hL-CY for pgsql-general@arkaria.postgresql.org; Mon, 27 Feb 2023 16:48:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWggJ-0001hC-1g for pgsql-general@lists.postgresql.org; Mon, 27 Feb 2023 16:48:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWggH-0002pM-0H for pgsql-general@lists.postgresql.org; Mon, 27 Feb 2023 16:48:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 31RGmnOt373112; Mon, 27 Feb 2023 11:48:49 -0500 From: Tom Lane To: Adrian Klaver cc: =?UTF-8?Q?D=c3=a1vid_Suchan?= , pgsql-general@lists.postgresql.org Subject: Re: pg_upgradecluster transfering only a portion of the data In-reply-to: <1488b8f2-fe98-3be2-0d27-4c52734f15af@aklaver.com> References: <372205.1677515818@sss.pgh.pa.us> <1488b8f2-fe98-3be2-0d27-4c52734f15af@aklaver.com> Comments: In-reply-to Adrian Klaver message dated "Mon, 27 Feb 2023 08:46:52 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <373110.1677516529.1@sss.pgh.pa.us> Date: Mon, 27 Feb 2023 11:48:49 -0500 Message-ID: <373111.1677516529@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Adrian Klaver writes: > On 2/27/23 08:36, Tom Lane wrote: >> If it was based on something like "du", perhaps the measurement >> was fooled by the fact that most of the data files will be hard-linked >> between the old and new clusters. > Does that happen without the --link option? No, but the OP didn't mention whether he used that, and even if he didn't say it explicitly the pg_upgradecluster wrapper might've supplied it. regards, tom lane