Re: Why do my hash joins turn to nested loops?

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

 



pgsql-performance@xxxxxxx writes:
> One query works fast, returning results in under a second.  If I insert 
> one more join into the table however, it switches to nested-loops and 
> takes minutes.

I think you need to raise from_collapse_limit and/or
join_collapse_limit.

			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