Summary: in this tutorial, you will learn how to generate the AWR report in the oracle database,
Subtitles:
- What is the AWR report?
- How to generate the AWR reports?
- What is the AWR report?
- AWR stands for Automatic Workload Repository
- AWR report has data on database activity between two points in time – two snapshots.
- The Automatic Workload Repository (AWR) collects, processes, and maintains performance statistics for the oracle database.
- It's easy to understand Where exactly struck the SQL queries.
- AWR reports providing an excellent recommendation for an SQL plan for that particular SQL statement.
- How to generate the AWR reports?
- Log in to the database server.
- Set the ORACLE_HOME environment variable.
- Change the directory to $ORACLE_HOME/rdbms/admin.
- Login sqlplus utility
- Execute the script 'awrrpt.sql' like @awrrpt.sql;. This script resides at $ORACLE_HOME/rdbms/admin.
- Execute the below command and select the file formats
- Once You choose the days it will provide the snapid start- end.
0 Comments