Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Why explain plan is so off - forum topic by pmehrotr

$
0
0

 
I am new to Teradata. I am doing an explain on a  sql statement
select * from myview
where myview is a join of 10 tables.
 
I see in last few line of explain
"     statement 1.  The total estimated time is 4,122,259 hours and 25 minutes:.
But when I run the sql statement, it only took 5 minutes. I think there is no statistics on any of the tables.
Still why explain is so far off with the actual execution time.
 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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