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 CA1938BA0FC for ; Tue, 15 Feb 2005 02:22:36 +0000 (GMT) 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 13909-09 for ; Tue, 15 Feb 2005 02:22:22 +0000 (GMT) Received: from tht.net (vista.tht.net [216.126.88.2]) by svr1.postgresql.org (Postfix) with ESMTP id D2BF78B9EB1 for ; Tue, 15 Feb 2005 02:22:20 +0000 (GMT) Received: from dyn-69-234.tor.dsl.tht.net (dyn-69-234.tor.dsl.tht.net [134.22.69.234]) by tht.net (Postfix) with ESMTP id A19E876A19; Mon, 14 Feb 2005 21:22:17 -0500 (EST) Subject: Re: VACCUM FULL ANALYZE PROBLEM From: Rod Taylor To: "Michael Ryan S. Puncia" Cc: Postgresql Performance In-Reply-To: <200502150126.j1F1QolW028793@mail.census.gov.ph> References: <200502150126.j1F1QolW028793@mail.census.gov.ph> Content-Type: text/plain Date: Mon, 14 Feb 2005 21:21:56 -0500 Message-Id: <1108434116.67118.92.camel@home> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.019 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/224 X-Sequence-Number: 10553 On Tue, 2005-02-15 at 09:34 +0800, Michael Ryan S. Puncia wrote: > Hi, > > > > I have 3 tables in the database with 80G of data, one of them is > almost 40G and the remaining 2 tables has 20G each. > > We use this database mainly for query and updating is done only > quarterly and the database perform well. My problem > > is after updating and then run VACCUM FULL ANALYZE vacuuming the > tables takes days to complete. I hope someone I suspect the VACUUM FULL is the painful part. Try running CLUSTER on the table or changing a column type (in 8.0) instead. --