Re: Monitoring activities of PostgreSQL - Mailing list pgsql-general

From Filip Rembiałkowski
Subject Re: Monitoring activities of PostgreSQL
Date
Msg-id AANLkTimgCGw40IamGKgEUwFmvegquQ-3PHJ1ebxdZyPI@mail.gmail.com
Whole thread Raw
In response to Monitoring activities of PostgreSQL  (Allan Kamau <kamauallan@gmail.com>)
Responses Re: Monitoring activities of PostgreSQL  (Allan Kamau <kamauallan@gmail.com>)
List pgsql-general

2010/6/15 Allan Kamau <kamauallan@gmail.com>
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.

You can monitor system parameters (CPU, disk IO, memory) with standard OS-specific tools (on Unix: top, ps iostat,vmstat)

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?


pgsql-general by date:

Previous
From: Tom Wilcox
Date:
Subject: Re: libpython - cannot open shared object file
Next
From: Stephen Frost
Date:
Subject: Re: GSS Authentication