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 1pWhYC-0005il-AQ for pgsql-general@arkaria.postgresql.org; Mon, 27 Feb 2023 17:44:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pWhYB-0007ZA-8F for pgsql-general@arkaria.postgresql.org; Mon, 27 Feb 2023 17:44:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWhY9-0007Z0-CA for pgsql-general@lists.postgresql.org; Mon, 27 Feb 2023 17:44:34 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWhY6-0007BK-T0 for pgsql-general@postgresql.org; Mon, 27 Feb 2023 17:44:32 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CFCCD5C0138; Mon, 27 Feb 2023 12:44:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 27 Feb 2023 12:44:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1677519869; x= 1677606269; bh=Q+6uSoF9vSkFTRHCXhGB6FJA542WJDI5ZAKN86EStoE=; b=A tA/NLCIT13SPI3d6OitK9nj2ihLd5uY2HkJttV+CnJHDtWbc3lu1X49qgvHaecTv gJwnq+flPFFGKlxaN5VRKSr+UJVsu0vHAZ3WLqxh+itxVfx6RLDykADTaqhqueLe NtXkmanTKug9yqeUD/CvtBBoltBeRSXvA9m/XZeGHmlDaRQFbEhmG/XxJyQwC6oj DW0vCwQKqq0R+HXmZcBKUDLGjuGoR76NBvBItiWtXoko6XKObr2CjL2ugm7/AUpk i3pUA0pG1Mrqe5a5H/2Bd2nJGidGUvUePgNElAth5MrBkHVLw7jCHkjRUKTiL9ti L3Ni42xlB7FMkPp3dSvnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1677519869; x= 1677606269; bh=Q+6uSoF9vSkFTRHCXhGB6FJA542WJDI5ZAKN86EStoE=; b=f bXSKJU0yeLJle3IzWDSb8koCQqOpAwQOqOFIZK0o0IrLlSgoaI1mUbs2XhwAzGwo 09s2yAnSEEzx1NKdpBjTwFdJDjr2bE9MqjvCKmmgtEl2yq3qgs0eFNEr/JwCmJoK oxAqLFUXo1combXs7B4TjW47P2zB+n80wibiPcTIWjMKm1IyxrnozQTxNVwRe3a3 saJgbHl9cTNktRMum7DzhIgEQaAM+sA4T7VI3lMC+6EU5CeI4NHry8YlTFDYsoGF bZsTpp56+BKtixoYNaHSEdymM2lnCQSlyl1dewmxBYJ1z33oqiG7nb9/xGlS0yYA 501JyNjda7edSLqXwqO9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeltddguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffhvfevfhgjtgfgse htkeertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepgfeige ethfejtefhgfeiueeuhfejteetleeggfejueevtefgueekveelhfettdeunecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Feb 2023 12:44:28 -0500 (EST) Message-ID: Date: Mon, 27 Feb 2023 09:44:28 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: pg_upgradecluster transfering only a portion of the data Content-Language: en-US From: Adrian Klaver To: =?UTF-8?Q?D=c3=a1vid_Suchan?= Cc: pgsql-general References: <88bcf9f7-3483-9d26-4a5c-984b79850833@aklaver.com> <2cc57fe7-daa8-5312-078f-3e7c0adb7606@aklaver.com> In-Reply-To: <2cc57fe7-daa8-5312-078f-3e7c0adb7606@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/27/23 09:10, Adrian Klaver wrote: > On 2/27/23 09:05, Dávid Suchan wrote: > > Please use Reply All > Ccing list > >> My bad, >> \l+ lists databases and their respective sizes- I used that and also >> pg_size_pretty(), the result size was the same - before it was 20gb >> for the biggest db, after it was 700mb. >> I counted rows before the upgrade in one of the biggest and most >> important table that I was watching and comparing - before there were >> hundreds of thousands or millions of rows(not sure about the exact >> number, just a lot), after the upgrade only like 15, but the first 15 >> rows matched after the upgrade when I checked with select of that table. Hmm, I can't see how you got that state without there being some sort of error messages. Just to be clear: 1) The 9.6 and 14 instances where installed from the same source? 2) Are you using tablespaces other then the default? Scan the Postgres log for the 14 instance at /var/log/postgresql for error messages. -- Adrian Klaver adrian.klaver@aklaver.com