Re: Changing pg_dump default file format

From: Jan Lentfer <Jan(dot)Lentfer(at)web(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Changing pg_dump default file format
Date: 2013-11-07 19:27:14
Message-ID: 527BE992.2010100@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am 07.11.2013 19:08, schrieb Joshua D. Drake:>
> On 11/07/2013 10:00 AM, Josh Berkus wrote:
>> If we wanted to change the defaults, I think it would be easier to
>> create a separate bin name (e.g. pg_backup) than to change the existing
>> parameters for pg_dump.
>
> I am not opposed to that. Allow pg_dump to be what it is, and create a
> pg_backup?
>
> JD

I would definitely agree to having "one" backup utility and making -Fc
the default for SQL dumps. One could even argue if the functionality of
pg_basebackup should be part of that too. But I would be fine with
having two distinct utilities (one for file level backups and one for
logical/SQL level backups), too.

Btw, how hard would it be, to have pg_restore and now also pg_dump run
with -j option do some ordering of work by size of e.g. the tables? E.g.
if you run with -j4 it would make sense to start working on the largest
tables (and it's indexes) first and continue by descending in t´size to
keep all available "slots" filled as good as possible. Just at though.

Jan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2013-11-07 19:34:20 Re: Changing pg_dump default file format
Previous Message Alvaro Herrera 2013-11-07 19:01:49 Re: Changing pg_dump default file format