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


    健康检查项目指标信息

    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相关信息

    1. OEM
    2. ADRCI
    3. 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
  • 相关阅读:
    hospital 基于反射的 在线医疗项目(三)
    hospital 基于反射的 在线医疗项目(二)
    【前端笔记】之 消息提示框
    hospital 基于反射的 在线医疗项目(-)
    【前端笔记】之一个简单好看的的下拉菜单 :select下拉框
    Dubbo和Zookeeper在Linux系统的安装
    记录一下Java String类的常用方法
    myeclipse与tomcat、jdk的安装和配置
    jQuery选择器总结
    js根据2个日期计算相差天数
  • 原文地址:https://www.cnblogs.com/arcer/p/3120890.html
Copyright © 2020-2023  润新知