Re: Include WAL in base backup

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Include WAL in base backup
Дата
Msg-id m2k4i4br1b.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Include WAL in base backup  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Include WAL in base backup  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> However, it's not quite that simple. "just adding a fork()" doesn't
> work on all our platforms, and you need to deal with feedback and such
> between them as well.

I'd think client-side, we have an existing implementation with the
parallel pg_restore option.  Don't know (yet) how easy it is to reuse
that code…

> Oh, and this might be the use-case for integrating the streaming log
> code as well :-) But if we plan to do that, perhaps we should pick a
> different name for the binary? Or maybe just share code with another
> one later..

You're talking about the pg_streamrecv binary?  Then yes, my idea about
it is that it should become the default archive client we ship with
PostgreSQL.  And grow into offering a way to be the default restore
command too.  I'd see the current way that the standby can switch
between restoring from archive and from a live stream as a first step
into that direction.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Andy Colson
Дата:
Сообщение: texteq/byteaeq: avoid detoast [REVIEW]
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: We need to log aborted autovacuums