zoukankan      html  css  js  c++  java
  • [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
  • 相关阅读:
    通过在vs中”程序包管理器控制台“的输入命令来实现下载和安装所需版本的Mysql.data和Mysql.Data.Entity.EF6
    ireport使用问题
    mysql数据库迁移到达梦数据库
    Idea配置热部署
    阿里云双12年终钜惠
    移动端弹性布局方案lib-flexible实践
    阿里云服务器2折起
    javascript百度地图使用(根据地名定位、根据经纬度定位)
    js拖拽上传图片
    javascript xml转json
  • 原文地址:https://www.cnblogs.com/arcer/p/3120890.html
Copyright © 2011-2022 走看看