Skip site navigation (1) Skip section navigation (2)

Re: vacuumdb -a -z hangs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Naeslund\(f\)" <mag(at)fbab(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: vacuumdb -a -z hangs
Date: 2001-06-06 14:52:58
Message-ID: 23841.991839178@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"Magnus Naeslund\(f\)" <mag(at)fbab(dot)net> writes:
> I have a cronjob that does a vacuumdb -a -z every night.
> When i came to work this morning i saw a lot of postgres processes hanging
> on wait.

Sounds to me like you have an open transaction that is holding a lock
that everybody else needs.  Very likely it's not the VACUUM that's at
fault, at least not directly.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Alessio BragadiniDate: 2001-06-06 14:53:43
Subject: Strange error, probably WAL-related
Previous:From: Peter EisentrautDate: 2001-06-06 14:48:34
Subject: Re: SQL( "if ...exists...),how to do it in the PostgreSQL?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group