-
Performance Tuning SP
For report generation, the following is being done:
1) Data is fetched using explicit cursor
2) Fetched data is collected into a PL/SQL table
3) Data is processed & returned as ref cursor using pipeline table function
What options are available to fine tune this activity?
Thanks in advance.
-
Hard to say having only such a high level description of the scenario.
Steps #2 and #3 are in-memory operations therefore you can expect good performance if nothing real weird was designed there.
How about step #1?... has the specific query has a nice looking explain plan an a reasonable performance?
Finally, may we know why are you looking into fine tunning it?
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
-
Originally Posted by PAVB
Hard to say having only such a high level description of the scenario.
Steps #2 and #3 are in-memory operations therefore you can expect good performance if nothing real weird was designed there.
How about step #1?... has the specific query has a nice looking explain plan an a reasonable performance?
Finally, may we know why are you looking into fine tunning it?
Thanks for the inputs.
Options are being explored to reduce the execution time of the report by fine tuning the stored procedure.
-
Originally Posted by ggnanaraj
Options are being explored to reduce the execution time of the report by fine tuning the stored procedure.
...so? how about the actual query retrieving data from the database?
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|