Last active time for a database

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Last active time for a database
Дата
Msg-id CAMkU=1yge8Ts8+k0DD87h+tUHXFDTPXxcyb_RRCco8WroYZ3JQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Last active time for a database  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
Is there a way for a superuser to find the last time a database had an active user connection? (While being logged into a different database in the same instance, of course).

The context here is looking for looking for automated integration testing databases that have been leaked due to bugs/crashes in the testing framework.

Yes, I can mine the server log files, but that is really scraping the bottom of the barrel.

Thanks

Jeff

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

Предыдущее
От: klo uo
Дата:
Сообщение: Re: How to restore backup database
Следующее
От: Andreas Brandl
Дата:
Сообщение: Re: Querying a time range across multiple partitions