Is there an easy way to get a count on the number of transactions postgres is processing a min/hour/day/etc.? If so, can it be broken down by the individual databases in the cluster?
Chris Hoover написа:
> Is there an easy way to get a count on the number of transactions postgres
> is processing a min/hour/day/etc.? If so, can it be broken down by the
> individual databases in the cluster?
>
> Thanks,
>
> Chris
>
You could monitor the "xact_commit" column from the "pg_stat_database"
system view. More info here -
http://www.postgresql.org/docs/8.1/static/monitoring-stats.html#MONITORING-STATS-VIEWS
--
Milen A. Radev
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера