Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 2519E2E004C for ; Mon, 12 May 2008 04:35:52 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 71038-05 for ; Mon, 12 May 2008 04:35:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from easy2.in-chemnitz.de (easy2.in-chemnitz.de [88.198.17.232]) by developer.postgresql.org (Postfix) with ESMTP id CAAE42E0040 for ; Mon, 12 May 2008 04:35:48 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by easy2.in-chemnitz.de (Postfix) with ESMTP id D774A47000D for ; Mon, 12 May 2008 09:35:46 +0200 (CEST) Received: from easy2.in-chemnitz.de ([127.0.0.1]) by localhost (easy.in-chemnitz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DiNSwtj1x4uM for ; Mon, 12 May 2008 09:35:46 +0200 (CEST) Received: by easy2.in-chemnitz.de (Postfix, from userid 1013) id C3780470006; Mon, 12 May 2008 09:35:46 +0200 (CEST) Date: Mon, 12 May 2008 09:35:46 +0200 From: Tino Schwarze To: pgsql-admin@postgresql.org Subject: Re: Orphan TOAST object Message-ID: <20080512073546.GA30621@easy2.in-chemnitz.de> References: <8d01be800805110946r792efacdp3dbe02829b6da7a9@mail.gmail.com> <20553.1210525788@sss.pgh.pa.us> <8d01be800805111017w6910acdapaf66f0b56908d36e@mail.gmail.com> <20763.1210526763@sss.pgh.pa.us> <8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/87 X-Sequence-Number: 29171 Hi James, On Mon, May 12, 2008 at 09:25:34AM +0200, James Farrugia wrote: > First of all thanks for the immediate replies! > Was actually waiting for the right moment to upgrade to 8.3 but migrating a > live 1Tb database is a bit daunting especially if you have never done it > before (as in my case). If I'm not mistaken i can upgrade to the latest > minor version without having to dump and restore so I'll do that. You need to check the release notes of the particulra minor release you are upgrading to. Some minor releases also require a dump/restore cycle because of bugfixes. You're lucky: 8.2.7 doesn't require dump/restore in your case, the release notes say: "A dump/restore is not required for those running 8.2.X" > One last thing...can we run into data-loss problems with successfully > vacuumed tables even if there is one unvacuumed database object; what would > have happened if I ignored to vacuum that rogue pg_toast (which was the only > unvacuumed object within the entire database)? At a certain point, the server would have switched to "emergency mode" and wouldn't have accepted any commands any more. See the description here: http://www.postgresql.org/docs/8.2/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND HTH, Tino. -- "What we resist, persists." (Zen saying) www.craniosacralzentrum.de www.forteego.de