Quantcast
Channel: Planet PostgreSQL
Viewing all articles
Browse latest Browse all 9644

Andrew Dunstan: The best laid plans ...

$
0
0
For the second time in a few weeks I have had to resort to some ugly manipulation of server settings to get a query to run faster. In both cases the problem has been that a merge join has been preferred over a much faster nested loop or hash join. It's results like these that lead to people calling for explicit planner hints. I understand the reason for us not doing so, but the end result is that people use their own workarounds which are almost always uglier and suffer the same defects as planner hints.

Viewing all articles
Browse latest Browse all 9644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>