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 1fhbeo-0004kd-Dm for pgsql-general@arkaria.postgresql.org; Mon, 23 Jul 2018 14:17:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhbel-0003FU-Oq for pgsql-general@arkaria.postgresql.org; Mon, 23 Jul 2018 14:17:47 +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 1fhbel-0003FJ-G6 for pgsql-general@lists.postgresql.org; Mon, 23 Jul 2018 14:17:47 +0000 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fhbej-0002Ys-1E for pgsql-general@lists.postgresql.org; Mon, 23 Jul 2018 14:17:47 +0000 Received: by mail-oi0-x241.google.com with SMTP id q11-v6so1351519oic.12 for ; Mon, 23 Jul 2018 07:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=1Dm2itt2w1cs2E5x8arEDJqhb+S83EpuwfZo2T6EENk=; b=L7WZCQ/8ihEeEB+ewpQ1qr9EoGvcXTYR1fm4XC7WtHgdu+HtbI6cat/kG6trWO+8C6 j2nucRZHRB6qldBbKypuN0Qr7tz0odJuUuedyJ4fTRedLJ6R6LAqawcCajXjulTqoRbb NSNXDvKLR5ijWoD+pQW5TjMSNiFleXuFVdsKykcIMzR+QGGHPcsDwcH6SApJSZLUp+q7 VhhmX7ofwARiUHMohDgJhpUXcZfNKEUAXLeVJct6Pp5j5fQ0Bp0VVfHtVKguARpRq9XE O/25r1p6yTO2nH6v5Xbqe1WvRtM4PqPBHZpMWINg9SgLu//bapN9+dS9zNknCo3gs96+ 5yOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=1Dm2itt2w1cs2E5x8arEDJqhb+S83EpuwfZo2T6EENk=; b=ePQSkuU3AfNM4GlSxR9yR7MIXQ2u/wtWiqd/z0O5VvbXkyUJUHYirIwyM1PHOQCYsw zrejqkdLjslzEcwl9kbLNOkCqRJwWV4IQqZiEsDJrO+M7iLrnR+8Vm/1AyjVtrmg/loZ nQagyMnLTkEi1xd7lGI9TzPTEdn8tqCVyx3IllKjUGpDL7y4CzGr9NSs/pCPcMlzpGYI I57lIrRNGHaQ1x3rfnyAKbPTSGEbLV2ulaGw+8ARoEktx6uKBXMA35zpnXCmX/pj9F3G 33dbiqizNGnphIXkQRauEFSRb+UlJgnmyxTofCHCQxaeWY8ByXNLZxEhd2+MoxEi/3lM b6Ug== X-Gm-Message-State: AOUpUlEOkVxBQL9sEzUKh22FgDMtVBXMTPabu6zMe2Et4J59fw6jJZFD nWyEcR+/xVeRt8sCeE+AgGbeBNXE X-Google-Smtp-Source: AAOMgpf+NaVlwJ9aQVOLvEoV7vB+XE3gexhbI729J7gLcRmwqziNjzX+9q9aXj/xb5l6AqylqPi/hQ== X-Received: by 2002:aca:6cc6:: with SMTP id h189-v6mr9264728oic.140.1532355462782; Mon, 23 Jul 2018 07:17:42 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id y85-v6sm9509822oie.25.2018.07.23.07.17.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 07:17:41 -0700 (PDT) Subject: Re: Improving pg_dump performance To: pgsql-general@lists.postgresql.org References: <20180723141140.wr552tyoxidb6stl@alap3.anarazel.de> From: Ron Message-ID: <173ce3e6-2b4f-75fe-25fb-dfafe49d4c6f@gmail.com> Date: Mon, 23 Jul 2018 09:17:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180723141140.wr552tyoxidb6stl@alap3.anarazel.de> 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 On 07/23/2018 09:11 AM, Andres Freund wrote: > Hi, > > On 2018-07-23 02:23:45 -0500, Ron wrote: >> 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. > Have you considered using pg_upgrade instead? Yes, but: 1. can't find 9.6 packages on the RHEL 5.10 server. 2. The window is only 8 hours, and the data also has to be moved to a new DC in that window. -- Angular momentum makes the world go 'round.