Search Postgresql Archives

Re: Vacuum/Analyze (suddenly) too slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux