Re: Non-text mode for pg_dumpall

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Non-text mode for pg_dumpall
Дата
Msg-id 740696.1718036463@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Non-text mode for pg_dumpall  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Non-text mode for pg_dumpall
Re: Non-text mode for pg_dumpall
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Mon, Jun 10, 2024 at 5:03 PM Nathan Bossart <nathandbossart@gmail.com>
> wrote:
>> Is there a particular advantage to that approach as opposed to just using
>> "directory" mode for everything?

> A gazillion files to deal with? Much easier to work with individual custom
> files if you're moving databases around and things like that.
> Much easier to monitor eg sizes/dates if you're using it for backups.

You can always tar up the directory tree after-the-fact if you want
one file.  Sure, that step's not parallelized, but I think we'd need
some non-parallelized copying to create such a file anyway.

            regards, tom lane



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: Non-text mode for pg_dumpall
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Wrong security context for deferred triggers?