measuring most-expensive queries

From: Enrico Weigelt <weigelt(at)metux(dot)de>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: measuring most-expensive queries
Date: 2005-05-02 03:18:30
Message-ID: 20050502031830.GC24546@nibiru.borg.metux.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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(at)metux(dot)de
---------------------------------------------------------------------
Realtime Forex/Stock Exchange trading powered by postgresSQL :))
http://www.fxignal.net/
---------------------------------------------------------------------

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ezequiel Tolnay 2005-05-02 04:52:49 Re: pg_version_history
Previous Message Enrico Weigelt 2005-05-02 03:11:18 Re: Suse 9.2 stops booting while starting the postgres-server