Automatic Workload Repository (AWR)

简介: Automatic Workload Repository (AWR)

image.png

Manageability Monitor Processes (MMON and MMNL)
The manageability monitor process (MMON) performs many tasks related to the Automatic Workload Repository (AWR). For example, MMON writes when a metric violates its threshold value, taking snapshots, and capturing statistics value for recently modified SQL objects.

The manageability monitor lite process (MMNL) writes statistics from the Active Session History (ASH) buffer in the SGA to disk. MMNL writes to disk when the ASH buffer is full.

https://docs.oracle.com/cd/E11882_01/server.112/e40540/cncptdba.htm#CNCPT860
Automatic Workload Repository (AWR)
Automatic Workload Repository (AWR) is a repository of historical performance data that includes cumulative statistics for the system, sessions, individual SQL statements, segments, and services. These statistics are the foundation of performance tuning. By automating the gathering of database statistics for problem detection and tuning, AWR serves as the foundation for database self-management.

As shown in Figure 18-8, the database stores recent AWR statistics in the SGA. By default, the MMON process gathers statistics every hour and creates an AWR snapshot (see "Manageability Monitor Processes (MMON and MMNL)"). A snapshot is a set of performance statistics captured at a specific time. The database writes snapshots to the SYSAUX tablespace. AWR manages snapshot space, purging older snapshots according to a configurable snapshot retention policy.

Automatic Workload Repository (AWR)
Automatic Workload Repository (AWR) is a repository of historical performance data that includes cumulative statistics for the system, sessions, individual SQL statements, segments, and services. These statistics are the foundation of performance tuning. By automating the gathering of database statistics for problem detection and tuning, AWR serves as the foundation for database self-management.
image.png

As shown in Figure 18-8, the database stores recent AWR statistics in the SGA. By default, the MMON process gathers statistics every hour and creates an AWR snapshot (see "Manageability Monitor Processes (MMON and MMNL)"). A snapshot is a set of performance statistics captured at a specific time. The database writes snapshots to the SYSAUX tablespace. AWR manages snapshot space, purging older snapshots according to a configurable snapshot retention policy.

相关文章
|
6月前
|
SQL Oracle 关系型数据库
oracle Automated Maintenance Tasks
#Automated Maintenance Tasks
31 0
|
6月前
|
SQL OLAP
Automatic Workload Repository Views
Automatic Workload Repository Views
29 0
|
存储
Oracle-AWR管理包DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS
Oracle-AWR管理包DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS
140 0
|
分布式计算 Spark
《OPTIMIZING SPARK DEPLOYMENTS FOR CONTAINERS ISOLATION,SAFETY,AND PERFORMANCE》电子版地址
OPTIMIZING SPARK DEPLOYMENTS FOR CONTAINERS: ISOLATION,SAFETY,AND PERFORMANCE
77 0
《OPTIMIZING SPARK DEPLOYMENTS FOR CONTAINERS ISOLATION,SAFETY,AND PERFORMANCE》电子版地址
Automatic Workload Repository Views
Automatic Workload Repository Views
94 0
|
Oracle 关系型数据库
How to Recreate the Automatic Workload Repository (AWR)? (Doc ID 782974.1)
How to Recreate the Automatic Workload Repository (AWR)? (Doc ID 782974.1)
190 0
|
SQL Oracle 关系型数据库
Troubleshooting: Missing Automatic Workload Repository (AWR) Snapshots and Other Collection Issues (Doc ID 1301503.1)
Troubleshooting: Missing Automatic Workload Repository (AWR) Snapshots and Other Collection Issues (Doc ID 1301503.1)
751 0