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 1q5Fm0-0006s0-3O for pgsql-general@arkaria.postgresql.org; Sat, 03 Jun 2023 01:09:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q5Fly-0001SL-0M for pgsql-general@arkaria.postgresql.org; Sat, 03 Jun 2023 01:09:38 +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 1q5Flx-0001Ro-MT for pgsql-general@lists.postgresql.org; Sat, 03 Jun 2023 01:09:37 +0000 Received: from smtp89.iad3b.emailsrvr.com ([146.20.161.89]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q5Flu-003LCB-St for pgsql-general@postgresql.org; Sat, 03 Jun 2023 01:09:36 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp12.relay.iad3b.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 44CC3C0094; Fri, 2 Jun 2023 21:09:33 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: pg_upgrade and schema complexity... From: Christophe Pettus In-Reply-To: <6185dd27-b3d3-b594-33fc-58345df79a13@gmail.com> Date: Fri, 2 Jun 2023 18:08:31 -0700 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: References: <6185dd27-b3d3-b594-33fc-58345df79a13@gmail.com> To: Ron X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Classification-ID: 89cfe12e-7177-42a8-844e-68a8c55a7b53-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jun 2, 2023, at 17:44, Ron wrote: > Is this to be expected of such a huge schema? pg_upgrade time is pretty much proportional to the number of database = objects in the schema, so a much larger schema taking much longer is to = be expected.=