I have so much queries similar to
select t1.c1,t1.c2,...,
t2.c1,..., procedure_very_big(t1.c1,t4,c2) ,t4.c4
from t1 ,t2, t3, t4
where ...;
rrrrr data rrrrrrr
rrrrr data rrrrrr
rrrrr data rrrrrr
3 rows selected
The execution takes several minutes,even hours.
And my question is
Is the Oracle calling the procedure for all the rows
of the join , or it is only calculating for the 3 rows
of the result set.
Please quick answer
Thanks in advance
select t1.c1,t1.c2,...,
t2.c1,..., procedure_very_big(t1.c1,t4,c2) ,t4.c4
from t1 ,t2, t3, t4
where ...;
rrrrr data rrrrrrr
rrrrr data rrrrrr
rrrrr data rrrrrr
3 rows selected
The execution takes several minutes,even hours.
And my question is
Is the Oracle calling the procedure for all the rows
of the join , or it is only calculating for the 3 rows
of the result set.
Please quick answer
Thanks in advance