Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhasR-0002Ir-Nf for pgsql-general@arkaria.postgresql.org; Mon, 23 Jul 2018 13:27:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhasQ-00062q-7F for pgsql-general@arkaria.postgresql.org; Mon, 23 Jul 2018 13:27:50 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhasP-00062f-V3 for pgsql-general@lists.postgresql.org; Mon, 23 Jul 2018 13:27:49 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhasN-0001IG-BA for pgsql-general@lists.postgresql.org; Mon, 23 Jul 2018 13:27:49 +0000 Received: from [192.168.178.20] (unknown [185.38.49.16]) by mail.i-mark.de (Postfix) with ESMTPSA id EA87E158030D for ; Mon, 23 Jul 2018 15:27:41 +0200 (CEST) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.16) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: Improving pg_dump performance To: pgsql-general@lists.postgresql.org References: <392cac51-dcde-e47c-6f54-18885138af60@gmail.com> From: Andreas Kretschmer Message-ID: Date: Mon, 23 Jul 2018 15:27:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <392cac51-dcde-e47c-6f54-18885138af60@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 23.07.2018 um 15:06 schrieb Ron: > On 07/23/2018 02:32 AM, Andreas Kretschmer wrote: >> >> >> Am 23.07.2018 um 09:23 schrieb Ron: >>> Hi, >>> >>> We've got an old (v8.4.17, thus no parallel backups) 2.9TB database >>> that needs to be migrated to a new data center and then restored to >>> v9.6.9. >> >> you can use the pg_dump from the newer version (9.6) to dump the old >> database, over the net. In this way you can also use parallel backups >> (directory format) > > That DC circuit is too slow, and also used by lots of other production > data. > install the 9.6 also on the old server, or use an other server in the same DC. Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com