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

Spool space issue while Inserting into Table - response (5) by sureshv

$
0
0
Hi , i have a query . In that left join is costing more and its showing 8 min in plan.  One of the  joining column is highly skewed with a single value.  can anybody suggest how can i make that join work fast.   SELECT COL1, COL2, TRIM(COL3) COL3 ,   FROM TABLE  A    LEFT JOIN ( SELECT COL1 , COL2, CAST(COL3 AS VARCHAR(50)) COL3,   FROM TABLE B  )   SALES_ORDER_CSCC    ON TABLE A .COL3  = TABLE B.COL3     TABLE A.COL3 is skewed with 'UNKNOWN'   Thanks, Suresh.  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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