Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icPEi-0000uI-Iq for pgsql-general@arkaria.postgresql.org; Wed, 04 Dec 2019 07:38:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icPEg-0008Cr-Uw for pgsql-general@arkaria.postgresql.org; Wed, 04 Dec 2019 07:38:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icPEg-0008Ck-Hx for pgsql-general@lists.postgresql.org; Wed, 04 Dec 2019 07:38:10 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1icPEd-0005nw-Mh for pgsql-general@lists.postgresql.org; Wed, 04 Dec 2019 07:38:09 +0000 Received: from [10.8.0.75] ([185.40.248.10]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPSA (Nemesis) id 1N3K9E-1hcICk3U6E-010ItQ for ; Wed, 04 Dec 2019 08:38:04 +0100 Subject: Re: upgrade and migrate To: pgsql-general@lists.postgresql.org References: <20191204044843.GD2381@paquier.xyz> From: Thomas Kellerer Message-ID: Date: Wed, 4 Dec 2019 08:38:01 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 In-Reply-To: <20191204044843.GD2381@paquier.xyz> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:eY5KdpF3lJ6asPB+mPlsqE7jqKVlMNev5w9N4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/Czb3lkRyZAu8V6SVlj6JdR5eFNrE4dOyCZ1oX5YzzrtcFAwfzRLunIa1at2dYvH NntKEwOMtl00n31Cjl3v+yWcVKkGbNl45jxcUmT3c= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier schrieb am 04.12.2019 um 05:48: > On Tue, Dec 03, 2019 at 10:32:22PM +0000, Julie Nishimura wrote: >> Hello, what is the best way to migrate from PostgreSQL 8.3.11 on >> x86_64-redhat-linux-gnu to PostgreSQL 9.6.16 on x86_64-pc-linux-gnu >> server, with minimal downtime? >> The caveat is the source has about 80 databases overall almost 30 >> TB. I could migrate the smallest ones (up to 1 tb) using pg_dump and >> pg_restore, but the largest hot database is almost 17 tb, and I am >> not sure how to approach this effort in a better and efficient way? > > pg_upgrade could be one way to go here. That's not the scale pg_dump > would be very good at. But pg_upgrade only supports 8.4+ At least according to the manual.