Re: monitoring sql queries - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: monitoring sql queries
Date
Msg-id 20111118105743.GA1482@depesz.com
Whole thread Raw
In response to Re: monitoring sql queries  ("J.V." <jvsrvcs@gmail.com>)
List pgsql-general
On Thu, Nov 17, 2011 at 02:32:22PM -0700, J.V. wrote:
> How is this accomplished?
>
> Is it possible to log queries to a table with additional information?
>
> 1) num rows returned (if a select)
> 2) time to complete the query
> 3) other info?
>
> How is enabling this actually done?

please check:
http://www.depesz.com/index.php/2011/05/06/understanding-postgresql-conf-log/

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: Performance degradation 8.4 -> 9.1
Next
From: "Tomas Vondra"
Date:
Subject: Re: Performance degradation 8.4 -> 9.1