VACUUM locking for 21 hours and counting - Mailing list pgsql-admin

From Halford Dace
Subject VACUUM locking for 21 hours and counting
Date
Msg-id Pine.SGI.4.44.0303130818000.54536-100000@jove.stowe.co.za
Whole thread Raw
Responses Re: VACUUM locking for 21 hours and counting
Re: VACUUM locking for 21 hours and counting
List pgsql-admin
Hi all,

context:

PostgreSQL 7.0.3
Database containing one table with ca. 500,000 records.  It's vacuumed
nightly, but normally doesn't change much.  The table is, arguably,
overindexed, but it took a lot to get acceptable performance on the
queries which it runs.

I delete 120,000 records from the big table.

I run VACUUM.

21 hours later, I'm still waiting for it to finish.

What on earth can I do?

Oh yes, I _did_ run a backup just before doing the DELETE, but would
really rather not have to restore that right now.

Thanks,

Hal



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: max_connections beyond 47 causes hang
Next
From: Halford Dace
Date:
Subject: Re: VACUUM locking for 21 hours and counting