Re: How can one see what queries are running withing a

From: P.A.M. van Dam
Subject: Re: How can one see what queries are running withing a
Date: ,
Msg-id: 20040627172520.GA3038@pmg.xs4all.nl
(view: Whole thread, Raw)
In response to: Re: How can one see what queries are running withing a  (Christopher Kings-Lynne)
List: pgsql-performance


On Sat, Jun 26, 2004 at 04:58:16PM +0800, Christopher Kings-Lynne wrote:
>
> >>Let see in contrib/ the application pg_who ... you will see the process,
> >>the queries, and the CPU ... ;o)
>
> Even easier:
>
> SELECT * FROM pg_stat_activity;
>
> As a superuser.

Thanks!

That works as needed!

Best regards,

    Pascal

>
> Chris
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html


pgsql-performance by date:

From: Joseph Shraibman
Date:
Subject: planner and worst case scenario
From: Litao Wu
Date:
Subject: network address query