Re: Table not getting vaccumed.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nimesh Satam" <nimesh(dot)zedo(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Table not getting vaccumed.
Date: 2006-09-30 16:45:50
Message-ID: 13551.1159634750@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Nimesh Satam" <nimesh(dot)zedo(at)gmail(dot)com> writes:
> I am trying to vaccum one of the table using the following command:
> VACUUM FULL ANALYZE VERBOSE table_name;
> But for some reason the table vaccuming is not going ahead.

VACUUM FULL requires exclusive lock on the table, so it's probably
waiting for some open transaction that has a reader's or writer's
lock on it. Look in pg_stat_activity and pg_locks to find out more.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Steve Martin 2006-10-02 02:26:52 selecting data from information_schema.columns performance.
Previous Message Markus Schaber 2006-09-30 09:50:33 Re: how to optimize postgres 8.1