vacuum on empty table takes very long

From: Anj Adu <fotographs(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: vacuum on empty table takes very long
Date: 2009-08-18 17:44:00
Message-ID: f2fd819a0908181044j22c119dei468b53fbdc6c386c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

We have a partitioned table structure where the partitions are created
on a daily basis. One of the inserts into the daily partition failed
(crashed) ..the partition was empty after the crash. We did a vacuum
of the partition and it takes very long (over 30 minutes).

Postgres 8.1.2 ... vacuum_cost_delay = 0.

2 cpu...dual core with raid 10 6x300Gb disks.

the load during vacuum was normal (about 50% cpu util with a similar IO wait).

What is vacuum doing that takes so long on an empty table?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kenneth Marshall 2009-08-18 18:02:36 Re: Warm standby with 8.1
Previous Message james bardin 2009-08-18 16:09:25 Re: Warm standby with 8.1