健康检查项目指标信息
SQL> select name,internal_check,offline_capable,description from v$hm_check order by 2,3; NAME I O DESCRIPTION ------------------------------ - - --------------------------------------------- Transaction Integrity Check N N Checks a transaction for corruptions Dictionary Integrity Check N N Checks dictionary integrity Undo Segment Integrity Check N N Checks integrity of an undo segment Data Block Integrity Check N Y Checks integrity of a data file block CF Block Integrity Check N Y Checks integrity of a control file block Redo Integrity Check N Y Checks integrity of redo log content ASM Allocation Check N Y Diagnose allocation failure DB Structure Integrity Check N Y Checks integrity of all database files Txn Revalidation Check Y N Revalidate corrupted transaction Logical Block Check Y N Checks logical content of a block Redo Revalidation Check Y Y Checks redo log content NAME I O DESCRIPTION ------------------------------ - - --------------------------------------------- IO Revalidation Check Y Y Checks file accessibility Block IO Revalidation Check Y Y Checks file accessibility Failure Simulation Check Y Y Creates dummy failures ASM Mount Check Y Y Diagnose mount failure ASM Disk Visibility Check Y Y Diagnose add disk failure Archived Log Check Y Y Checks an archived log Log Group Member Check Y Y Checks a particular member of a log group Log Group Check Y Y Checks all members of a log group ASM File Busy Check Y Y Diagnose file drop failure Single Datafile Check Y Y Checks a data file All Datafiles Check Y Y Checks all datafiles in the database NAME I O DESCRIPTION ------------------------------ - - --------------------------------------------- CF Member Check Y Y Checks a multiplexed copy of the control file Mount CF Check Y Y Checks control file in mount mode No Mount CF Check Y Y Checks control file in NOMOUNT mode HM Test Check Y Y Check for health monitor functionality Tablespace Check Check Y Y Checks a tablespace 27 rows selected.
字段中为Y表空为自动检查,N表示手工检查.
在Oracle中,你想实现一种操作目的,往往会有很多可以选择的机会.
用三种方式可以查看Health Monitor相关信息
- OEM
- ADRCI
- V$HM_RUN and DBMS_HM
Health Monitor:Overview
Running Health Checks Manually:PL/SQL Example
Viewing HM Reports Using the ADRCI Utility
Summary
In this lesson,you should have learned how to:
- Detect and repair database corruption:
- Use the new RMAN data repair commands to:
- List failures
- Receive a repair advice
- Repair failures
- Perform proactive failure checks
- Use the new RMAN data repair commands to:
- Handle block corruption:
- Verfying block integrity in real time
- Performing block media recovery
- Set up Automatic Diagnostic Repository
- Run health checks