Instance Sessions

Updated at:

View, export, and terminate current sessions on a database instance in Database Autonomy Service (DAS).

Prerequisites

The target database instance must be connected to DAS and have a status of Normal Access.

Open the session management page

  1. Log on to the DAS console.

  2. In the left-side navigation pane, click Instance Monitoring.

  3. Find the target database instance and click the instance ID.

  4. In the left-side navigation pane of the instance details page, click Instance Sessions.

The Session Management tab opens, displaying two sections: Instance Sessions and Session Statistics.

View and manage instance sessions

In the Instance Sessions section, you can view information such as exceptions, active sessions, the longest execution duration, CPU utilization, and connection usage.

Analyze SQL activity

Click Session Analysis in the Instance Sessions section. In the dialog box that appears, click the 10s SQL Analysis tab to capture query activity over a 10-second window. The tab displays summary information, slow query logs, and an SQL overview. For more information, see 10s SQL analysis.

Throttle SQL traffic

Click SQL Throttling in the Instance Sessions section and configure the parameters in the SQL Throttling dialog box to enable threshold-based SQL throttling on sessions. For more information, see SQL throttling.

Export active sessions

In the Instance Sessions section, export active sessions for offline analysis or record-keeping.

Terminate sessions

To terminate a session, you must enter the account and password of the database in which the session is created. You can also use a database account that has the permissions to terminate the sessions that are created by using other database accounts. For example, you can use a privileged account.

Note

  • In the User column of a session, you can view the database account that is used to create the session.

  • You can click End Session History to view the records of terminated sessions.

View session statistics

The Session Statistics section provides an aggregated view of session activity. Summary information includes the total number of sessions, the total number of running sessions, and the longest session duration.

Group sessions by dimension

View session statistics grouped by the following dimensions:

Dimension

Description

User

Session distribution by database account

Access source

Session distribution by client IP address

Database

Session distribution by database

Export session statistics

Export summary information and session statistics by user, access source, or database.