Re: Database uptime?

Поиск
Список
Период
Сортировка
От frbn
Тема Re: Database uptime?
Дата
Msg-id 3D899126.9070004@efbs-seafrigo.fr
обсуждение исходный текст
Ответ на Database uptime?  (Jeff Boes <jboes@nexcerpt.com>)
Список pgsql-general
Jeff Boes a écrit:
> Is there any way via SQL to determine how long the database has been up?
> I realize I could determine this by identifying the PID associated with
> the postmaster, but I need to do this remotely via a connection.
>

you could write a perl script launched by cron which does some inserts
in an information table about the uptime etc...



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

Предыдущее
От: Jean-Christian Imbeault
Дата:
Сообщение: Re: IN vs EXIIST
Следующее
От: "Peter Alberer"
Дата:
Сообщение: Adding "on delete cascade" after table creation ?