Re: CLUSTER = slower vacuum?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: CLUSTER = slower vacuum?
Date: 2007-09-26 16:32:41
Message-ID: 20070926163241.GH8572@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Phoenix Kiula escribió:
> After I clustered the primary key index of a table with about 300,000
> rows, my vacuum/analyze on that table is taking too long ... over 15
> mins when originally it was 15 seconds! Nothing else has been changed
> with this table. Is clustering not good for vacuums?

No. Something else must be happening. Maybe examine the output of
vacuum verbose to see where the time is going?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-09-26 16:37:11 Re: Duplicate public schema and user tables
Previous Message Tom Lane 2007-09-26 16:27:16 Re: Poor performance with ON DELETE CASCADE