Procedure Tuning [message #265435] |
Thu, 06 September 2007 05:39 |
yashora
Messages: 39 Registered: August 2006
|
Member |
|
|
Hi,
I do have a procedure that accepts a cursor which is having an order by clause with it.
After opening the cursor and based on the values that are being generated i need to push those values into temporary table.
After the loop is over, i said commit.
But the question is, i do have millions of rows on hand and the performance has become too slow. Is that due to the "order by" clause i have with the cursor or with the "insert statement"?.
Please advice me to improve the performance.
Thanks in advance.
Yashora
|
|
|
|
|
|
|
|
|