Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 378799FB2F6 for ; Fri, 29 Sep 2006 16:30:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 03581-05 for ; Fri, 29 Sep 2006 16:30:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id 0B8839F95CB for ; Fri, 29 Sep 2006 16:30:12 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1GTOLJ-0003oK-P0 for pgsql-performance@postgresql.org; Fri, 29 Sep 2006 15:48:17 -0400 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 709984051; Fri, 29 Sep 2006 15:30:06 -0400 (EDT) Date: Fri, 29 Sep 2006 15:30:06 -0400 From: Andrew Sullivan To: pgsql-performance@postgresql.org Subject: Re: Postgres locking up? Message-ID: <20060929193006.GF23697@phlogiston.dyndns.org> References: <451D72DE.4080205@janestcapital.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <451D72DE.4080205@janestcapital.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.196 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/436 X-Sequence-Number: 21122 On Fri, Sep 29, 2006 at 03:24:14PM -0400, Brian Hurt wrote: > I'm experiencing a problem with our postgres database. Queries that > normally take seconds suddenly start taking hours, if they complete at > all. The first thing I'd do is EXPLAIN and EXPLAIN ANALYSE on the queries in question. The next thing I'd look for is OS-level performance problems. A -- Andrew Sullivan | ajs@crankycanuck.ca I remember when computers were frustrating because they *did* exactly what you told them to. That actually seems sort of quaint now. --J.D. Baldwin