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

Explain plans differ when object (view) names are fully qualified and when they are not - topic by amit.s

$
0
0
Does the optimizer treat a query differently when the object names in the query are fully qualified vs. when they are not fully qualified ? I came across a query which gives one explain plan when the views referenced by the query are fully qualified i.e. <databasename>.<viewname> and it generates an entirely different explain when the views are not fully qualified i.e., just the <viewname> with default database set to the desired <databasename> Also, the query performance is much better with fully qualified names.

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>