Re: Vacuum/Analyze (suddenly) too slow

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com>
Cc: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Vacuum/Analyze (suddenly) too slow
Date: 2007-09-30 10:41:06
Message-ID: 87odfktozh.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com> writes:

> A vacuum analyze that used to take about 3 minutes on a table of about
> 4 million rows is now taking up to 25 minutes. I changed the
> statistics on two index columns to 100 recently, to improve planner
> estimates. Could this have something to do with the lack of speed?

That sounds about right. It's sampling 10x as much of the table and it's
taking almost 10x as long...

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message brian 2007-09-30 15:31:27 Re: Please change default characterset for database cluster
Previous Message Phoenix Kiula 2007-09-30 09:19:46 Vacuum/Analyze (suddenly) too slow