Re: Postgres query completion status?

From: Richard Neill <rn214(at)cam(dot)ac(dot)uk>
To: Richard Neill <rn214(at)cam(dot)ac(dot)uk>
Cc: Greg Williamson <gwilliamson39(at)yahoo(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres query completion status?
Date: 2009-11-20 06:50:14
Message-ID: 4B063C26.4000008@cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


> Greg Williamson wrote:
>> Richard --
>>
>> You might post the results of "EXPLAIN ANALYZE <your SQL here>;" ...
>> be sure to run it in a transaction if you want to be able roll it
>> back. Perhaps try "EXPLAIN <your SQL>;" first as it is faster, but
>> EXPLAIN ANALYZE shows what the planner is doing.
>>
>

Is there any way I can gather some information by tracing the query
that's currently actually running?

strace doesn't help much, but is there anything else I can do?

As far as I know, the only tools that exist are
pg_stat_activity, top, and iotop
Have I missed one?

Thanks,

Richard

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Neill 2009-11-20 07:03:04 Re: Postgres query completion status?
Previous Message Richard Neill 2009-11-20 06:32:31 Re: Postgres query completion status?