Re: Interpreting pg_stat_replication values

Поиск
Список
Период
Сортировка
От Alexander Fortin
Тема Re: Interpreting pg_stat_replication values
Дата
Msg-id 4F1830FE.3030005@gmail.com
обсуждение исходный текст
Ответ на Re: Interpreting pg_stat_replication values  (Sergey Konoplev <gray.ru@gmail.com>)
Ответы Re: Interpreting pg_stat_replication values
Список pgsql-admin
On 1/18/12 9:38 AM, Sergey Konoplev wrote:
> With 9.1 you can use
>
> SELECT now() - pg_last_xact_replay_timestamp() AS time_lag;

Hi Sergey,
thank you very much for your suggestion. In the meanwhile we went for a
check on pg_stat_replication, but we'll add one as you suggest soon on
the replicas.

By the way, maybe you know where I could find documentation about
possible values from column "state" on view pg_stat_replication? I can
see "streaming" when everything is ok, and once I could get just a
"catchup" while a replica was synching.

--
Alexander Fortin
http://about.me/alexanderfortin/

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

Предыдущее
От: Samuel Hwang
Дата:
Сообщение: Help! PostgreSQL stuck at starting up after crash
Следующее
От: Samuel Hwang
Дата:
Сообщение: Re: Help! PostgreSQL stuck at starting up after crash