Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 702EB63349D for ; Tue, 5 Jan 2010 09:17:51 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 27603-06 for ; Tue, 5 Jan 2010 13:17:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outbound.afilias.info (outbound.afilias.info [69.46.124.26]) by mail.postgresql.org (Postfix) with ESMTP id 0034E632E38 for ; Tue, 5 Jan 2010 09:17:40 -0400 (AST) Received: from ms5.yyz2.afilias-ops.info ([10.50.129.111] helo=smtp.afilias.info) by outbound.afilias.info with esmtp (Exim 4.69) (envelope-from ) id 1NS9I2-0007Aq-5R; Tue, 05 Jan 2010 13:17:38 +0000 Received: from tor-gateway.afilias.info ([199.15.87.4] helo=[10.10.46.12]) by smtp.afilias.info with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NS9I2-0007AW-4z; Tue, 05 Jan 2010 13:17:38 +0000 Subject: Re: DB is slow until DB is reloaded From: Brad Nicholson To: Craig James Cc: Madison Kelly , pgsql-performance@postgresql.org In-Reply-To: <4B42B9C2.7050303@emolecules.com> References: <4B423D22.7040803@alteeve.com> <4B424215.70605@pinpointresearch.com> <4B424FF6.40207@alteeve.com> <4B425222.7070905@gpdnet.co.uk> <4B425555.6020709@alteeve.com> <1262638856.29852.4.camel@bnicholson-desktop> <4B425E93.1050207@alteeve.com> <4B426359.9040601@pinpointresearch.com> <4B426438.40109@alteeve.com> <37d451f71001041406i3f5d8d5fte8a29cfbc06998c9@mail.gmail.com> <4B428917.3020305@alteeve.com> <4B42B9C2.7050303@emolecules.com> Content-Type: text/plain Date: Tue, 05 Jan 2010 08:17:38 -0500 Message-Id: <1262697458.29852.6.camel@bnicholson-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.189 tagged_above=-10 required=5 tests=BAYES_50=0.001, FH_DATE_PAST_20XX=3.188 X-Spam-Level: *** X-Archive-Number: 201001/41 X-Sequence-Number: 36921 On Mon, 2010-01-04 at 20:02 -0800, Craig James wrote: > +Madison Kelly wrote: > > You are right, autovacuum is not running after all. From your comment, I > > am wondering if you'd recommend I turn it on or not? If so, given that I > > doubt I will upgrade any time soon, how would I enable it? I suppose I > > could google that, but google rarely shares gotcha's. :) > > Most of the pain of a Postgres upgrade is the dump/reload step. But you've already had to do that several times, so why the hesitation to upgrade? Upgrading Postgres to the latest release, even if you have to do it from the source code, takes almost no time at all compared to the time you've already burned trying to solve this problem. Actually, the biggest pain going beyond 8.2 is the change to implicit casting. > Do the upgrade, you won't regret it. Agree. -- Brad Nicholson 416-673-4106 Database Administrator, Afilias Canada Corp.