The previous work has less analysis on AWR, but AWR is an important tool for analyzing database performance. Therefore, this article provides a preliminary study and summary. For AWR, we must know the R
The previous work has less analysis on AWR, but AWR is an important tool for analyzing database performance. Therefore, this article provides a preliminary study and summary. For AWR, we must know the R
The previous work has less analysis on AWR, but AWR is an important tool for analyzing database performance. Therefore, this article provides a preliminary study and summary. With regard to AWR, we certainly know that Graham Wood, one of the heavyweight guests of RWP's China trip some time ago, is called the father of AWR inside Oracle, he explained in the activity that every data in AWR is carefully selected. By carefully analyzing the data, we can see that many of the problems are hidden.
As an important part of DBA's daily work, the AWR report inspection and analysis can understand various database indicators and operation statuses during the daily peak hours, and observe and baseline changes through the comparison report, through trend analysis, you can continue to pay attention to the daily running status of the database. However, an AWR report has many indicators. The following lists several important indicators:
Platform information: CPU information, memory information, host system information, etc.
Oracle version: The version information shows whether new features are enabled in the problem analysis, and some parameters have been abandoned.
Elapsed time: mainly refers to the interval between two snapshots of an AWR database. For example, if the default interval of an AWR snapshot is one hour, Elapsed time is 60 minutes;
DB time: depicts the overall load of the database. It can be understood as the busy time of the database. For example, it takes 1 S to process a transaction, but 10000 requests were made within 1 hour, the DB time is 10000 S;
Average Active Session AAS = DB time/Elapsed Time: Average number of sessions, indicating an Average number of performance reports during an AWR interval, reflecting a database load, the higher the value, the more busy the database. The lower the value, the more idle the database.
Logical Read: describes how the database reads data from the database Buffer Cache. Unit: number of times * number of blocks, for example, 196,888 * db_block_size = 1538 MB/s. The Logical Read consumes CPU. latch is often displayed: cache buffer chains waiting. A large number of OLTP systems (such as siebel) can reach dozens or even hundreds of Gbytes.
Physical Read: describes how a database reads data from a storage device. The number of Read operations per unit X number of data blocks, for example, 5076*8 k = 39 MB/s. Physical reads consume I/O reads, it is reflected in different dimensions such as IOPS and throughput, but reducing physical read may mean more CPU consumption. Good storage capacity can reach several GB per second, for example, Exadata. This physical read contains physical reads cache and physical reads direct.
Physical writes: mainly describes the number of times that DBWR writes to datafile *, and the direct path write. If dbwr is written slowly for a long time, it will lead to a regular wait for the log file switch (checkpoint no complete) checkpoint to be completed. This physical write contains physical writes direct + physical writes from cache.
Parses: number of resolutions, including soft resolution + hard resolution
Soft Parse: Soft resolution ratio, data source v $ sysstat statistics's parse count (total) and parse count (hard ). Reasonable value> 95%
There are many indicators. Sort these indicators in a simple way.
This article permanently updates the link address: