Monitoring Replication - Postgres 9.2

Поиск
Список
Период
Сортировка
От Patrick B
Тема Monitoring Replication - Postgres 9.2
Дата
Msg-id CAJNY3isBMpVqN7J_sDeU0FzV2rME-w7nLA83=NY-29gbbbu_1Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Monitoring Replication - Postgres 9.2  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
Hi guys,

I use these queries to monitor the streaming replication:

on master:
select client_addr, state, sent_location, write_location, flush_location, replay_location, sync_priority from pg_stat_replication;

On slave:
select now() - pg_last_xact_replay_timestamp() AS replication_delay;

Can I create a table to store that data?
I also need the data is constantly put into this table. How would be the best way to do it?

Cheers
Patrick

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

Предыдущее
От: Samuel Williams
Дата:
Сообщение: Index size
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Index size