I am new to tuning and I am trying hard learn things as Oracle is like an ocean. I have a query built on views that is running longer. I have query like:
select t2.col1,t2.col2
from vw_tab1 t1,vw_tab1 t2,tab3 t3
where t1.col3=123
and t2.col3<>123
and t2.col4=t1.col5
AND t3.col2=t2.col2;
We are using single view multiple times in the same query. Does this run the query in view twice? Suggestions much appreciated. I am running this query in Oracle 11g single instance database.