Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 806C464FD0F for ; Wed, 20 Aug 2008 17:46:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58586-04 for ; Wed, 20 Aug 2008 17:46:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.ecomtecnologia.com.br (200.146.84.186.static.gvt.net.br [200.146.84.186]) by postgresql.org (Postfix) with ESMTP id CB10264FD0B for ; Wed, 20 Aug 2008 17:46:19 -0300 (ADT) Received: from [192.168.1.35] (unknown [192.168.1.35]) by mail.ecomtecnologia.com.br (Postfix) with ESMTP id BA35579C095 for ; Wed, 20 Aug 2008 17:46:15 -0300 (BRT) Message-ID: <48AC8292.5000708@ecomtecnologia.com.br> Date: Wed, 20 Aug 2008 17:46:10 -0300 From: =?ISO-8859-1?Q?Andr=E9_Volpato?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Postgres not using array Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/234 X-Sequence-Number: 31115 David Wilson escreveu: > On Wed, Aug 20, 2008 at 2:30 PM, Andr=E9 Volpato > wrote: > > =20 >> The CPU is 100% used since a few hours ago. Can anyone tell why? >> =20 > > Sounds like you've just got a CPU bound query. The data may even all > be in cache. > > Some information on database size, along with EXPLAIN results for your > queries, would help here. > =20 The query itself runs smoothly, almost with no delay. I am into some serious hardware fault. The application runs the query,=20 and store the results like text files in another server. For some reason, the query pid=20 remains active in the dbserver, and taking 100% CPU. I=B4m gonna dig a little more. Maybe the application is not able to store the results, or something. --=20 []=B4s, ACV