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