pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julie Nishimura <juliezain@hotmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: migration of 100+ tables
Date: Mon, 11 Mar 2019 00:53:08 +0000
Message-ID: <BYAPR08MB5014A2D756B8FF781FCB6232AC480@BYAPR08MB5014.namprd08.prod.outlook.com> (raw)

Hello friends, I will need to migrate 500+ tables  from one server (8.3) to another (9.3). I cannot dump and load the entire database due to storage limitations (because the source is > 20 TB, and the target is about 1.5 TB).

I was thinking about using pg_dump with customized -t flag, then use restore. The table names will be in the list, or I could dump their names in a table.  What would be your suggestions on how to do it more efficiently?

Thank you for your ideas, this is great to have you around, guys!

view thread (4+ messages)  latest in thread

Message-ID: <BYAPR08MB5014A2D756B8FF781FCB6232AC480@BYAPR08MB5014.namprd08.prod.outlook.com>
Permalink:  ../BYAPR08MB5014A2D756B8FF781FCB6232AC480@BYAPR08MB5014.namprd08.prod.outlook.com/
Also on:    postgresql.org/message-id/BYAPR08MB5014A2D756B8FF781FCB6232AC480@BYAPR08MB5014.namprd08.prod.outlook.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: juliezain@hotmail.com
  Subject: Re: migration of 100+ tables
  In-Reply-To: <BYAPR08MB5014A2D756B8FF781FCB6232AC480@BYAPR08MB5014.namprd08.prod.outlook.com>
  References: <BYAPR08MB5014A2D756B8FF781FCB6232AC480@BYAPR08MB5014.namprd08.prod.outlook.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