How to use the Automatic Database Diagnostic Monitor(一)
Oracle9i and before, DBA may access Oracle performance statistics by using tools such as STATSPACK;
In Oracle 10g, the database by default takes Automatic Workload Repository (AWR) snapshots 。
1. AWR(Automatic Workload Repository)
AWR data is flushed from memory to disk using internal kernel calls and a dedicated background process (MMON).
Data collecting doesn't require manual configuration, like Statspack snapshots in previous releases.
AWR provides automatic purging of data (7 days by default)
AWR snapshots can be preserved so that they are not purged
EXECUTE dbms_workload_repository.create_snapshot();
2.ASH (Active Session History)
collects samples of active sessions every second
3.ADDM(Automatic Database Diagnostic Monitor)
ADDM is a powerful self-diagnostic engine ,ADDM is invoked automatically every time that a new AWR snapshot is generated.
Manually generate a new ADDM report:
$ORACLE_HOME/rdbms/admin/addmrpt.sql
4.Use AWR rather than statspack
because:
The repository is created and maintained automatically
The report can be generated in text or html mode
The report displays additional information regarding wait classes, metrics, OS stats, etc
To generate an AWR report :
$ORACLE_HOME/rdbms/admin/awrrpt.sql
參考文獻:
1.Note 276103.1- PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES
2.Note 250655.1 - How to use the Automatic Database Diagnostic Monitor
3.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-600644/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ADDM: Automatic Database Diagnostic MonitorDatabase
- 自動資料庫診斷監控 ADDM(Automatic Database Diagnostic Monitor)!資料庫Database
- How to use rman backup a noarchivelog databaseHiveDatabase
- Automatic Diagnostic Repository (ADR)
- Automatic Diagnostic Repository (ADR) in Oracle Database 11g Release 1 (ADRCI)OracleDatabase
- 11g_Automatic_Diagnostic_Repository
- how to use typeset?
- how to use coffee script
- In Oracle,How to use dumpOracle
- How to monitor data transaction on one table
- Automatic Diagnostic Repository (ADR) with Oracle Net for 11gOracle
- How to Quiesce a DatabaseUIDatabase
- 翻譯|How to Use the useReducer HookuseReducerHook
- how to use ghd hair straightenerAI
- How to use hints in Oracle sql for performanceOracleSQLORM
- How to Monitor the Progress of a Materialized View Refresh (MVIEW)ZedView
- How to Perform a Healthcheck on the DatabaseORMDatabase
- How to enable the flashback database:Database
- How a Database Is Mounted (293)Database
- How to use Qt Designed Ui fileQTUI
- How to use sql result stored on shell variable?SQL
- How to use "for/" batch command in Dos extentionBAT
- How to Monitor UGA, PGA and Cursor Usage Per SessionSession
- Database Testing: How to Regression Test a Relational DatabaseDatabase
- How to Perform a Health Check on the DatabaseORMDatabase
- [原創] How to Quiesce a DatabaseUIDatabase
- How a Standby Database Is Mounted (295)Database
- How a Clone Database Is Mounted (296)Database
- How to check Database corrupt BlockDatabaseBloC
- How does one rename a database?Database
- How To Use Virtual Column-Based Partitioning
- The Self-Managing Database: Automatic Performance Diagnosis(一)原文翻譯DatabaseORM
- Exclusive access could not be obtained because the database is in useAIDatabase
- [Shell] monitor oracle database listener & instance statusOracleDatabase
- React 16.0+ 新特性初探(How to use)React
- How to use ASMCA in silent mode to configure ASMASM
- How to Relink Oracle Database SoftwareOracleDatabase
- How to Shrink Undo Segment In Oracle DatabaseOracleDatabase