Use Quick Select, Time
Range, Time Zone, and
time slider to set the time period of the SQL
activity that you want to monitor.
You can view and monitor real-time SQL activity for databases in Oracle Cloud Infrastructure using the ASH Analytics tab or the SQL Monitoring tab.
View Real-time SQL Data from ASH
Analytics 🔗
On the Performance Hub page, click ASH
Analytics to display the ASH Analytics tab, if not already
open.
Scroll down to the table containing the list of SQL queries.
Click an ID number in the SQL ID column
to display detailed information about a specific SQL statement. It opens the
Performance Hub SQL Details page.
The Performance Hub SQL Details page contains the
following tabs:
Summary - shows the overall
information about the SQL statement and the SQL plans.
ASH Analytics - shows the
active sessions and two tables. The default information shown
for the SQL query is Wait Class and User Session. You can click
the menu containing the Wait Class option and select a specific
parameter and subparameter to display the associated SQL data.
Click a session in the User Session
column to display the SQL activity during the selected user
session.
Execution Statistics - shows
the SQL statement execution in Tabular Execution Plan or
Graphical Explain Plan.
SQL Monitoring - displays SQL
data for the selected SQL statement. Click an SQL
ID to display detailed data about the SQL
statement. Depending on the database selected, the Details
section includes Plan Statistics, Parallel, SQL Text, and
Activity tabs.
In the Details section of the
page:
Click Plan Statistics
to view the Tabular Execution Plan and Graphical Explain
Plan.
Click Parallel to
view the Parallel Server and the Instances and Parallel
Groups it contains.
Click SQL Text to
view the text of the active SQL query.
Click Activity to view
the active sessions of the database that is selected.
Use the menu on the Details page to view either the
Active Sessions Resource Type or Plan Line of the
selected SQL operation.
Click the Back arrow at the top-left corner of the page
to go back to the ASH Analytics tab.
View Real-time SQL Data from SQL Monitoring 🔗
On the Performance Hub page, click
SQL Monitoring to display the SQL monitoring
tab.
In the SQL ID column, click an ID to
display detailed information about the specific SQL statement execution.
This action displays the Performance Hub Real-time
SQL Monitoring page.
Scroll down to display the SQL activities.
Depending on the database selected, the Details section includes Plan
Statistics, Parallel, SQL Text, and Activity tabs.
In the Details section of the page:
Click Plan Statistics to view the Tabular
Execution Plan and Graphical Explain Plan.