pg_stat_database deadlock counter

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pg_stat_database deadlock counter
Дата
Msg-id CABUevExaBznSvZ-kuUS9SPg8pQnAGhYBzLeR6ULgjc_E7Rv-4Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_stat_database deadlock counter  (Jaime Casanova <jaime@2ndquadrant.com>)
Список pgsql-hackers
Attached patch adds a counter for number of deadlocks in a database to
pg_stat_database.

While not enough to diagnose a problem on it's own, this is an easy
way to get an indicator when for when you need to go look in the logs
for details. Overhead should be very small - one counter per database
is not enough to bloat the statsfile,and if you have enough deadlocks
that the sendinf of the messages actually cause a performance
overhead, you have a bigger problem...

Comments?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Вложения

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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: PL/Python result metadata
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: SKIP LOCKED DATA