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 9A6BED1B474 for ; Tue, 25 Nov 2003 22:06: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 45480-02 for ; Tue, 25 Nov 2003 18:06:10 -0400 (AST) Received: from natsmtp01.rzone.de (natsmtp01.rzone.de [81.169.145.166]) by svr1.postgresql.org (Postfix) with ESMTP id 1B3E1D1B45F for ; Tue, 25 Nov 2003 18:06:09 -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 hAPM6AmC002378 for ; Tue, 25 Nov 2003 23:06:10 +0100 (MET) Message-ID: <3FC3D252.1000204@be-a-part.de> Date: Tue, 25 Nov 2003 23:06:10 +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: Re: [Fwd: Re: Optimize] References: <3FC3AFD9.300@be-a-part.de> <3FC3AB3D.4080708@bigfoot.com> In-Reply-To: <3FC3AB3D.4080708@bigfoot.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/255 X-Sequence-Number: 4815 Gaetano Mendola wrote: > 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. > I've made it in root-account with psql -U postgres - but i can't see the query Regards Torsten Schulz