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 5D8B0D1B460 for ; Tue, 25 Nov 2003 19:39:53 +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 23954-04 for ; Tue, 25 Nov 2003 15:39:22 -0400 (AST) Received: from natsmtp01.rzone.de (natsmtp01.rzone.de [81.169.145.166]) by svr1.postgresql.org (Postfix) with ESMTP id 1D146D1B439 for ; Tue, 25 Nov 2003 15:39:22 -0400 (AST) Received: from be-a-part.de (pD9E81E1A.dip.t-dialin.net [217.232.30.26]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id hAPJd5SV002529 for ; Tue, 25 Nov 2003 20:39:06 +0100 (MET) Message-ID: <3FC3AFD9.300@be-a-part.de> Date: Tue, 25 Nov 2003 20:39:05 +0100 From: Torsten Schulz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: [Fwd: Re: Optimize] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.8 tagged_above=0.0 required=5.0 tests=RCVD_IN_NJABL, USER_AGENT_MOZILLA_UA X-Spam-Level: X-Archive-Number: 200311/248 X-Sequence-Number: 4808 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. Greetings Torsten