X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9B9E152BF8 for ; Thu, 14 Jul 2005 02:07:50 -0300 (ADT) 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 70390-06 for ; Thu, 14 Jul 2005 05:07:47 +0000 (GMT) Received: from smtp003.bizmail.yahoo.com (smtp003.bizmail.yahoo.com [216.136.130.195]) by svr1.postgresql.org (Postfix) with SMTP id F2EBF52B06 for ; Thu, 14 Jul 2005 02:07:45 -0300 (ADT) Received: (qmail 4619 invoked from network); 14 Jul 2005 05:07:39 -0000 Received: from unknown (HELO ?192.168.3.41?) (david.mitchell@telogis.com@203.98.10.169 with plain) by smtp003.bizmail.yahoo.com with SMTP; 14 Jul 2005 05:07:39 -0000 Message-ID: <42D5F315.3090301@telogis.com> Date: Thu, 14 Jul 2005 17:07:33 +1200 From: David Mitchell User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dennis Cc: Qingqing Zhou , pgsql-performance@postgresql.org Subject: Re: performance problems ... 100 cpu utilization References: <42D567DB.6000100@works4me.com> <42D5DBEB.4010503@works4me.com> In-Reply-To: <42D5DBEB.4010503@works4me.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200507/160 X-Sequence-Number: 13401 What is the load average on this machine? Do you do many updates? If you do a lot of updates, perhaps you haven't vacuumed recently. We were seeing similar symptoms when we started load testing our stuff and it turned out we were vacuuming too infrequently. David Dennis wrote: > Qingqing Zhou wrote: > >> Are you sure 100% CPU usage is solely contributed by Postgresql? Also, >> from >> the ps status you list, I can hardly see that's a problem because of >> problem >> you mentioned below. >> >> > The postgreSQL processes are what is taking up all the cpu. There aren't > any other major applications on the machine. Its a dedicated database > server, only for this application. > > It doesn't seem to make sense that PostgreSQL would be maxed out at this > point. I think given the size of the box, it could do quite a bit > better. So, what is going on? I don't know. > > Dennis > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > > -- David Mitchell Software Engineer Telogis