pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: measuring most-expensive queries
Date: Mon, 2 May 2005 05:18:30 +0200
Message-ID: <20050502031830.GC24546@nibiru.borg.metux.de> (raw)


Hi folks,


I'd like to find out which queries are most expensive (taking very 
long or producing high load) in a running system, to see what 
requires further optimization. (the application is quite large 
and some more folks involved, so I cant check evrything manually).

Well, the postmaster can log ev'ry single statement, but its 
really too for a human person, to read the log files. 

Is there any tool for that ?


thx
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------



view thread (3+ messages)  latest in thread

Message-ID: <20050502031830.GC24546@nibiru.borg.metux.de>
Permalink:  ../20050502031830.GC24546@nibiru.borg.metux.de/
Also on:    postgresql.org/message-id/20050502031830.GC24546@nibiru.borg.metux.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: weigelt@metux.de
  Subject: Re: measuring most-expensive queries
  In-Reply-To: <20050502031830.GC24546@nibiru.borg.metux.de>
  References: <20050502031830.GC24546@nibiru.borg.metux.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