Re: Determining the WAL file needed by a standby

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: Determining the WAL file needed by a standby
Дата
Msg-id AANLkTimLNgGEFE3DVmo0EniBOt-u11kS7pu2cO7F=aCn@mail.gmail.com
обсуждение исходный текст
Ответ на Determining the WAL file needed by a standby  ("Nicholson, Brad (Toronto, ON, CA)" <bnicholson@hp.com>)
Список pgsql-admin
On Wed, Feb 9, 2011 at 3:37 PM, Nicholson, Brad (Toronto, ON, CA)
<bnicholson@hp.com> wrote:
> Hi,
>
> Once I’ve shut down a streaming replica standby, is there a way from the
> master I can tell which WAL file is going to be the earliest one needed in
> order for the replica to catch back up?
>

that info is on the standby, you need to execute pg_controldata on the
standby and read the Latest checkpoint location, IIRC...
then, from that you can now what the segment you need is, but you have
to look for it on the master

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte y capacitación de PostgreSQL

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

Предыдущее
От: Jim Mlodgenski
Дата:
Сообщение: Re: Postgres on NAS/NFS
Следующее
От: Sam Stearns
Дата:
Сообщение: Perl Libraries and Postgres