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 5C373D1D609 for ; Mon, 24 Nov 2003 21:20:45 +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 37148-07 for ; Mon, 24 Nov 2003 17:20:16 -0400 (AST) Received: from smtp.noos.fr (nan-smtp-20.noos.net [212.198.2.120]) by svr1.postgresql.org (Postfix) with ESMTP id 87615D1D8AF for ; Mon, 24 Nov 2003 17:20:13 -0400 (AST) Received: (qmail 7192 invoked by uid 0); 24 Nov 2003 21:20:14 -0000 Received: from unknown (HELO bigfoot.com) ([212.198.40.101]) (envelope-sender ) by 212.198.2.120 (qmail-ldap-1.03) with SMTP for ; 24 Nov 2003 21:20:14 -0000 Message-ID: <3FC267FB.806@bigfoot.com> Date: Mon, 24 Nov 2003 21:20:11 +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: Optimize References: <3FC26E96.9090101@be-a-part.de> In-Reply-To: <3FC26E96.9090101@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/225 X-Sequence-Number: 4785 Torsten Schulz wrote: > Yes, I know: very difficult question, but I don't know what to do now. > > Our Server: > Dual-CPU with 1.2 GHz > 1.5 GB RAM > > Our Problem: We are a Community. Between 19 and 21 o clock we have >350 > User in the Community. But then, the Database are very slow. And we have > per CPU ~20-30% idle-time. May we know the postgres version that you are running and see the query that run slow ? Is also usefull take a look at your postgresql configuration. 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. Let us know. Regards Gaetano Mendola