Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

tuning the Skewed joins - response (1) by dnoeth

$
0
0

Hi Suresh, 
a typical solution would duplicate the query, the first with a condition "WHERE col = skewed_value" and the other "WHERE col <> skewed_value" and UNION ALL both selects.
Of course the optimizer needs statistics on the join columns.
 
Dieter


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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