X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DE1483AAABA for ; Tue, 14 Dec 2004 23:15:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05735-04 for ; Tue, 14 Dec 2004 23:15:20 +0000 (GMT) Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by svr1.postgresql.org (Postfix) with ESMTP id CBD3D3AAADE for ; Tue, 14 Dec 2004 23:15:21 +0000 (GMT) Received: from modem-3156.lynx.dialup.pol.co.uk ([217.135.204.84] helo=[192.168.0.102]) by cmailm2.svr.pol.co.uk with esmtp (Exim 4.41) id 1CeLt0-0005NA-JZ; Tue, 14 Dec 2004 23:15:18 +0000 Subject: Re: Speeding up pg_dump From: Simon Riggs To: Rod Taylor Cc: Postgresql Performance In-Reply-To: <1103045806.25186.153.camel@home> References: <1103045806.25186.153.camel@home> Content-Type: text/plain Organization: 2nd Quadrant Message-Id: <1103065887.4037.3762.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 14 Dec 2004 23:11:27 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/185 X-Sequence-Number: 9560 On Tue, 2004-12-14 at 17:36, Rod Taylor wrote: > Are there any tricks to speeding up pg_dump aside from doing them from a > replicated machine? > > I'm using -Fc with no compression. Run a separate pg_dump for larger tables and run them concurrently so you use more cpu and disk resources. The lower compression levels are fast and nearly as good (in my testing) as full compression. Using compression tends to use up the CPU that would otherwise be wasted since the pg_dump is disk intensive, and then saves further I/O by reducing the output file size. -- Best Regards, Simon Riggs