Re: monitoring sql queries

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: "J(dot)V(dot)" <jvsrvcs(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: monitoring sql queries
Date: 2011-11-18 10:57:43
Message-ID: 20111118105743.GA1482@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Vondra 2011-11-18 12:00:26 Re: Performance degradation 8.4 -> 9.1
Previous Message Good Day Books 2011-11-18 10:54:58 Re: Result of ORDER-BY