X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1DEDE9DCA03 for ; Thu, 26 Jan 2006 16:44:37 -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 00154-06 for ; Thu, 26 Jan 2006 16:44:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 618669DC82E for ; Thu, 26 Jan 2006 16:44:35 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0QKiUYe030223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 26 Jan 2006 13:44:33 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0QKiU8l097657; Thu, 26 Jan 2006 13:44:30 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0QKiUDI097656; Thu, 26 Jan 2006 13:44:30 -0700 (MST) (envelope-from mfuhr) Date: Thu, 26 Jan 2006 13:44:30 -0700 From: Michael Fuhr To: "Matthew T. O'Connor" Cc: Oisin Glynn , pgsql general Subject: Re: VACUUM Question Message-ID: <20060126204430.GA97564@winnie.fuhr.org> References: <002a01c622ac$41555af0$1f12fea9@homisco.local> <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.112 required=5 tests=[AWL=0.112] X-Spam-Score: 0.112 X-Spam-Level: X-Archive-Number: 200601/1394 X-Sequence-Number: 90339 On Thu, Jan 26, 2006 at 02:35:42PM -0500, Matthew T. O'Connor wrote: > If you really are just inserting, and never updating or deleting, then you > will never need to vacuum the table, rather you will just need to ANALYSE > the table. That's not quite true; the table must still be vacuumed occasionally to prevent transaction ID wraparound failure, else you risk losing data. http://www.postgresql.org/docs/8.1/interactive/maintenance.html#VACUUM-FOR-WRAPAROUND -- Michael Fuhr