Re: Patch set under development to add usage reporting. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Patch set under development to add usage reporting.
Date
Msg-id 1257014854.28195.29.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Patch set under development to add usage reporting.  (John Murtari <jmurtari@thebook.com>)
Responses Re: Patch set under development to add usage reporting.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Patch set under development to add usage reporting.  (John Murtari <jmurtari@thebook.com>)
List pgsql-hackers
On lör, 2009-10-31 at 13:37 -0400, John Murtari wrote:
>         I had taken a look at existing statistics reporting (at
> least in the 7.4.x tree) and didn't see a good analog to what this
> provides.

The statistics collector detailed at
<http://www.postgresql.org/docs/7.4/interactive/monitoring-stats.html>
appears to do pretty much the same, although on a slightly lower level.
But that's the logical place where to add that in PostgreSQL.

>        We had proposed this as a comment on an earlier version of
> the standard.  From discussion with some senior committee members,
> it would appear the best fit for this type of capability might
> be in the INFORMATION SCHEMA part of the standard.  We also had
> developed the "SHOW STATISTICS" syntax for DB version that don't
> support INFORMATION SCHEMA.

I don't really get the point of the SHOW STATISTICS command.  There is
already a command whose purpose is to retrieve data in tabular form,
namely SELECT.




pgsql-hackers by date:

Previous
From: Roger Leigh
Date:
Subject: Re: Unicode UTF-8 table formatting for psql text output
Next
From: Tom Lane
Date:
Subject: Re: Patch set under development to add usage reporting.