pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Cc: Torsten Schulz <comic@be-a-part.de>
Subject: Re: [Fwd: Re: Optimize]
Date: Tue, 25 Nov 2003 20:19:25 +0100
Message-ID: <3FC3AB3D.4080708@bigfoot.com> (raw)
In-Reply-To: <3FC3AFD9.300@be-a-part.de>
References: <3FC3AFD9.300@be-a-part.de>

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





view thread (3+ messages)  latest in thread

Message-ID: <3FC3AB3D.4080708@bigfoot.com>
Permalink:  ../3FC3AB3D.4080708@bigfoot.com/
Also on:    postgresql.org/message-id/3FC3AB3D.4080708@bigfoot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, comic@be-a-part.de
  Subject: Re: [Fwd: Re: Optimize]
  In-Reply-To: <3FC3AB3D.4080708@bigfoot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox