Re: Bug #782: clog files disappear after 'vacuum;'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: steven(dot)wilton(at)team(dot)eftel(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #782: clog files disappear after 'vacuum;'
Date: 2002-09-27 04:51:59
Message-ID: 21233.1033102319@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> We are having a problem with our pg_clog files disappearing after a
> vacuum command is run.

VACUUM is supposed to remove no-longer-needed pg_clog files; space
reclamation is what it's all about, after all. Your problem is more
correctly thought of as "there shouldn't be any more references in my
database to old transaction numbers, once VACUUM is done".

We just today identified and fixed a problem that might allow old
transaction references to escape, but that bug could only be tickled if
a database crash occurs shortly after a VACUUM FULL. Unless you are
crashing your server on a routine basis, it seems like that doesn't
describe your problem.

Can you provide a self-contained script to provoke the problem you are
seeing? Or let someone into your system to examine things in detail?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-09-27 05:07:38 Bug #783: WINDOWS 2000: invalid primary checkpoint record
Previous Message pgsql-bugs 2002-09-27 01:17:39 Bug #782: clog files disappear after 'vacuum;'