Re: Warm-standby in 8.2

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Warm-standby in 8.2
Дата
Msg-id 1213919477.8492.14.camel@jd-laptop
обсуждение исходный текст
Ответ на Warm-standby in 8.2  ("Bhella Paramjeet-PFCW67" <PBhella@Motorola.com>)
Список pgsql-admin

On Thu, 2008-06-19 at 19:31 -0400, Bhella Paramjeet-PFCW67 wrote:
> Hi,
>
> We have created a postgres database with a warm-standby in postgres 8.2
> following the document on the archive by Charles Duffy. The standby
> database is in continuous recovery mode and archived logs are synced to
> the standby from primary, every 10 minutes. The primary and the standby
> database are running fine but we need to monitor the standby database to
> check that it is up, it is getting synced every 10 minutes, and that it
> is not out of sync with primary database. What would be the best way to
> make these checks or what processes to check to make sure that the
> archived logs from primary database are continuously getting applied on
> the standby database.
>
> There must be other people using this set up so just need advice on how
> people are monitoring the standby database. Any suggestions or help will
> be highly appreciated.

If you set the logging to debug2 in the postgresql.conf on the standby,
it will tell you what logs are being restored as they are restored.
Further pg_standby will tell you in the process list.

Joshua D. Drake


>
> Thanks
> Paramjeet Bhella
>
>


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

Предыдущее
От: "Bhella Paramjeet-PFCW67"
Дата:
Сообщение: Warm-standby in 8.2
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Database size in Postgresql