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

How to optimize the query? The Explain plan is given below. Its showing no more spool space. - response (2) by dnoeth

$
0
0

1st step: rewrite the NOT IN to NOT EXISTS (rule of thumb: try to avoid NOT IN as much as possible)
And the logic is quite complex, did you check if it could be simplified? The base table is always the same.
Dieter
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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