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 6A7A532A138 for ; Tue, 19 Oct 2004 16:44:45 +0100 (BST) 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 37627-09 for ; Tue, 19 Oct 2004 15:44:43 +0000 (GMT) Received: from tht.net (vista.tht.net [216.126.88.2]) by svr1.postgresql.org (Postfix) with ESMTP id 91A0B32A11E for ; Tue, 19 Oct 2004 16:44:42 +0100 (BST) Received: from [134.22.69.212] (dyn-69-212.tor.dsl.tht.net [134.22.69.212]) by tht.net (Postfix) with ESMTP id 4824176AD0; Tue, 19 Oct 2004 11:41:07 -0400 (EDT) Subject: Re: Vacuum takes a really long time, vacuum full required From: Rod Taylor To: Max Baker Cc: Postgresql Performance In-Reply-To: <20041019153821.GA21258@warped.org> References: <20041019153821.GA21258@warped.org> Content-Type: text/plain Message-Id: <1098200416.750.238.camel@home> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 19 Oct 2004 11:40:17 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/276 X-Sequence-Number: 8752 > Whatever the case, the database still slows down to a halt after a month or > so, and I have to go in and shut everything down and do a VACUUM FULL by > hand. One index (of many many) takes 2000 seconds to vacuum. The whole > process takes a few hours. Do a REINDEX on that table instead, and regular vacuum more frequently. > $ pg_config --version > PostgreSQL 7.3.2 7.4.x deals with index growth a little better 7.3 and older did.