avatar

DBAtlas

SELECT idea tip FROM db

  • Oracle
  • PostgreSQL
  • MySQL
  • Misc
  • About
Home Create and analyze Oracle AWR
文章

Create and analyze Oracle AWR

Posted 9 days ago Updated 9 days ago
By Jonas 已删除用户
2~2 min read

Oracle AWR (Automatic Workload Repository) provides an insight of a running Oracle database by periodically, e.g. every 15 min, collecting different system metrics (CPU, memory, I/O, wait events, etc.).

Generate AWR report

connect oracle with OS authentication:

sqlplus / as sysdba

run the sql statments:

@?/rdbms/admin/awrrpt.sql

answer the questions like report type with html or plain text, range of snapshot IDs, report name, etc. After that the report with the given name is saved in the current directory where sqlplus is started.

Remarks

AWR in Oracle is activated by default with one hour snapshot interval and retention time is 8 days. So snapshots older than 8 days will be removed. All snapshots can be accessed by selecting the view DBA_HIST_SNAPSHOT.

Oracle
AWR
License:  CC BY 4.0
Share

Further Reading

Aug 31, 2025

Create and analyze Oracle AWR

Oracle AWR (Automatic Workload Repository) provides an insight of a running Oracle database by periodically, e.g. every 15 min, collecting different s

Aug 30, 2025

Rotate oracle alert logs

Using adrci is a good solution to rotate the oracle alert logs.

Aug 28, 2025

Use impdp with non-SYS user

Running impdp with dba is convinient, but can be risky. create a dedicated user for specific impdp tasks would be more secure. About DATA_PUMP_DIR it

OLDER

Rotate oracle alert logs

NEWER

WindTerm - open source SSH and terminal manager

Recently Updated

  • Virtualbox turtle in Win11 24H2
  • Configure TLS for Oracle 19c
  • WindTerm - open source SSH and terminal manager
  • Create and analyze Oracle AWR
  • Rotate oracle alert logs

Trending Tags

DataPump AWR ARM64 DataGuard Alert Log RAC Virtualbox

Contents

©2025 DBAtlas. Some rights reserved.

Using the Halo theme Chirpy