Re: Count actual transaction per minute?

From: Ben Chobot <bench(at)silentmedia(dot)com>
To: Melvin Davidson <melvin6925(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Count actual transaction per minute?
Date: 2010-05-12 16:21:18
Message-ID: 483B5420-327D-4766-98AB-130B3F650CA2@silentmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On May 12, 2010, at 9:12 AM, Melvin Davidson wrote:

> Can anyone tell me how to measure _actual_ transactions per minute on a PostgreSQL server. I am not talking about using pgbench, as I am not interested in determining what is possible, but rather the actual count of queries / transactions being sent to the server.

We log query durations, and then use net-snmp to count the amount of query durations we see per second. Now, granted, that's queries, not transactions, and it's not particularly elegant..... but it's pretty effective and is surprisingly more efficient than I assumed it would be before we tried it.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Haas 2010-05-12 16:24:22 Re: List traffic
Previous Message hubert depesz lubaczewski 2010-05-12 16:20:04 Re: Count actual transaction per minute?