Working with Oracle 8.1.7. Unix AIX
We are running a stored procedure that sets up a cursor using a select distinct from three relatively small tables. The cursor then goes through a series (15 to be exact) of if statements to identify what account the row belongs to using one table and 4 where statements (nothing real complex). Each one that matches is then stored in a variable counter.
With 6 other clients this procedure runs in less than 2 minutes, with this ONE client, it takes over 15 hours to complete, running at a snails pace. The dba has indicated that he has checked indexes as well as updated statistics. I am not a dba and am looking for anything someone can offer.
Is there any other possible explantion for this? Something simple we may be over looking like shared memory or something ?
Help or suggestions are much appreciated.
We are running a stored procedure that sets up a cursor using a select distinct from three relatively small tables. The cursor then goes through a series (15 to be exact) of if statements to identify what account the row belongs to using one table and 4 where statements (nothing real complex). Each one that matches is then stored in a variable counter.
With 6 other clients this procedure runs in less than 2 minutes, with this ONE client, it takes over 15 hours to complete, running at a snails pace. The dba has indicated that he has checked indexes as well as updated statistics. I am not a dba and am looking for anything someone can offer.
Is there any other possible explantion for this? Something simple we may be over looking like shared memory or something ?
Help or suggestions are much appreciated.