Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSLxG-00033S-Ai for pgsql-performance@arkaria.postgresql.org; Tue, 25 Mar 2014 07:39:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSLxF-0002MN-QQ for pgsql-performance@arkaria.postgresql.org; Tue, 25 Mar 2014 07:39:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSLxE-0002MG-M9 for pgsql-performance@postgresql.org; Tue, 25 Mar 2014 07:39:24 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSLxB-0007eA-OU for pgsql-performance@postgresql.org; Tue, 25 Mar 2014 07:39:24 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WSLx9-0001qu-Pb for pgsql-performance@postgresql.org; Tue, 25 Mar 2014 00:39:19 -0700 Date: Tue, 25 Mar 2014 00:39:19 -0700 (PDT) From: David Johnston To: pgsql-performance@postgresql.org Message-ID: <1395733159787-5797364.post@n5.nabble.com> In-Reply-To: <1395722709.28433.YahooMailNeo@web161601.mail.bf1.yahoo.com> References: <1395722709.28433.YahooMailNeo@web161601.mail.bf1.yahoo.com> Subject: Re: pg_dump vs pg_basebackup MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 1.8 (+) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org gianfranco caca wrote > Hai, > > Can anyone tell me the difference and performance between pgdump and > pg_basebackup if I want to backup a large database. > > Thanks Yes. And many of their words have been written down in the documentation in a chapter named "Backup and Restore". Do you have a specific question about what is written there? I'll add that comparing the performance of both is relatively meaningless. You need to understand how each works then choose the correct tool for your situation. Lastly, you should actually do both, on a development database, and measure the time and effort while practicing both routines (backup and restoring) yourself. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/pg-dump-vs-pg-basebackup-tp5797351p5797364.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance