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

Update select optimization - response (4) by Jigar

$
0
0
Check if update can be changed to left outer join of insert script of table A. Updates are usually heavy compared to Inserts. See if table is SET table ,on doing updates it might have to scan through other rows to check for duplicate rows.Make it multiset if feasible. Check data types of primary indexes try and align them. Collect stats on PI for both the tables. If they are varchar fields with huge limit try to see alternatives liek using integers.    

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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