Performance of Java stored procedures (too slow)
430128Dec 8 2006 — edited Dec 25 2006Hello,
I have uploaded Java classes to Oracle. But they are executed about 10 times slower than on my PC (as a stand alone module testing with JUnit, not inside Oracle) - 40 sec instead of 4 sec.
My Java classes queries some tables about 3 times (seems it's not a lock) and then calculating 3 matrixes (about 8x8). That calculation seems is indeed the place where it spends a time because it takes about 60 millisecond and it's repeated about 150x5 times.
So, are there any ways to increase the performance? Is it normal that on my PC it works much faster than being uploaded to Oracle? Maybe something wrong with OracleJVM instalation or settings?
Thanks in advance.
Nikolay