pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Farrugia <james.farrugia@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Orphan TOAST object
Date: Mon, 12 May 2008 09:25:34 +0200
Message-ID: <8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com> (raw)
In-Reply-To: <20763.1210526763@sss.pgh.pa.us>
References: <8d01be800805110946r792efacdp3dbe02829b6da7a9@mail.gmail.com>
	<20553.1210525788@sss.pgh.pa.us>
	<8d01be800805111017w6910acdapaf66f0b56908d36e@mail.gmail.com>
	<20763.1210526763@sss.pgh.pa.us>

Hi Tom,

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.

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)?

Thanks again.

James

On 5/11/08, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "James Farrugia" <james.farrugia@gmail.com> writes:
> > I'm running 8.2.1.
>
> You really need to update to 8.2.latest.  There are several known
> data-corruption problems in 8.2.1, and it seems possible that one of
> them ate the pg_depend row you needed.
>
> > I cleanly forgot about pg_depend!
> > Even after re-indexing I wasn't able to find an entry in pg_depend
> having
> > the TOAST's OID.  I guess that by creating foo again and linking
> > pg_toast_xxx with foo in pg_depend by hand i can make it go away.
>
> Yeah, that's probably the cleanest recovery strategy.
>
>                        regards, tom lane
>

view thread (8+ messages)  latest in thread

Message-ID: <8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com>
Permalink:  ../8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com/
Also on:    postgresql.org/message-id/8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: james.farrugia@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Orphan TOAST object
  In-Reply-To: <8d01be800805120025u3a49fa39rc7033a2480b4982f@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox