Re: Planner selects different execution plans depending on limit

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

 



> Tom Lane <tgl@xxxxxxxxxxxxx> writes:
>> Bill Martin <bill.martin@xxxxxxxxxxxxx> writes:
>> I've tried different values for the statistics but it is all the same (the planner decide to switch to a seqscan if the limit is 10).

>> ALTER TABLE core_content ALTER column content SET STATISTICS 1000;

> Um, did you actually do an ANALYZE after changing that?
> 
> 			regards, tom lane

Yes, I've run the ANALYZE command.

Regards,
Bill Martin

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux