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 1h39Bt-0002CR-Vt for pgsql-general@arkaria.postgresql.org; Mon, 11 Mar 2019 00:53:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h39Br-0000oV-NW for pgsql-general@arkaria.postgresql.org; Mon, 11 Mar 2019 00:53:15 +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 1h39Br-0000oB-6B for pgsql-general@lists.postgresql.org; Mon, 11 Mar 2019 00:53:15 +0000 Received: from mail-oln040092012025.outbound.protection.outlook.com ([40.92.12.25] helo=NAM05-BY2-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h39Bo-0004EK-F7 for pgsql-general@lists.postgresql.org; Mon, 11 Mar 2019 00:53:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=upsfPqwc3VUFYd/Xg4ODKJkoysCLnHPXpJZ6Jrtn4kQ=; b=P26YrW5u3FNGLsJr8adut22qtvLQtW/eb0YNZH9imUbZP5xrf1qcGlyntRwgke+quYqOj2+I+Ml/tw86xaWHQXz5rmjFfdcxQMPPUbNkbFho8/5aqzJQa4Eh3QzEUv3uQotIWwCWafiSYf/X6g97M1drGD/Kc0AvLdHbO1wC3Uualmx8KD5DgA5fye06vVRpMv9t4jbWJIFjo15xLURYc0GtYWykjARl2ybS4On5cPIVd+8XMYc7EjJoma7E1LsF9/p9lge/eeafpUPPN9yw3To0bzOQUJ89UWRPrh8aBl2mPlKUi0HcwVgEQkFc5cwkOZniyYY6JGkV01nMSp+dOw== Received: from CO1NAM05FT039.eop-nam05.prod.protection.outlook.com (10.152.96.57) by CO1NAM05HT069.eop-nam05.prod.protection.outlook.com (10.152.97.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1709.11; Mon, 11 Mar 2019 00:53:09 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com (10.152.96.60) by CO1NAM05FT039.mail.protection.outlook.com (10.152.96.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1709.11 via Frontend Transport; Mon, 11 Mar 2019 00:53:09 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::e141:e5bc:51c5:5bdb]) by BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::e141:e5bc:51c5:5bdb%2]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 00:53:08 +0000 From: Julie Nishimura To: "pgsql-general@lists.postgresql.org" Subject: migration of 100+ tables Thread-Topic: migration of 100+ tables Thread-Index: AQHU16NGnDTJd5fmoECSFYOvvpTYGw== Date: Mon, 11 Mar 2019 00:53:08 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:F8D36AA6C0C5A680ABC027771D8891A17327FC379DAE9985189064BF05B5C982;UpperCasedChecksum:B3F0FF809D24ED509AFA27008758990D0E4CCD09A6B4331F48252E4F852D58C3;SizeAsReceived:6585;Count:41 x-tmn: [jTEk5/husRVkv6Tg4fdKeeyOGMp+8Rqj] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031324274)(2017031323274)(1601125500)(1603101475)(1701031045);SRVR:CO1NAM05HT069; x-ms-traffictypediagnostic: CO1NAM05HT069: x-microsoft-antispam-message-info: uLJ6SB9ZwZF5M0EnITqhT6S3xImM94pMmsWYHWW5ymaRuBXo3X1PkhZsVDE0Hqy3 Content-Type: multipart/alternative; boundary="_000_BYAPR08MB5014A2D756B8FF781FCB6232AC480BYAPR08MB5014namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 4f07270e-bb69-4c1c-deee-08d6a5bbedeb X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 00:53:08.8289 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM05HT069 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_BYAPR08MB5014A2D756B8FF781FCB6232AC480BYAPR08MB5014namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 l= imitations (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 restor= e. The table names will be in the list, or I could dump their names in a ta= ble. 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! --_000_BYAPR08MB5014A2D756B8FF781FCB6232AC480BYAPR08MB5014namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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 ab= out 1.5 TB).

I was thinking about using pg_dump with customized -t flag, then use restor= e. The table names will be in the list, or I could dump their names in a ta= ble.  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!


--_000_BYAPR08MB5014A2D756B8FF781FCB6232AC480BYAPR08MB5014namp_--