Home Discussions Questions & Answers PL/SQL Procedure Running Slow in EBS

PL/SQL Procedure Running Slow in EBS

Avatar photoCustomer February 9, 2020 at 7:27 pm

A custom PL/SQL package we use is running very slowly. We want to use `DBMS_PROFILER` to analyze which lines are consuming the most time. How can I analyze the resulting profiler data easily in Excel?

Viewing 4 reply threads
  • Author
    Replies
    • Support February 9, 2020 at 10:56 pm  

      You can use the DBA DBMS Profiler Data report. This report provides an Excel version of Oracle’s `dbms_profiler` PL/SQL performance analysis.

    • Avatar photoCustomer February 10, 2020 at 6:56 am  

      I heard there are prerequisites for using `DBMS_PROFILER`. What must I ensure about the compilation mode of my PL/SQL code?

    • Support February 11, 2020 at 1:34 am  

      To gather information using `DBMS_PROFILER`, the PL/SQL code must be compiled in INTERPRETED mode, not NATIVE mode. Before compilation, execute `alter session set plsql_code_type=interpreted;`.

    • Avatar photoCustomer February 12, 2020 at 1:40 am  

      Once I run the profiler, what commands do I use to start and stop data collection?

    • Support February 13, 2020 at 2:06 am  

      You use `dbms_profiler.start_profiler(optional run_comment);` to start collection and `dbms_profiler.stop_profiler;` to stop it.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: