Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Product join and data redistribution - forum topic by asimibm

$
0
0

Hi All,
I am using TD14 version. I have a query, where A table ( large one) is joined with B table (small one), on column A.col1=B.col2. The column col1 is a skewed column having 60% NULL value. col2 of B table is the unique primary index. I am finding the query is going on product join, which is quite expected. But before the joining step, A table (large one) is redistributed on col1. As per my knowledge the table A should not be redistributed, but should be put in memory. And then each row of small table should be compared witht the large table. 
Can any one tell me, why this is happening or this is expected. The statstics are quite fresh and collected on the joining and PI columns.

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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