Re: Cluster vs. non-cluster query planning

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

 



Nolan Cafferky <Nolan.Cafferky@xxxxxxxxxxxxxxxxxx> writes:
> After some more digging on the mailing list, I found some comments on 
> effective_cache_size.  Bringing it up from the default of 1000 does pust 
> the estimated cost for the index scan below that of the sequential scan, 
> but not by much. 

The first-order knob for tuning indexscan vs seqscan costing is
random_page_cost.  What have you got that set to?

			regards, tom lane


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

  Powered by Linux