AWR report generation and simple analysis methods

Source: Internet
Author: User

AWR report generation and simple analysis methods
How to generate an AWR report:

Step 1: When the database pressure test card starts: generate the first snapshot:

SQL> exec dbms_workload_repository.create_snapshot ();

Step 2: When the database stress test ends: generate the second Snapshot

SQL> exec dbms_workload_repository.create_snapshot ();

Step 3: generate an AWR report

SQL> @/Oracle/product/10.2.0.5/rdbms/admin/awrrpt. SQL

(1) Select the report file type: html and text

(2) Select the number of days for the snapshot

Enter value for num_days: 1

(3) Select begin's snap and end's snap

(4) Input File Name: for example,/oracle/db_08091530.txt

.

AWR report analysis method:

Note the following:

Db cpu utilization (db time/snap_time/number of cpu cores): 10.5%

Log Buffer: 47 M

Redo size (redo size): 139 M/s

Logical read per second (logical reads): 1400

SQL parsing times (parses): 108

Sorts per second: 6

SQL statement execution per second (executes): 116

Transactions per second (transations): 96

Recursive call ratio (resursive call): 67%

Rows per sort: 51

Buffer nowait: the memory does not wait for data to be obtained: 99.33%

Buffer hit: Process Memory found Data 100%

Redo nowait: log buffer data not waiting: 100%

Library hit: Find the parsed SQL: 100%

Latch hit process obtains the memory structure license ratio: 99%

Parse cpu to parse elapsd: Percentage of pending resolution: 116%

Non-Parse CPU: Percentage of SQL statement execution time to total parsing time: 97.08%

Execute to parse: SQL Reuse Rate: 6.54%

In-memroy sort: Sorting ratio In data memory (pga) memory: 100%

Soft parse: Soft resolution proportion: 100%

 

Memory usage: Memory usage of the Shared Pool.

TOP 5 Timed Events Analysis

Log file sync: Too Many commits. The log buffer of Sga records changes in transactions and blocks.

Log file parallel write: also indicates the IO bottleneck

Generate and view Oracle AWR reports

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Steps for generating an Oracle AWR report

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.