Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Improving performance of calculations in PL/SQL
Hello,
I've been drafted in to a project to improve performance of a batch run. At the moment it's taking over 100 hours to run. I've done a load of obvious things but have only got about a 20-25% improvement in performance.
The main guts of the application is a series of loops, but it's not doing anything particularly complicated. So I thought to myself, is there something wrong in the Oracle set-up.
I ran the following script on our development machine to mimic the sort of calculations that need doing:
t NUMBER := DBMS_UTILITY.get_time(); w NUMBER := 0; x NUMBER := 0.1; y NUMBER := 0; z NUMBER := 1;
That's on our HP-UX machine running 8.1.7.4
Hmmm .. I wonder. I tried it on production and got much the same. Then I tried it on my PC (default install) and it came back with 11.27 seconds.
So my PC is nearly 3 times quicker than the Unix machine!
Can anybody suggest where I might suggest the DBA may look to improve the performance?
Thanks
CE Received on Mon Jan 26 2004 - 04:21:56 CST