Re: [Fwd: Re: Optimize] - Mailing list pgsql-performance

From Gaetano Mendola
Subject Re: [Fwd: Re: Optimize]
Date
Msg-id 3FC3AB3D.4080708@bigfoot.com
Whole thread Raw
In response to [Fwd: Re: Optimize]  (Torsten Schulz <comic@be-a-part.de>)
Responses Re: [Fwd: Re: Optimize]
List pgsql-performance
Torsten Schulz wrote:
> Hi,
>
>> You can see doing   select * from pg_stat_activity the
>> queries that are currently running on your server, and
>> do a explain analize on it to see which one is the
>> bottleneck. If you are running the 7.4 you can see on
>> the log the total ammount for each query.
>
>
>
> with this query I see how much queries running, but the field
> current_query are free, so i can't see which queries are very slow.

You must perform that query with permission of  super_user.


Regards
Gaetano Mendola



pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: why index scan not working when using 'like'?
Next
From: Tom Lane
Date:
Subject: Re: why index scan not working when using 'like'?