H.Tonguç Yılmaz – Oracle Blog

January 1, 2007

Which one perform better for the same job : Oracle Function or Oracle View

Filed under: Oracle Performance — H.Tonguç Yılmaz @ 4:06 pm

Ok lets try and see, as usual :)

Code listing 35 : Oracle View or Function performs better for the same job

Conclusions; same amount of I/O to do the same thing but view option used less latching and ran faster(older releases will show a larger disparity between the run times). Again time to remember the “Universal mantra on data intensive processing” : don’t use plsql when plain old sql will do it for you ;)

Testing Information : the scripts mentioned are tested on Oracle Database 10g Express Edition Release 10.2.0.1.0

Refences Used :
http://asktom.oracle.com/tkyte/runstats.html
Related AskTom Thread

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.