Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When a Statement is selected, the following Profile Detail tabs are available.

Tab NameDescriptionSupported Platform
OracleSQL Server
SQL TextDisplays the full code of the selected SQL statement.YesYes
SQL DetailsProvides details on statement, like execution statistics.YesNo
EventsProvides database activity details about events the statement is associated with.YesYes
SessionsShows which sessions executed this statement.YesYes
Blockers

Shows which sessions held blocking locks against the session associated with this statement.

Double-clicking an entry on this tab opens that session in the Top Blockers tab, letting you find more information on the blocking session. For details, see Top Blockers Tab (Oracle Specific).

YesNo

tab.

Children Details

Lists all copies of the cursor or SQL query, if Oracle has cached multiple copies of the same statement.

YesNo

Object I/OIf the SQL query has done physical I/O, then these are the objects, such as tables, and indexes that were read to satisfy the query. Temporary objects with not have values in Object and Type columns.YesNoProceduresShows which procedures contain the selected statement.
NoYesBind Variable Details

Shows bind variable information for SQL captured during the Profiling session.

Yes

No

Event selected 

When an Event is selected, the following Profile Detail tabs are available.

Tab NameDescriptionSupported Platform
OracleSQL Server
SQLSQLShows which SQL statements waited on this event.YesYes
SessionsProvides information about the sessions associated with the event. YesYes
Blockers

Shows which sessions held blocking locks against the session associated with this event.

Double-clicking an entry on this tab opens that session in the Top Blockers tab, letting you find more information on the blocking session. For details, see Top Blockers Tab (Oracle Specific).

YesNo
Procedures

Shows which procedures contain the selected event.

NoYes

tab.

Raw Data

Raw data that was sampled from the database, specifically the following:

  • Sample time
  • SID
  • Serial #
  • User name
  • Program
  • Sql ID
  • P1
  • P2
  • P3 
YesNo
Analysis

Displays for "buffer busy waits" and "cache buffer chains latch" waits. The analysis shows data and documentation to assist in solving these bottlenecks.

Yes

No

Session selected

When a Session is selected, the following Profile Detail tabs are available.

Shows which procedures ran the selected sessionYes
Tab NameDescriptionSupported PlatformsOracleSQL Server
Sessions

Provides parameters regarding the session. For example, database server connection information, and data regarding the client tool and application.

Yes

Yes
Blockers

Shows which sessions held blocking locks while this session was active.

No

Double-clicking an entry on this tab opens that session in the Top Blockers tab, letting you find more information on the blocking session. For details, see Top Blockers Tab (Oracle Specific).

Yes

tab.

SQLShows which SQL statements this session ran.YesYes
EventsShows which events this session waited on.YesYesProcedures.No
Info

When right-clicking on a SQL statement in the Top Activity Section in Profiling, if the SQL statement is run by a different user than the user who is running DBO, than the User Mismatch dialog appears, with an example of the following message: “This query was executed by [SOE] and you are currently connected as [system]. We recommend you reconnect as [SOE] to tune the SQL. Would you like to continue anyway?” This message indicates that the statement is being tuned by a user other than the user who originally ran the query, and tables may be missing based on the different schemas. Click OK to run the query, or click Cancel and run tuning under the original user.

...

When a Blocking Session is selected, the following Profiling Detail tabs are available.

Tab NameDescriptionSupported Platform
OracleSQL Server
Blocked Sessions

Provides identifier and V$SESSION session information on the sessions being locked by the blocking session. 

YesNo

Session Details

Provides parameters regarding the session. For example, database server connection information, and data regarding the client tool and application.

YesNo

SQL

Shows the SQL statements associated with the lock.

YesNo
Events

Shows which events the blocking session waited on.

YesNo

Procedure selected

When a Procedure is selected, the following Profile Detail tabs are available.

...

This section also addresses the following topics: 

...


Anchor
_VIEWING_DETAILS_ON_1
_VIEWING_DETAILS_ON_1
Viewing details on the SQL tab

