Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9DPS-0002zu-06 for pgsql-admin@arkaria.postgresql.org; Thu, 08 Jan 2015 13:45:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9DPR-0001fu-Fy for pgsql-admin@arkaria.postgresql.org; Thu, 08 Jan 2015 13:45:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y9DPP-0001dh-PA for pgsql-admin@postgresql.org; Thu, 08 Jan 2015 13:45:55 +0000 Received: from mailout.easymail.ca ([64.68.201.169]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y9DPK-00053B-Ai for pgsql-admin@postgresql.org; Thu, 08 Jan 2015 13:45:54 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 0895AE257 for ; Thu, 8 Jan 2015 08:45:47 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Flag: NO X-Spam-Score: -4.018 X-Spam-Level: X-Spam-Status: No, score=-4.018 required=5 tests=[ALL_TRUSTED=-1.8, AWL=-0.311, BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.692] Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KGNptimTpCbl for ; Thu, 8 Jan 2015 08:45:46 -0500 (EST) Received: from [192.168.0.15] (c-76-120-51-139.hsd1.co.comcast.net [76.120.51.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 98555E255 for ; Thu, 8 Jan 2015 08:45:46 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: PostgreSQL Dump rate is too slow From: Scott Ribe In-Reply-To: Date: Thu, 8 Jan 2015 06:45:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7CBD22D9-B95C-42A2-88DE-ADF34AD57A14@elevated-dev.com> References: To: pgsql-admin X-Mailer: Apple Mail (2.1990.1) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Jan 8, 2015, at 4:14 AM, Robert Burgholzer wrote: >=20 > To elaborate, I have found the rsync used in my (most?) streaming replica= tion setups is 10x or more faster than pg_dump. If your job specs required= a pg_dump output file it would be fairly simple to do the following (moree= or less): > 1. setup a replicant (even on the same machine but different drive if you= wanted) > 2. make sure the replicant is off > 3. rsync the data dir to the replicant > 4. turn on the replicant > 5. execute pg_dump on the replicant >=20 > regards, > /r/b Don't forget to rsync between pg_start_backup & pg_stop_backup. --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin