Thread: full vacuum cancelation
Hi,
my full vacuuming of one table runs still after four days. Is it safe to cancel it by pressing Ctrl+c?
--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me
=?UTF-8?Q?Viktor_Bojovi=C4=87?= <viktor.bojovic@gmail.com> writes: > my full vacuuming of one table runs still after four days. Is it safe to > cancel it by pressing Ctrl+c? I assume this is a pre-9.0 Postgres version? Depending on how far along the vacuum actually is, there's a possibility that trying to cancel it will cause a PANIC, but that will not damage your data --- the worst consequence would be killing any other sessions that are running concurrently. regards, tom lane
On Thu, Oct 21, 2010 at 9:15 AM, Viktor Bojović <viktor.bojovic@gmail.com> wrote: > my full vacuuming of one table runs still after four days. Is it safe to > cancel it by pressing Ctrl+c? Is it really running (as in progressing with its work) or is it blocking waiting for a lock? Check the pg_stat_activity view to see what it is doing. How big is this table?
On Thu, Oct 21, 2010 at 5:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Viktor Bojović <viktor.bojovic@gmail.com> writes:I assume this is a pre-9.0 Postgres version?
> my full vacuuming of one table runs still after four days. Is it safe to
> cancel it by pressing Ctrl+c?
Depending on how far along the vacuum actually is, there's a possibility
that trying to cancel it will cause a PANIC, but that will not damage
your data --- the worst consequence would be killing any other sessions
that are running concurrently.
regards, tom lane
version is 8.3.x , everything went fine. thanx.
--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me