Monitoring activities of PostgreSQL

From: Allan Kamau <kamauallan(at)gmail(dot)com>
To: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Monitoring activities of PostgreSQL
Date: 2010-06-15 14:03:05
Message-ID: AANLkTim41fxrwJvlLn5pZEJhzN-xZCvoecWR-qml3BND@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I do have a PL/SQL function that gets executed called many times but
with different parameter values each of these times. For most
invocations of this function run in a couple of seconds however some
invocations of the same function run (on the same dataset) for hours
with very little disk activity but high CPU.

How can I monitor the actual DB activities during such times so I may
better understand what the situation truly is. I have seen some users
on this list posting some complex log/outputs, this are the kind of
outputs I would like to capture and view. Where are they?

Allan.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2010-06-15 14:07:39 Re: Problem serving one-click installer to Syria
Previous Message Magnus Hagander 2010-06-15 13:57:24 Re: Problem serving one-click installer to Syria