Re: SQL TUNING - Does it make a difference, really?
Date: 1996/06/14
Message-ID: <4ps9ag$kvu_at_nntp1.best.com>#1/1
djetz_at_spots.ab.ca (Doris Jetz) wrote:
>I have read in a couple differency oracle tuning books that using
>explicit cursors will save time if used in place of implicit cursors.
My understanding is that an explicit cursor will save time during the initial statement parse, as Oracle will not need as much information from the data dictionary.
>Will this save a significant amount of time over the extent of the
>application?
Maybe. It depends - as you point out below - on what significant means (>5%?) and the application.
>I know it depends on the size of the app, sql statements, etc. but if
>someone has a general idea - like it may increase the performance
>overall by x% that would help.
What I suggest is that you try it (!), see what it does.
- Take a procedure or trigger with an implicit cursor,
- Run it several times when no one else is on the system,
- Time it and savle the results.
- Change the procedure or trigger to an explicit cursor,
- [repeat steps 2 & 3 above]
- Compare the results.
Regards,
Paul
-- posborn_at_menlosoftware.com Menlo Software http://www.menlosoftware.com 744 College Ave. V:415.324.1286 Menlo Park, CA 94025-5204 USAReceived on Fri Jun 14 1996 - 00:00:00 CEST