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 1fhbkA-000535-Fe for pgsql-general@arkaria.postgresql.org; Mon, 23 Jul 2018 14:23:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhbcK-0002Ix-VP for pgsql-general@arkaria.postgresql.org; Mon, 23 Jul 2018 14:15:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhbbz-0000px-O3 for pgsql-general@lists.postgresql.org; Mon, 23 Jul 2018 14:14:55 +0000 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fhbbv-0005C0-8M for pgsql-general@lists.postgresql.org; Mon, 23 Jul 2018 14:14:53 +0000 Received: by mail-oi0-x244.google.com with SMTP id y207-v6so1336192oie.13 for ; Mon, 23 Jul 2018 07:14:51 -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=cMenXWa3uCZ0OPjgI4rQZXB/LAJoupWqoeHJulkcEaY=; b=U9u1P5NkFVT2WVo+Uf6HsapNilYAqszRKIbOkP9NTOeAx0EG/nbhlLHwtIDp4tl6RX FRX+bOYOA7QPwi3R9y1+bGhgG6cprwSY/p6lk/8ZWX1JSoispB0pRo04SC90WNAdJ7pf E2OfsnZtnjY7s2L7gtxoFNvwFco4mtbvqlL6I79STkf7fkgdQRLJUM8m4yzG5j3P189K XUy2KP/D3Q1tAkEbyOAc3F65o8miSatLHohNi3I5oQfUnp8ELrgKh1MbpPIdb4HTMU82 iyif/0xordD+o5nJFT7Mos8vv84NZvJBb5ZQh5Zq5Xy3ZVgUENBvgbo2MbPPzytUOaku AAlQ== 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=cMenXWa3uCZ0OPjgI4rQZXB/LAJoupWqoeHJulkcEaY=; b=cfG/cDT5shhOGPHityPwNwDNvObdezbDnbiFizL0FUhcnbkCoS7VKSsL0dpwL5gvsx MHIwyutcLRqGTwkfiH3LK7kmBppDNZlKdM8h6w94e+mpG8DJRimT6t8IZ/pp9ZrCcPS3 kBafrlHfXlffFptpBPf+FPi8cBW26elAiEcxHK7PG8MRJkOAx0lr7BT9d3jLaUlNQUg1 vtNnqr+9aO9nmEfU3hXuf3GyibISWOPe7cQ+QtAM+6kO00UuEDM8C0E7i7zlrmDb1dlZ 6NgvKuES4hZ9kl4RrgcdwdxTQQTOCIp/q63AcuapttEa/dBtrXv5iGMUefCyv+v3xALC PXcQ== X-Gm-Message-State: AOUpUlFmjJIthCBV+N/tiyqzG+QsDcClsbrBJS7T4eJpI2TWvSuSaa3h gBKX4FNkld/u7h7dYgrwMlz+Qh/n X-Google-Smtp-Source: AAOMgpcJ9P7U086vQWZuobVGuLMFIMDWwJn0AyqgglSVgZzxcP0wT70LfrQB6ZKlPkRFgjMOfc/aqw== X-Received: by 2002:aca:c351:: with SMTP id t78-v6mr8086195oif.338.1532355290299; Mon, 23 Jul 2018 07:14:50 -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 r81-v6sm13268152oih.28.2018.07.23.07.14.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 07:14:49 -0700 (PDT) Subject: Re: Improving pg_dump performance To: pgsql-general@lists.postgresql.org References: <392cac51-dcde-e47c-6f54-18885138af60@gmail.com> <0d0f7d59-19c5-e246-3c5b-0cad8c73cc9d@gmail.com> <20180723134600.GH27724@tamriel.snowman.net> <2d90d69e-211e-32ae-8a1e-047bd55dc122@gmail.com> <236f019e-1d6c-c7da-8efc-8b4635c0c58d@aklaver.com> From: Ron Message-ID: <9cca9bca-fdec-522d-693f-462fdcd8c7c8@gmail.com> Date: Mon, 23 Jul 2018 09:14:48 -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: <236f019e-1d6c-c7da-8efc-8b4635c0c58d@aklaver.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/23/2018 08:56 AM, Adrian Klaver wrote: > On 07/23/2018 06:47 AM, Ron wrote: >> On 07/23/2018 08:46 AM, Stephen Frost wrote: >>> Greetings, >>> >>> * Ron (ronljohnsonjr@gmail.com) wrote: >>>> An interesting idea.  To clarify: it's possible to parallel backup a >>>> running >>>> 8.4 cluster remotely from a 9.6 system? >>> Yes, you can do a parallel backup, but you won't be able to get a >>> consistent snapshot.  You'll need to pause all changes to the database >>> while the pg_dump processes connect and start their transactions to >>> have the backup be consistent. >> >> I can do that!!! > > Assuming you can get this setup, have you tested some subset of your data > on 9.6.9?: > > 1) Going from 8.4 --> 9.6 is jumping 7 major versions of Postgres. Do you > know that the data/code will work in 9.6.9? > > 2) Does the transfer have time built in for fixing problems on the 9.6.9 end? > > 3) If the answer 2) is no, then is there a plan to deal with changes in > the 8.4 database while working on the 9.6.9 database? Yes, we've migrated CAT and Staging databases, and the application has been tested. And this is a test conversion of the prod databases... -- Angular momentum makes the world go 'round.