DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Performance Tuning SP

  1. #1
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865

    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.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    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.

  3. #3
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865
    Quote 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.

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote 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
  •  


Click Here to Expand Forum to Full Width