Re: Server Backup: pg_dump vs pg_dumpall

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Server Backup: pg_dump vs pg_dumpall
Дата
Msg-id 4A6505D2.2050602@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: Server Backup: pg_dump vs pg_dumpall  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
John R Pierce wrote:
> APseudoUtopia wrote:
> ...
>>
>> I was leaning towards pg_dumpall, but then I realized that it only
>> dumps in the standard SQL text file format, and it cannot be
>> compressed automatically.
>
> pgdumpall ....   | gzip > dumpfile.sql.gz
>
>
>
That deals with compression. But if you want to use the new
parallel-restore feature in 8.4 pg_restore which can be *way* faster if
you have multiple cores available then you will need to backup using
pg_dump with the custom format (-Fc).

Cheers,
Steve


В списке pgsql-general по дате отправления:

Предыдущее
От: David Kerr
Дата:
Сообщение: Re: killing processes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Help needed for reading postgres log : RE: Concurrency issue under very heay loads