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 1iiLTF-0008NX-UG for pgsql-general@arkaria.postgresql.org; Fri, 20 Dec 2019 16:49:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iiLTE-0004Ps-OO for pgsql-general@arkaria.postgresql.org; Fri, 20 Dec 2019 16:49:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iiLTE-0004L5-34 for pgsql-general@lists.postgresql.org; Fri, 20 Dec 2019 16:49:44 +0000 Received: from bay.acenet.us ([173.230.252.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iiLTB-0002KE-7m for pgsql-general@lists.postgresql.org; Fri, 20 Dec 2019 16:49:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=exquisiteimages.com; s=default; h=Message-ID:References:In-Reply-To:Subject :Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HUkm4UOmWIEv5o2zjHzA7GizZvgmaYMyvDtZUtkVIwA=; b=ng9p6ip/5OMGR7kIhBxAThx9+k hOSwk6pY74/fD+SPhKz/6L2MkHPeSrkmDRqz2ooeNE4XI2Ds19PzPv5WjkQaatimFQmRmw1zMjPoG uU/ClY6SeecHjdFGeX4ao1Tz+9HaAjAXdgdmpViPvqlsTUs7TlqcioOLr3eOdBJRV8R4xS/R/Lpi4 og1AdXjlIUBRtHWcCs88i4CzBPNP7GgjrHfsLR2e1QLH9m0k424NO3bTJCfFsj9znyRH+dlun12Hw eVayK6R2gCwzAShtBXEsHoLSMt/jNeKIkjFmglzR8xn1f6ICbXZBsdbAS7t8AVRgBbqf/xnkkCbcK yF5Lb3yA==; Received: from [::1] (port=50166 helo=bay.acenet.us) by bay.acenet.us with esmtpa (Exim 4.92) (envelope-from ) id 1iiLT9-00EVOB-0X; Fri, 20 Dec 2019 11:49:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 20 Dec 2019 11:49:38 -0500 From: tony@exquisiteimages.com To: Justin Cc: pgsql-general@lists.postgresql.org Subject: Re: Upgrading from PostgreSQL 9.3 to 11.6 In-Reply-To: References: <26671fc46aec0cf809d9ea7665f7f6b8@exquisiteimages.com> Message-ID: X-Sender: tony@exquisiteimages.com User-Agent: Roundcube Webmail/1.3.8 X-OutGoing-Spam-Status: No, score=5.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - exquisiteimages.com X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: tony@exquisiteimages.com X-Authenticated-Sender: bay.acenet.us: tony@exquisiteimages.com X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-12-20 09:02, Justin wrote: > Hi Tony > > Can you describe the database in greater detail? how many tables, > type of data, how big is the down time window? > > So this will be on new server hardware, and new DB install, what OS? > and extensions being used, has there been any testing > > with apps on latter versions of PostgreSQL??? > > On Fri, Dec 20, 2019 at 8:58 AM wrote: > >> I have a PostgreSQL 9.3 installation that I finally have time to >> migrate >> to a currently supported version. The server that the installation >> is >> installed on is also at its end of service. >> >> Can anyone help me with completing this conversion as securely and >> efficiently as possible with the least amount of down time? Also, >> once >> it has been converted over, is there any best practice for ensuring >> that >> there has been no corruption? >> >> The database is 600GB in size. We do not have any custom types being >> >> used. >> >> Thanks for any direction. Thanks for the reply! New Server OS: Ubuntu Server 18.04.3 LTS Schemas: 9,000 Total Tables: 900,000 Data is mostly transactional detail (90%), some summary tables (8%), and basic client demographic data (2%) Everyone wants the down time to be zero, but I don't think that is really possible. I am thinking about 4 hours on a weekend night is going to be what I can get approved. My plan was to go through the conversion process once to see if everything goes well. I would then use the new server as a test server and run our full battery of applications against it to make sure that we obtain the same results as from a back copy of the live database.