|
Home > Archive > PostgreSQL Administration > October 2006 > anyway to get a transaction count?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
anyway to get a transaction count?
|
|
| Chris Hoover 2006-10-25, 8:24 am |
| 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
| |
| Milen A. Radev 2006-10-25, 8:24 am |
| 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/...ING-STATS-VIEWS
--
Milen A. Radev
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
|
|
|
|
|