• [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
  • 相关阅读:
    算法-排序之快速排序
    springMvc Velocity tool 源码分析
    无线端安全登录与鉴权二
    无线端安全登录与鉴权一之Kerberos
    Android ListView OnItemLongClick和OnItemClick事件内部细节分享以及几个比较特别的属性
    dialog横竖屏切换时消失的解决方法
    你还在问android横竖屏切换的生命周期?
    动态添加控件时,计算控件大小的解决方法
    想要生成一组三维的颜色渐变数据?
    一个PHPer如何深入学习ES搜索引擎?
  • 原文地址:https://www.cnblogs.com/arcer/p/3120890.html
Copyright © 2020-2023  润新知