In the Top Activity Session, selecting a statement entry on the SQL tab displays information in the Profiling Details view. The graph portion and details on the event category tabs on the new editor pertain only to the selected statement. Additionally, new tabs become available:

  • SQL Text tab: Shows the full code of the SQL statement. For more information, see SQL Text.
  • SQL Details tab: Displays execution details. For more information, see SQL Details.
  • Events tab: Displays information about the events the selected statement is associated with.

For more information, see Events.

  • Sessions tab: Displays information about the sessions that the selected statement is associated with. For more information, see Sessions.

To select a SQL tab statement entry

  • On the SQL tab, click on a statement with no child nodes or on a leaf node in the statement structure.

The new profiling editor page opens, as reflected by the bread crumb trail at the top left of the editor. You can continue to drill down into the statement, as needed.

Anchor
sqltext
sqltext
SQL text

The SQL Text tab displays

In the Top Activity Session, selecting a statement entry on the SQL tab displays information in the Profiling Details view. The graph portion and details on the event category tabs on the new editor pertain only to the selected statement. Additionally, new tabs become available:

...

the full code of the SQL statement.

...

For more information, see Events.

  • Sessions tab: Displays information about the sessions that the selected statement is associated with. This tab is displayed only for Oracle data sources. For more information, see Sessions.
  • Procedures tab: Displays information about the procedures that contain the selected statement. This tab is displayed only for SQL Server data sources. For more information, see Procedures.

To select a SQL tab statement entry

  • On the SQL tab, click on a statement with no child nodes or on a leaf node in the statement structure.

The new profiling editor page opens, as reflected by the bread crumb trail at the top left of the editor. You can continue to drill down into the statement, as needed.

...

The SQL Text tab displays the full code of the SQL statement. 

Image Removed

...

The SQL Details tab provides information and the execution of the statement and other information related to how it is running. It is only applicable to Oracle data sources:

Image Removed

SQL Details include:

...

The execution statistics of the statement. This category includes disk reads, buffer gets, rows, and values that represent CPU and elapsed time.

...

The Events tab provides details about the events that the statement is associated with. 

Image Removed

...

The Sessions tab provides information about any sessions the statement is associated with: 

Image Removed

Session details include information on different parameters, depending on the platform. For example, on Oracle platforms, the following parameters are displayed: User Name, Program, SID, Serial #, Activity (%), Network Machine Name, and Session Type.

...

The Procedures tab provides information about any procedures containing the selected statement.

Image Removed

The following parameters are displayed on the Procedures tab:

...

Use the color chart on the right-hand side of the Procedures tab to view the procedures load on the data source during the profiling session.

...

 

Image Added

Anchor
sqldetails
sqldetails
SQL details

The SQL Details tab provides information and the execution of the statement and other information related to how it is running.

Image Added

SQL Details include:

ParametersDescription
SQL Identification ValuesThe SQL ID value of the statement. 
Optimizer and Outline ValuesOptimizer-specific values pertaining to the parsing user ID value and outline SID. 
Parsing StatisticsInformation regarding memory, loads, and invalidation values. 
Execution Statistics

The execution statistics of the statement. This category includes disk reads, buffer gets, rows, and values that represent CPU and elapsed time.

Anchor
events
events
Events

The Events tab provides details about the events that the statement is associated with. 

Image Added

Anchor
sessions
sessions
Sessions

The Sessions tab provides information about any sessions the statement is associated with: 

Image Added

Session details include information on different parameters, such as User Name, Program, SID, Serial #, Activity (%), Network Machine Name, and Session Type.

Anchor
_VIEWING_DETAILS_ON_2
_VIEWING_DETAILS_ON_2
Viewing details on the Sessions tab

In the Top Activities Section, selecting a statement entry on the Sessions tab displays information in the Profiling Details view. The graph portion and details on the event category tabs on the new editor pertain only to the selected statement. Additionally, new tabs become available.

