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

Query with Very High CPU Usage - topic by gv

$
0
0
Hello All, Below query is running fine, but resulting in a Very High CPU Usage. Culprit may be the CASE statement. As per explain plan, this query is "Left Outer joined using Product Join". How come that be avoided to make the CPU Usage Lower? SELECT    ALL_WCS1.ORDER_NBR  , MAX(kcon_ord_dt.kcon_ord_ts) ORDER_DT FROM (  SELECT DISTINCT ORDER_NBR, SUB_ORD_ID    FROM TEMP_TABLE_1 ) X LEFT JOIN

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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