X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4D0DDDB411 for ; Sun, 30 Oct 2005 21:05:37 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38066-10 for ; Mon, 31 Oct 2005 01:05:32 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id BFEEFDB395 for ; Sun, 30 Oct 2005 21:05:33 -0400 (AST) Received: (qmail invoked by alias); 31 Oct 2005 01:05:36 -0000 Received: from dslb-084-063-010-020.pools.arcor-ip.net (EHLO colt.pezone.net) [84.63.10.20] by mail.gmx.net (mp027) with SMTP; 31 Oct 2005 02:05:36 +0100 X-Authenticated: #495269 From: Peter Eisentraut To: pgsql-admin@postgresql.org Subject: Re: How to determine database activity??? Date: Mon, 31 Oct 2005 02:05:35 +0100 User-Agent: KMail/1.8.1 Cc: Joost Kraaijeveld References: <1130665776.13853.82.camel@Panoramix> In-Reply-To: <1130665776.13853.82.camel@Panoramix> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510310205.35769.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.397 required=5 tests=[AWL=0.397] X-Spam-Score: 0.397 X-Spam-Level: X-Archive-Number: 200510/288 X-Sequence-Number: 19360 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/