2015-04-02 13:02
ORBADA » Documentation in English » Plug-in documentation » Oracle Tune » SQL Profiler view

### 4.A.2.1.1. Introduction

View allows you to run and analyze the results of the mechanism Oracle SQL Profiler.

For proper work of view, it is required that the common scheme or that there are adequate current database objects. The required objects are created by the script PROFTAB.SQL in the directory $(ORACLE_HOME)/RDBMS/ADMIN.

### 4.A.2.1.2. Starting and stopping SQL Profiler

To obtain the results of the SQL Profiler, you must follow the steps below

1. Start - to trigger the mechanism, is the start button, available through the button on the tool panel view on the left side or in menu SQL Profiler.
   After launched, on the list below of the button, you should see an entry for runned profiling.
2. PL/SQL code execution – execute an anonymous block of PL/SQL or function/procedure.
3. Pause – suspend the execution is optional, you can pause it to collect information about execution PL/SQL code by SQL Profiler.
   Suspension involves the conversion of information and displaying them on the list of objects PL/SQL on the right side of view.
4. Resume – used to resume the collecting of information by the SQL Profiler.
5. Stop – will stop the collecting of information, the conversion of all available information and match them to display the available sources of PL / SQL.

Items 2 to 4 can be performed repeatedly.

### 4.A.2.1.3. View results

To view the results of the execution SQL Profiler, you must use the available lists of data.

- List of execution – located on the left side view. It provides a list of executions SQL Profiler for the current session, or all by selecting the [All].
- List of executed objects – located on the right side of the view at the top. Displays the running database objects such as functions/procedures/triggers. Along with the name and location information is also displayed at the time of execution of individual objects as well as the percentage of the object in the entire run.
- List of object code - is in the middle view, and provides the execution times of individual, executed by a database of source code lines.
- Source - after each line object is selected from a list of objects in the source located at the bottom of the view will be highlighted line of code executed.

Information is displayed during performances in nano seconds. To view the data in milliseconds, you should choose [ms] button above the list executions.

### 4.A.2.1.4. Integration with external programs

• Start • Stopping • Pause • Resume • Adjusting the results to display sources •

A set of codes to run SQL Profiler to enable the external systems and software to allow viewing of the results with ORBADA.

ORBADA » Documentation in English » Plug-in documentation » Oracle Tune » SQL Profiler view
• © 2007–2015 • Andrzej Kałuża • Powered By DBPAGES • Hostet at •