Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [GENERAL] Vacuum/Analyze (suddenly) too slow

From: Gregory Stark <stark(at)enterprisedb.com>
Date: Sun Sep 30 2007 - 06:41:06 EDT


"Phoenix Kiula" <phoenix.kiula@gmail.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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
Received on Sun Sep 30 06:44:33 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 11:58:32 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library