This content has been marked as final. Show 2 replies
Thanks for the reply.
Problem is that the query has Xquery code inside and it's using the XMLType indexes. That's why it does not seem to be using the XML Indexes even by Hints.
I have posted the scenario in XMLDB Forum as well:
Re: Table in Schema1 using XMLIndexes But not in View- Schema2
But can you think of any harm if I try to create Baseline and tag the query with it.
So even in other schema if the same query is fired it will use the right Explain Plan.
I am not able to figure out any other way right now.