pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: anyway to get a transaction count?
Date: Fri, 06 Oct 2006 17:21:24 +0300
Message-ID: <eg5op3$ria$1@sea.gmane.org> (raw)
In-Reply-To: <1d219a6f0610060700s4d8c7eb4u5dea161f474bb10d@mail.gmail.com>
References: <1d219a6f0610060700s4d8c7eb4u5dea161f474bb10d@mail.gmail.com>

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




view thread (2+ messages)

Message-ID: <eg5op3$ria$1@sea.gmane.org>
Permalink:  ../eg5op3$ria$1@sea.gmane.org/
Also on:    postgresql.org/message-id/eg5op3$ria$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: milen@radev.net
  Subject: Re: anyway to get a transaction count?
  In-Reply-To: <eg5op3$ria$1@sea.gmane.org>
  References: <1d219a6f0610060700s4d8c7eb4u5dea161f474bb10d@mail.gmail.com> <eg5op3$ria$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox