Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YBUQw-0004Lc-Fc for pgsql-admin@arkaria.postgresql.org; Wed, 14 Jan 2015 20:20:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YBUQw-0002rY-0f for pgsql-admin@arkaria.postgresql.org; Wed, 14 Jan 2015 20:20:54 +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 1YBUQv-0002rS-9b for pgsql-admin@postgresql.org; Wed, 14 Jan 2015 20:20:53 +0000 Received: from nm2-vm6.bullet.mail.ir2.yahoo.com ([212.82.96.86]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YBUQr-0008Rh-Rq for pgsql-admin@postgresql.org; Wed, 14 Jan 2015 20:20:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1421266847; bh=BvwsVVFg8Z6ORkFLHT58ntKgheL2s/BbzMR7pH4dz9k=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=ZlHT0jXr7Wd0pjISKsdw8Xg+fEqF2MRa/3kcwBm3lMVJEDU4fxYjdgZppaKDTm8A3EkGietyxWAEsk7TJKvMD26VQ/KcfH1Ak5LOAcnwTVFTkrH0K4Q+mBxh8CGDLwY6AhrwL1V0eKzF1ZlhWTvTQmRSq4d4YjXSw0VtrFQTuxwetn5lCMfKFfuuGxPqkY8JGHIIONiK2dSpert320Q1iYLD/0OAoMgT4DQVY6bEuFSwXB/4DJ1rYOPYo8BPyl6Neyj3iiQ2RAS7TJagnFMHcnLqA7BGTz9D9ccs80aU9SFNersBsm0aA+6CLn/E3FbxUi8mLoSgHz0Kw4dtXZZgTQ== Received: from [212.82.98.53] by nm2.bullet.mail.ir2.yahoo.com with NNFMP; 14 Jan 2015 20:20:47 -0000 Received: from [46.228.39.102] by tm6.bullet.mail.ir2.yahoo.com with NNFMP; 14 Jan 2015 20:20:47 -0000 Received: from [127.0.0.1] by smtp139.mail.ir2.yahoo.com with NNFMP; 14 Jan 2015 20:20:47 -0000 X-Yahoo-Newman-Id: 362170.53107.bm@smtp139.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: owcuzf0VM1mA0umhZPiQXggMYRVcHw4B_a1kpfPD5HaXXRM .DuG1EDTy5FUfw0gSIYyHwZTZLNIFqydi29JG1r18rhTS4FALblUBjAjePwD p.7JVIOJp0DT0I7WENNvhR4wUudEJyy0XYUhu8mQ4VJVOyAPYLzT6NG7MSpu V.uuGqqBLsY4sg9YBmPG0Y2._fmaAAT1dKJol3TjJ0Fyz_vofen.uG2PHwTY tbwYtlVtfOGP.D_PQpkRWkcfKXsEef_BElJx3li7KTH8o0y0cY7kEY2lscWp rlCcZ8_7byJOSWF0U4pnSJDSKcl._Uy_afNBnidqOpwpoSgwmnvQ9B0R7NKk 8gLYAImt04lrXHSsvZem1VgyMjJzrOtoYh0.SA.itANj1kDivMzCXwDcU5dW uIf1f6uv4XGl_bA.LWHGJ7t0oZN7o35hgkClfMa8L6qRYK9deHhlzDU51rho Yx6Nu3TESt0Vathh5JWon1FqAWm71A49EZI1yrcuvYCdj2vR7mlqadIXPQUP JSPW7EgMRSk_Li69w2KufU6CY19Gmow5A X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Wed, 14 Jan 2015 21:20:58 +0100 From: Eduardo Morras To: pgsql-admin@postgresql.org Subject: Re: PostgreSQL Dump rate is too slow Message-Id: <20150114212058.de1c87d91a851db0bce1f1fa@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) 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 Thu, 8 Jan 2015 11:05:54 +0530 girish R G peetle wrote: > Hi all, > We have a customer who has 1TB database on a production server. They > are trying dump based backup of this large database. Following dump > command is being used. > Dump rate is around 12 GB/hr, which will take lot of time for the > backup to complete. This is affecting their production server. > Is there is a way to increase dump data rate ? > > pg_dump -U -Fc -b --port= '' > Do not use pg_dump compression, pipe output to xz % pg_dump -U -Fc -b --port= '' | xz -3 dump.xz or pipe xz output to other program. When I looked for the same problem in 8.3-8.4 versions, the bottleneck was in accessing TOAST tables, it's content was decompressed, dumped and recompressed again, don't know if it has changed in current versions. > > PostgreSQL version : 9.2.4 > Platform : Linux > > Thanks > Girish --- --- Eduardo Morras -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin