Using Automatic Workload Repository Views
Typically, you would view AWR data using Oracle Enterprise Manager Cloud Control (Cloud Control) or AWR reports. However, you can also view historical data stored in the AWR using the following DBA_HIST
views.
Table 6-1 DBA_HIST Views
DBA_HIST View | Description |
---|---|
|
Displays the history of the contents of the in-memory active session history for recent system activity. |
|
Displays information about the baselines captured on the system, such as the time range of each baseline and the baseline type. |
|
Displays details about a specific baseline. |
|
Displays information about the baseline templates used by the system to generate baselines. |
|
Displays historical system time model statistics, including OLAP timed statistics. |
|
Displays the historical information about the system metric values. |
|
Displays history of the statistical summary of all the metric values in the system metrics for the long duration (60 seconds) group. |
|
Displays historical system statistics, including OLAP kernel statistics. |
|
Displays historical information about the total waits for an event. |
|
Displays information about the database environment. |
|
Displays historical predictions of the number of physical reads for the cache size corresponding to each row. |
|
Displays historical information for each dispatcher process at the time of the snapshot. |
|
Displays statistical information about the dynamic remastering process. |
|
Displays historical I/O statistics aggregated by file type and function. |
|
Displays historical information about the Resource Manager metrics for pluggable databases (PDBs) for the past one hour. |
|
Displays historical information about the Resource Manager metrics for consumer groups for the past one hour. |
|
Displays historical information for shared servers, such as shared server activity, common queues and dispatcher queues. |
|
Displays information on snapshots in the system. |
|
Displays the SQL execution plans. |
|
Displays the settings for controlling AWR. |
|
Displays the settings and metadata of the AWR. |
|
Displays CPU and wait time for a process type. |
Note:
In a multitenant environment, these DBA_HIST
views can also be interchanged with the AWR_ROOT
views and AWR_PDB
views at the CDB level and the PDB level respectively.
For example, you can use the AWR_PDB_ACTIVE_SESS_HISTORY
view for retrieving the AWR data about the active session history at the PDB level, which is equivalent to the DBA_HIST_ACTIVE_SESS_HISTORY
view in an independent database in a non-multitenant environment. The AWR_PDB
views will not show any AWR data, if the PDB level snapshots have not been collected.
Refer to AWR Views for more details.
See Also:
Oracle Database Reference for more information about the DBA_HIST
views