Selecting an event type entry on an event category tab opens a new profiling editor page. The graph portion and details on the Sessions tab and event category tabs on the new editor page pertain only to the selected wait event and to SQL statements that waited in that event.

  • Session Details tab: Shows system details about the selected session. For more information, see Session Details.
  • SQL tab: Displays information about the SQL files that the selected session is associated with. For more information, see SQL.
  • Events tab: Displays the time and parameter information about the selected session. For more information, see Events.

Anchor
sessiondetails
sessiondetails
Session details

The Session tab provides further information about the selected session.

Image Added

Anchor
sql
sql
SQL

The SQL tab displays information about the statements associated with the session.

Image Added

SQL statements are listed by the following parameters:

ValueNotes
StatementThe name of the statement.
ExecutionsThe number of times the statement was executed during the session.
Activity (%) A graphical representation of the distribution of execution and wait time for the statement or statement component. 
SQL IDThe SQL ID value of the statement.
Child NumberThe child number in the database. 
Parsing User IDThe ID of the user who parsed the statement. Plan Hash ValueThe execution value of the statement. 
Plan Hash ValueThe execution value of the statement. 

Anchor
events2
events2
Events

The Events tab provides details about the events that the session is associated with.

Image Added

Events are listed by the following values:

ValueNotes
Event NameThe name of the event. 
Activity (%)A graphical representation of the distribution of execution and wait time for the statement or statement component. 

Bind variable details

Profiling captures the bind variables and their attributes. Select an SQL statement in the Profiling Session and the details of the captured bind variables for that statement are displayed here.

Image Added

The following parameters are displayed on the Bind Variable Details tab:

ValueDescription
SQL IDSQL identifier used by the data source. 
Child NumberA new child number is generated for the SQL ID of the query whenever the plan changes, for example the value of a bind variable is changed, and the query is executed again. 
PositionThe position of the variable within the SQL text. For example, given the query, select * from T1 where C1 = :a and C2 = :b and C3 = :c and C4 = :d, the position of a is 1, b is 2, c is 3 and d is 4.
Variable Name

The name of the variable.

Variable TypeThe data type of the variable.
Variable ValueThe value of the variable.

Anchor
_VIEWING_DETAILS_ON
_VIEWING_DETAILS_ON
Viewing details on the Blockers tab

In the Top Activities Section, selecting an entry on the Blocked Sessions tab displays information on sessions holding blocking locks in the Profiling Details view.

Blocked sessions

The Blocked Sessions tab provides general information on blocked sessions and the details identifying the specific row locked.

Image Added 

This tab provides the following columns for each blocked session:

Value

Notes

User Name

The user name under which the blocking session was run.

SID

The SID value of the blocking session.

ROW_WAIT_OBJ#

Object ID of the table containing the row specified in ROW_WAIT_ROW#.

ROW_WAIT_FILE#

Identifier of the datafile containing the row specified in ROW_WAIT_ROW#.

ROW_WAIT_BLOCK#

Identifier of the block containing the row specified in ROW_WAIT_ROW#.

ROW_WAIT_ROW#

The current row being locked.

Session details

The Session Details tab provides information on the server connection, client, and application associated with the blocking session.

Image Added 

SQL

The SQL tab displays information about the statements associated with the blocking session.

Image Added

SQL statements are listed by the following parameters:

ValueNotes
StatementThe name of the statement.
ExecutionsThe number of times the statement was executed during the session

...

In the Top Activities Section, selecting a statement entry on the Sessions tab displays information in the Profiling Details view. The graph portion and details on the event category tabs on the new editor pertain only to the selected statement. Additionally, new tabs become available.

