Re: pg_basebackup --wal-method=fetch

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pg_basebackup --wal-method=fetch
Дата
Msg-id CABUevEy38dnyRaJNgbextVVWjC72K-v0EUO+W00L7+ZfqVoqVA@mail.gmail.com
обсуждение исходный текст
Ответ на pg_basebackup --wal-method=fetch  (Ron Johnson <ronljohnsonjr@gmail.com>)
Ответы Re: pg_basebackup --wal-method=fetch  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список pgsql-admin


On Thu, Feb 8, 2024, 17:05 Ron Johnson <ronljohnsonjr@gmail.com> wrote:
(PG 14, if it matters.)

What's the purpose of fetch mode, as opposed to streaming mode?  Is it a legacy of bygone days that just hasn't been deprecated, or is there something I don't understand from reading https://www.postgresql.org/docs/14/app-pgbasebackup.html?



Your backup can go to a single file with it, which it can't do in streaming. Which means it can also be sent through a pipe. 

It also needs one connection instead of two to the server, if that's limited. 

/Magnus 

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: pg_basebackup --wal-method=fetch
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: pg_basebackup --wal-method=fetch