pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian McCane <bmccane@mccons.net>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: VACUUM FULL
Date: Sun, 12 May 2002 12:04:50 -0400
Message-ID: <178.1021219490@sss.pgh.pa.us> (raw)
In-Reply-To: <20020511173322.J37676-100000@fw.mccons.net>
References: <20020511173322.J37676-100000@fw.mccons.net>

Brian McCane <bmccane@mccons.net> writes:
> Okay, now I am a little scared.  Before I started rebuilding indexes, I
> decided to do the VACUUM FULL thing on all of my tables.  On my two most
> referenced tables I am getting:

> ERROR:  No one parent tuple was found

Oh, that's interesting.  We've gotten sporadic reports of that error
message but no one's ever submitted a reproducible case.  Don't suppose
you want to trace through VACUUM FULL with a debugger (or let someone
else do so) to see why it's getting confused?

FWIW, I don't think you need fear data loss.  VACUUM FULL has some, um,
quite baroque code to deal with moving update chains as a unit, and it's
just reporting that it couldn't figure out how to move what looked like
a tuple chain.

AFAIK this situation can only occur when there are open transactions
that can still see some already-replaced tuple.  So the error would
probably go away if you closed all your open transactions.

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <178.1021219490@sss.pgh.pa.us>
Permalink:  ../178.1021219490@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/178.1021219490@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, bmccane@mccons.net
  Subject: Re: VACUUM FULL
  In-Reply-To: <178.1021219490@sss.pgh.pa.us>

* 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