Selecting an event type entry on an event category tab opens a new profiling editor page. The graph portion and details on the Sessions tab and event category tabs on the new editor page pertain only to the selected wait event and to SQL statements that waited in that event.

  • Session Details tab: Shows system details about the selected session. For more information, see Session Details.
  • SQL tab: Displays information about the SQL files that the selected session is associated with. This tab only appears on Oracle platforms. For more information, see SQL.
  • Events tab: Displays the time and parameter information about the selected session. For more information, see Events.
  • Procedures tab: Displays the details of any procedures run in the selected session. For SQL Server data sources only. For more information, see Procedures.

...

The Session tab provides further information about the selected session. The following are examples of the session details provided for different platforms.

Info

The fields that display vary depending on the database platform. 

Oracle profiling details

Image Removed

Microsoft SQL Server

Image Removed

...

The SQL tab displays information about the statements associated with the session.

Image Removed

SQL statements are listed by the following parameters:

...

The Events tab provides details about the events that the session is associated with.

Image Removed

Events are listed by the following values:

ValueNotes
Event NameThe name of the event
Activity (%)A graphical representation of the distribution of execution and wait time for the statement or statement component. 

...

SQL ID

The SQL ID value of the statement.

Child Number

The child number in the database. 

Events

The Events

...

For SQL Server data sources only, the Procedures tab provides details about the procedures events that the blocking session is associated with.

Image Removed

Image Added 

Events are listed by the following valuesThe following parameters are displayed on the Procedures tab:

ValueDescriptionNotes
Procedure NameEventThe name of the procedure that ran during the selected session.
Database NameThe name of the database where the procedure resides.
Procedure IDThe unique ID value of the file where the specified procedure resides. 
ExecutionsThe number of times the procedure was executed during the session.
event. 
DB Activity (%)Use the color chart on the right-hand side of the Procedures tab to view the procedures load on the data source during the profiling session. 

Bind variable details

For Oracle data sources, profiling captures the bind variables and their attributes. Select an SQL statement in the Profiling Session and the details of the captured bind variables for that statement are displayed here.

Image Removed

The following parameters are displayed on the Bind Variable Details tab:

...

The name of the variable.

...

In the Top Activities Section, selecting an entry on the Blocked Sessions tab displays information on sessions holding blocking locks in the Profiling Details view.

Blocked Sessions

The Blocked Sessions tab provides general information on blocked sessions and the details identifying the specific row locked.

Image Removed 

This tab provides the following columns for each blocked session:

...

Value

...

Notes

...

User Name

...

The user name under which the blocking session was run.

...

SID

...

The SID value of the blocking session.

...

ROW_WAIT_OBJ#

...

Object ID of the table containing the row specified in ROW_WAIT_ROW#.

...

ROW_WAIT_FILE#

...

Identifier of the datafile containing the row specified in ROW_WAIT_ROW#.

...

ROW_WAIT_BLOCK#

...

Identifier of the block containing the row specified in ROW_WAIT_ROW#.

...

ROW_WAIT_ROW#

...

The current row being locked.

Session details

The Session Details tab provides information on the server connection, client, and application associated with the blocking session.

Image Removed 

SQL

The SQL tab displays information about the statements associated with the blocking session.

Image Removed

SQL statements are listed by the following parameters:

...

The SQL ID value of the statement.

...

The child number in the database. 

Events

The Events tab provides details about the events that the blocking session is associated with.

Image Removed 

Events are listed by the following values:

...

A graphical representation of the distribution of execution and wait time for the statement or statement component.

Anchor
_VIEWING_DETAILS_ON_3
_VIEWING_DETAILS_ON_3
Viewing details on the Events tab

In the Top Activities Section, selecting a statement entry on the Event tab displays information in the Profiling Details view. The graph portion and details on the event category tabs on the new editor pertain only to the selected statement. Additionally, new tabs become available.

Selecting an event type entry on an event category tab opens a new profiling editor page. The graph portion and details on the Events tab and event category tabs on the new editor page pertain only to the selected wait event and to SQL statements that waited in that event.

  • SQL tab: Shows the statements involved in the selected event. For more information, see SQL.
  • Sessions tab: Displays information about the sessions that the selected event is associated with. For more information, see Sessions.

