Determine query run-time from pg_* tables

From: Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Determine query run-time from pg_* tables
Date: 2007-10-23 06:02:14
Message-ID: 1193119334.29348.19.camel@neuromancer.home.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is there a method to obtain the query's runtime from any of the pg_*
tables?

Right now, I'm only seeing the backend_start_time (from
pg_stat_activity) (and I'm also not sure how to interpret this.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-10-23 07:35:04 Re: pg_cancel_backend() does not work with buzz queries
Previous Message Sergey Konoplev 2007-10-23 05:56:26 Re: pg_cancel_backend() does not work with buzz queries