Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: reference cursors
The same procedure, minus the refcursor but called with the other parameters exactly the same, can fetch the data in less than a second. A 10046 trace on both methods shows the procedure goes through a lot more work to get the same 70 rows with the refcursor. The procedure (which I did not write) has a bunch of cardinality hints that were apparently required to make it perform worth diddly. Is there something about refcursors that can cause such hints to have no effect?
![]() |
![]() |