Anchor
sql2
sql2
SQL

The SQL tab displays information about the SQL statements involved in the selected event.

Image Added

ValueNotes
StatementThe name of the statement. 
SQL IDThe ID value of the SQL statement. 
Child NumberThe child number in the database.
Parsing User IDThe ID of the user who parsed the statement. 
Plan Hash ValueThe execution value of the statement.
CPUCumulative CPU time for the process. (measured in "ticks", an arbitrary unit of time) 
Physical IOCumulative disk reads and writes for the process. (total count) 
Memory UsageNumber of pages in the procedure cache that are currently allocated to this process. A negative number indicates that the process is freeing memory allocated by another process. 
ExecutionsThe number of times the statement was executed. 

...

In the Top Activities Section, selecting a statement entry on the Event tab displays information in the Profiling Details view. The graph portion and details on the event category tabs on the new editor pertain only to the selected statement. Additionally, new tabs become available.

Selecting an event type entry on an event category tab opens a new profiling editor page. The graph portion and details on the Events tab and event category tabs on the new editor page pertain only to the selected wait event and to SQL statements that waited in that event.

  • SQL tab: Shows the statements involved in the selected event. For more information, see SQL.
  • Sessions tab: Displays information about the sessions that the selected event is associated with. For more information, see Sessions.
  • Procedures tab: Displays information about the procedures that ran during the selected event. For more information, see Procedures.

...

The SQL tab displays information about the SQL statements involved in the selected event.

Image Removed

...

The Sessions tab displays the sessions and related information regarding those that were associated with the selected event.

Image Removed

The following parameters are displayed on the Sessions tab:

...

The type of session. 

...

The Procedures tab displays the procedures and related information regarding those that were associated with the selected event.

Image Removed

The following parameters are displayed on the Procedures tab:

ValueNotes
Procedure NameThe name of the procedure that ran during the event. 
Database NameThe name of the database where the procedure resides. 
Procedure IDThe unique ID of the procedure.
ExecutionsThe number of times the procedure ran during the event. 
DB Activity (%)A graphical representation of the distribution of execution and wait time for the procedurestatement or statement component. 

Anchor

...

sessions2
sessions2
Sessions

The Sessions tab displays the sessions and related information regarding those that were associated with the selected event.

Image Added

The following parameters are displayed on the Sessions tab:

ValueNotes
User NameThe user name under which the session was run. 
ProgramThe name of the executable under which the session was run. 
SIDThe SID value of the session.
Serial NumberThe serial number of the machine from which the session executed. 
Activity (%)A graphical representation of the distribution of execution and wait time for the statement or statement component. 
MachineThe machine name and network location of the machine from which the session executed. 
Session Type

The type of session. 

...

In the Top Activities Section, selecting a procedure entry on the Procedure tab displays information in the Profiling Details view. The graph portion and details on the procedure category tabs on the new editor pertain only to the selected procedure. Additionally, new tabs become available.

Selecting a procedure type entry on a procedure category tab opens a new profiling editor page. The graph portion and details on the Procedure tab and procedure category tabs on the new editor page pertain only to the selected procedure and to SQL statements that waited in that procedure.

...


Anchor
sqltext2
sqltext2
SQL text

...

ValueNotes
User NameThe user name under which the session was run. 
ProgramThe name of the executable under which the session was run.
SIDThe SID value of the session.
Serial NumberThe serial number of the machine from which the session executed. 
Activity (%)A graphical representation of the distribution of execution and wait time for the statement or statement component. 
MachineThe machine name and network location of the machine from which the session executed. 
Session TypeThe type of session. 

For the Oracle Platform, you You can kill a session by right-clicking the entry on the Sessions tab and choosing Kill Session. You can start a trace on a session by right-clicking the entry on the Sessions tab, and then choosing Trace. For more information, see Killing an Oracle Session and Tracing an Oracle Session.