mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 23:17:19 +02:00
by adding a requirement that build_join_rel add new join RelOptInfos to the appropriate list immediately at creation. Per report from Robert Haas, the list_concat_unique_ptr() calls that this change eliminates were taking the lion's share of the runtime in larger join problems. This doesn't do anything to fix the fundamental combinatorial explosion in large join problems, but it should push out the threshold of pain a bit further. Note: because this changes the order in which joinrel lists are built, it might result in changes in selected plans in cases where different alternatives have exactly the same costs. There is one example in the regression tests. |
||
---|---|---|
.. | ||
examples | ||
locale | ||
mb | ||
performance | ||
regress | ||
thread | ||
Makefile |