X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 245A3D1B47D for ; Tue, 25 Nov 2003 20:20:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 24158-09 for ; Tue, 25 Nov 2003 16:20:09 -0400 (AST) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 3B905D1B436 for ; Tue, 25 Nov 2003 16:20:08 -0400 (AST) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id hAPKNEA11370; Tue, 25 Nov 2003 21:23:14 +0100 Received: from bigfoot.com (accesspoint.mm.eutelsat.org [194.214.173.4]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id hAPK8vR32160; Tue, 25 Nov 2003 21:08:57 +0100 Message-ID: <3FC3AB3D.4080708@bigfoot.com> Date: Tue, 25 Nov 2003 20:19:25 +0100 From: Gaetano Mendola User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-performance@postgresql.org" Cc: Torsten Schulz Subject: Re: [Fwd: Re: Optimize] References: <3FC3AFD9.300@be-a-part.de> In-Reply-To: <3FC3AFD9.300@be-a-part.de> X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/252 X-Sequence-Number: 4812 Torsten Schulz wrote: > Hi, > >> You can see doing select * from pg_stat_activity the >> queries that are currently running on your server, and >> do a explain analize on it to see which one is the >> bottleneck. If you are running the 7.4 you can see on >> the log the total ammount for each query. > > > > with this query I see how much queries running, but the field > current_query are free, so i can't see which queries are very slow. You must perform that query with permission of super_user. Regards Gaetano Mendola