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

Gaetano Mendola wrote:

> 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.
>
I've made it in root-account with psql -U postgres - but i can't see the 
query

Regards
Torsten Schulz




view thread (3+ messages)  latest in thread

Message-ID: <3FC3D252.1000204@be-a-part.de>
Permalink:  ../3FC3D252.1000204@be-a-part.de/
Also on:    postgresql.org/message-id/3FC3D252.1000204@be-a-part.de

 · 

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: comic@be-a-part.de
  Subject: Re: [Fwd: Re: Optimize]
  In-Reply-To: <3FC3D252.1000204@be-a-part.de>

* 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