Skip site navigation (1) Skip section navigation (2)

Re: Selects query stats?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Dan Gorman <dgorman(at)hi5(dot)com>
Cc: mischa(at)ca(dot)sophos(dot)com, pgsql-performance(at)postgresql(dot)org
Subject: Re: Selects query stats?
Date: 2006-05-23 18:41:00
Message-ID: 20060523184100.GW64371@pervasive.com (view raw or flat)
Thread:
Lists: pgsql-performance
On Tue, May 23, 2006 at 11:33:12AM -0700, Dan Gorman wrote:
> In any other DB (oracle, mysql) I know how many queries (selects) per  
> second the database is executing. How do I get this
> number out of postgres?

You can't. You also can't know how many DML statements were executed
(though you can see how many tuples were inserted/updated/deleted), or
how many transactions have occured (well, you can hack the last one, but
it's a bit of a mess).

It would be nice if all of this was available.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby(at)pervasive(dot)com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

In response to

Responses

pgsql-performance by date

Next:From: Simon RiggsDate: 2006-05-23 18:51:12
Subject: Re: Selects query stats?
Previous:From: Dan GormanDate: 2006-05-23 18:33:12
Subject: Re: Selects query stats?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group