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

How to force duplication of the rows from a small table on all AMPs - response (8) by Qaisar Aftab Kiani

$
0
0
Hi Ayush, In that case the join will cost more as you are joining two non-index columns. TD will be redistributing the data for both of the tables on the joining columns to make sure that the data is on the same amp while joining. As long as tableb has the UPI on the join column, it won't be redistributed! Is it possible that you can create the SI on the tablea.col1 only? The subtable rows will be on the same amp as tableb and will help the optimizer... JI is one of the things that could help your query run faster. But not sure whether you will be allowed to create a JI on tablea or not!  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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