Re: Long time Vacuum full

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Long time Vacuum full
Date: 2003-01-24 05:38:17
Message-ID: 10564.1043386697@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Patrick Hatcher" <PHatcher(at)macys(dot)com> writes:
> Should it take over 8 hours to do a vacuum full analyze on a 15 million
> record table? I have no idea when, if ever, this user has done a vacuum
> full on this machine.

With no more context than that, the only possible answer is "who knows?"
You've given us no clue about the hardware you're doing this on, so
the single datapoint that there are 15 million live rows doesn't let
anyone calibrate anything.

> I'm afraid to cancel the process for fear of corrupting the table.

FWIW, cancelling a VACUUM is perfectly safe (were it not, a power loss
during VACUUM would be fatal). But now that you've got 8 hours
invested, I'd counsel letting it run ... if you cancel, the next attempt
will take even longer.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Prokopis Prokopidis 2003-01-24 08:25:18 Multiple foreign keys
Previous Message Jim Beckstrom 2003-01-24 04:21:44 Re: Learning Plpgsql ??