pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-admin@postgresql.org
Cc: Joost Kraaijeveld <J.Kraaijeveld@askesis.nl>
Subject: Re: How to determine database activity???
Date: Mon, 31 Oct 2005 02:05:35 +0100
Message-ID: <200510310205.35769.peter_e@gmx.net> (raw)
In-Reply-To: <1130665776.13853.82.camel@Panoramix>
References: <1130665776.13853.82.camel@Panoramix>

Joost Kraaijeveld wrote:
> Is there a way to actually determine if the database is doing
> anything after a query is send to the backend during *long* lasting
> queries besides waiting and hoping?

strace or ltrace will give you an idea, but I think you will find that 
the answer is usually "yes" and you just have to be patient. :)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (3+ messages)  latest in thread

Message-ID: <200510310205.35769.peter_e@gmx.net>
Permalink:  ../200510310205.35769.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200510310205.35769.peter_e@gmx.net

 · 

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: peter_e@gmx.net, J.Kraaijeveld@askesis.nl
  Subject: Re: How to determine database activity???
  In-Reply-To: <200510310205.35769.peter_e@gmx.net>
  References: <1130665776.13853.82.camel@Panoramix> <200510310205.35769.peter_e@gmx.net>

* 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