pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tony@exquisiteimages.com
To: Justin <zzzzz.graf@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Upgrading from PostgreSQL 9.3 to 11.6
Date: Fri, 20 Dec 2019 11:49:38 -0500
Message-ID: <cbacdd8571694f95ae96cbcada97a3e3@exquisiteimages.com> (raw)
In-Reply-To: <CALL-XeN8BhH2cVCvcyp0=CX9bwqUi9ucrck+bEN6BQQ2RX7CEw@mail.gmail.com>
References: <26671fc46aec0cf809d9ea7665f7f6b8@exquisiteimages.com>
	<CALL-XeN8BhH2cVCvcyp0=CX9bwqUi9ucrck+bEN6BQQ2RX7CEw@mail.gmail.com>

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 <tony@exquisiteimages.com> 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.






view thread (3+ messages)

Message-ID: <cbacdd8571694f95ae96cbcada97a3e3@exquisiteimages.com>
Permalink:  ../cbacdd8571694f95ae96cbcada97a3e3@exquisiteimages.com/
Also on:    postgresql.org/message-id/cbacdd8571694f95ae96cbcada97a3e3@exquisiteimages.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tony@exquisiteimages.com, zzzzz.graf@gmail.com
  Subject: Re: Upgrading from PostgreSQL 9.3 to 11.6
  In-Reply-To: <cbacdd8571694f95ae96cbcada97a3e3@exquisiteimages.com>
  References: <26671fc46aec0cf809d9ea7665f7f6b8@exquisiteimages.com> <CALL-XeN8BhH2cVCvcyp0=CX9bwqUi9ucrck+bEN6BQQ2RX7CEw@mail.gmail.com> <cbacdd8571694f95ae96cbcada97a3e3@exquisiteimages.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox