Note
- This view is available starting with V4.3.5 for V4.3.x.
- This view is available starting with V4.2.2 for V4.2.x.
Purpose
The DBA_WR_EVENT_NAME view displays the names of tenant-level wait events after they are persisted.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| EVENT_ID | NUMBER(38) | NO | The ID of the wait event. |
| EVENT_NAME | VARCHAR2(64) | YES | The name of the wait event. |
| PARAMETER1 | VARCHAR2(64) | YES | The name of wait event parameter 1. |
| PARAMETER2 | VARCHAR2(64) | YES | The name of wait event parameter 2. |
| PARAMETER3 | VARCHAR2(64) | YES | The name of wait event parameter 3. |
| WAIT_CLASS_ID | NUMBER(38) | YES | The ID of the wait event category. |
| WAIT_CLASS | VARCHAR2(64) | YES | The name of the wait event category. |
The values in the WAIT_CLASS column of this view indicate the types of wait events and their corresponding IDs, as shown in the following table.
| Wait event category | Wait event ID | Description |
|---|---|---|
| OTHER | 100 | A wait event that does not belong to any other category. |
| APPLICATION | 101 | A wait event caused by client code. |
| CONFIGURATION | 102 | A wait event caused by insufficient database or instance resources. |
| ADMINISTRATIVE | 103 | A wait event caused by a database administrator's command. |
| CONCURRENCY | 104 | A wait event for internal database resources. |
| COMMIT | 105 | A wait event related to log commits. |
| IDLE | 106 | A wait event for an inactive session. |
| NETWORK | 107 | A wait event related to network communication. |
| USER_IO | 108 | A wait event for user I/O. |
| SYSTEM_IO | 109 | A wait event for background process I/O. |
| CLUSTER | 111 | A wait event related to a cluster. |
Sample query
Query the names of tenant-level wait events after they are persisted, and display the first record.
obclient [SYS]> SELECT * FROM SYS.DBA_WR_EVENT_NAME WHERE ROWNUM = 1;
The query result is as follows:
+----------+-----------------------------------+------------+------------+------------+---------------+-------------+
| EVENT_ID | EVENT_NAME | PARAMETER1 | PARAMETER2 | PARAMETER3 | WAIT_CLASS_ID | WAIT_CLASS |
+----------+-----------------------------------+------------+------------+------------+---------------+-------------+
| 0 | latch: latch wait queue lock wait | address | number | tries | 104 | CONCURRENCY |
+----------+-----------------------------------+------------+------------+------------+---------------+-------------+
1 row in set