X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A89E19DC889 for ; Mon, 20 Mar 2006 19:27:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12582-10 for ; Mon, 20 Mar 2006 19:27:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp107.sbc.mail.mud.yahoo.com (smtp107.sbc.mail.mud.yahoo.com [68.142.198.206]) by postgresql.org (Postfix) with SMTP id 235B39DC80E for ; Mon, 20 Mar 2006 19:27:25 -0400 (AST) Received: (qmail 18931 invoked from network); 20 Mar 2006 23:27:28 -0000 Received: from unknown (HELO discord.dyndns.org) (jeffroe996@sbcglobal.net@69.226.253.111 with plain) by smtp107.sbc.mail.mud.yahoo.com with SMTP; 20 Mar 2006 23:27:28 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by discord.dyndns.org (8.13.4/8.13.4) with ESMTP id k2KNROnU014861; Mon, 20 Mar 2006 15:27:25 -0800 Date: Mon, 20 Mar 2006 15:27:24 -0800 (PST) From: Jeff Frost X-X-Sender: jeff@discord.dyndns.org To: Daniel Caune cc: pgsql-sql@postgresql.org Subject: Re: Power cut and performance problem In-Reply-To: <1E293D3FF63A3740B10AD5AAD88535D201D30769@UBIMAIL1.ubisoft.org> Message-ID: References: <1E293D3FF63A3740B10AD5AAD88535D201D30769@UBIMAIL1.ubisoft.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.118 required=5 tests=[AWL=0.118] X-Spam-Score: 0.118 X-Spam-Level: X-Archive-Number: 200603/317 X-Sequence-Number: 24663 I see you're running autovacuum. What's your disk subsytem look like? By chance is it sitting on a RAID 5 that's running in degraded mode right now while it scrubs? On Mon, 20 Mar 2006, Daniel Caune wrote: > Hi, > > We had a power cut lastly and it seems that our PostgreSQL database > suffers from performance since. For example, a simple query such as > "SELECT MIN(a-primary-key-column) FROM a-table" takes quite a very long > time; actually I gave up before getting the result. -- Jeff Frost, Owner Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650-780-7908 FAX: 650-649-1954