您的位置:首页 > 数据库

[bbk5397] 第93集 -第11章 -数据库诊断 09

2013-06-06 12:30 316 查看

健康检查项目指标信息

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

Handle block corruption:

Verfying block integrity in real time

Performing block media recovery

Set up Automatic Diagnostic Repository

Run health checks
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: