PL SQL procedure optimization [message #271469] |
Mon, 01 October 2007 13:28  |
pa1sas3
Messages: 29 Registered: June 2005
|
Junior Member |
|
|
I have a procedure that uses a pl/sql collection - having roughly 8000 rows. There are many validations (around 25 queries) on tables with 100,000 rows.
It takes 55-70 minutes for the procedure to run.
Any leads as to if we can make it faster. All the queries are tuned up. Any suggestions on the DB server parameters that could be set/changed (if at all) will be helpful.
Thanks.
|
|
|
|
|
|
|
Re: PL SQL procedure optimization [message #271551 is a reply to message #271497] |
Tue, 02 October 2007 00:46  |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
In addition to earlier suggestions:
Do you need to do these validations using pl/sql? Can't (at least) some of them be done using a single sql?
Do you use bulk fetches to get each set of 8000?
Lots of things to consider
|
|
|