pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Russell Garrett <rg@tcslon.com>
To: Torsten Schulz <comic@be-a-part.de>
To: pgsql-performance@postgresql.org
Subject: Re: [Fwd: Re: Optimize]
Date: Tue, 25 Nov 2003 22:27:34 -0000
Message-ID: <MKEGJINFADFODDNOKEJCGEJEEJAA.rg@tcslon.com> (raw)
In-Reply-To: <3FC3D252.1000204@be-a-part.de>

>>> 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

You must have these lines in your postgresql.conf for the query stats to be
collected:

stats_start_collector = true
stats_command_string = true

--------------------------------------------------------------------
Russ Garrett                                            russ@last.fm
                                                      http://last.fm




view thread (3+ messages)

Message-ID: <MKEGJINFADFODDNOKEJCGEJEEJAA.rg@tcslon.com>
Permalink:  ../MKEGJINFADFODDNOKEJCGEJEEJAA.rg@tcslon.com/
Also on:    postgresql.org/message-id/MKEGJINFADFODDNOKEJCGEJEEJAA.rg@tcslon.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: rg@tcslon.com, comic@be-a-part.de
  Subject: Re: [Fwd: Re: Optimize]
  In-Reply-To: <MKEGJINFADFODDNOKEJCGEJEEJAA.rg@tcslon.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