Topic: Performance & Tuning >> Cursor optimization
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Cursor optimization |
| leomar |
Posted: Sep 28, 2006 06:08:02 AM |
Total Post: 2
Joined: Sep, 2006
|
Hi!
Pls, I need you.
I have a pl-sql procedure which take a long time to be executed. Due to an analisys make on this procedure, I saw there are two cursor that take too much time releted to the total time.
The query performed by these cursor are very complicated and involved more table that contains many data.
So, cause the cursor, for each row fetched, need to do other operations, the big amount of time is caused by the big amount of data.
Hence the question is: make sense to add index to the tables involved in the query used by the cursor, or use hints or use other similar solutions?
Thanks a lot to all.
Also the more simplex suggestion is appreciated.
|
|
|
PP |
| Posted: Oct 26, 2006 01:32:52 AM | |
|
Total Post: 11
Joined: Oct, 2006
|
Can't say anything without seeing the query, it's execution plan, statistics, table statistics ............
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 239 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|