Bad performance of PL/SQL functions [message #39609] |
Fri, 26 July 2002 00:20 |
James
Messages: 120 Registered: June 2000
|
Senior Member |
|
|
I am writing some functions in PL/SQL that will handle a big database. So the speed is very critical for me.
When I test my functions individually they seem to work fine, but when I test the entire application (ie I call one interface function and it calls other functions to do processing) the application is much much more slower!
Is this normal? I have done everything they suggest to gain speed!
I use PLS_INTEGERs, dont pass any large data structures in IN OUT or OUT mode, use bind variables in SQL queries that are inside loops, use BULK COLLECT to retrieve data from cursors...
But still my response time is dismal....please tell me why this is happening? and what can I do to improve the performance?
James
|
|
|
|
|