[bbk5361] 第86集 -第11章 -数据库诊断 02
2013-06-05 09:33
190 查看
数据库恢复专家,在进行修复的时候,有2个项选,其中之一是无损修复,另外一种是有损修复,可供DBA选择.
执行ADVISE FAILURE与REPAIR FAILURE命令,必须是在同一个SESSION当中.修复工作,是无法并发操作的.
使用数据库恢复专家,有两种途径:OEM方式及Manual方式,接下来介绍一下Manual方式
Including newly diagnosed failures
Removing closed failures(by default)
Syntax:
Displays a summary of input failure list
Includes a warning,if new failures appeared in ADR
Displays a manula checklist
Lists a single recommended repair option
Generates a repair script(for automatic or manual repair)
Follows the ADVISE FAILURE command
Repairs the specified failure
Closes the repaired failure
Syntax:
Changes the failure priority(except for CRITICAL)(CHANGE FAILURE命令,可以将HIGH级别的故障,修改成LOW级别的故障.但是不可以将CRITICAL级别的故障,修改成HIGH级别的故障.)
Closes one or more failures
Example:
V$IR_FAILURE:List of all failures,including closed ones(result of the LIST FAILURE command)
V$IR_MANULA_CHECKLIST:List of manual advice(result of the ADVISE FAILURE command)
V$IR_REPAIR:List of repairs(result of the ADVISE FAILURE command)
V$IR_FAILURE_SET:Cross-reference of failure and advice identifiers
Invoking proactive health check of the database and its components:
Health Monitor or RMAN VALIDATE DATABAES command
Checking for logical and physical corruption
Finding logged in the ADR
执行ADVISE FAILURE与REPAIR FAILURE命令,必须是在同一个SESSION当中.修复工作,是无法并发操作的.
使用数据库恢复专家,有两种途径:OEM方式及Manual方式,接下来介绍一下Manual方式
Listing Data Failures
The RMAN LIST FAILURE command lists previously executed failure assessment.Including newly diagnosed failures
Removing closed failures(by default)
Syntax:
LIST FAILURE [ ALL | CRITICAL | HIGH | LOW | CLOSED | failnum[,failnum,...]] [ EXCLUDE FAILURE failnum[,failnum,...]] [DETAIL]
Advising on Repair
The RMAN ADVISE FAILURE command:Displays a summary of input failure list
Includes a warning,if new failures appeared in ADR
Displays a manula checklist
Lists a single recommended repair option
Generates a repair script(for automatic or manual repair)
Executing Repairs
The RMAN REPAIR FAILURE command:Follows the ADVISE FAILURE command
Repairs the specified failure
Closes the repaired failure
Syntax:
REPAIR FAILURE [USING ADVISE OPTION integer] [ {{NOPROMPT | PREVIEW}}... ]
Classifying(and Closing) Failures
The RMAN CHANGE FAILURE command:Changes the failure priority(except for CRITICAL)(CHANGE FAILURE命令,可以将HIGH级别的故障,修改成LOW级别的故障.但是不可以将CRITICAL级别的故障,修改成HIGH级别的故障.)
Closes one or more failures
Example:
Data Recovery Advisor Views
Querying V$ views:(查看动态性能视图,查看数据库恢复专家相关的动态性能视图)V$IR_FAILURE:List of all failures,including closed ones(result of the LIST FAILURE command)
V$IR_MANULA_CHECKLIST:List of manual advice(result of the ADVISE FAILURE command)
V$IR_REPAIR:List of repairs(result of the ADVISE FAILURE command)
V$IR_FAILURE_SET:Cross-reference of failure and advice identifiers
Best Practice:Proactive Checks
DBA具备前瞻性的眼光,提前进行健康检查(主动防御、主动检查)Invoking proactive health check of the database and its components:
Health Monitor or RMAN VALIDATE DATABAES command
Checking for logical and physical corruption
Finding logged in the ADR
相关文章推荐
- [bbk5373] 第88集 -第11章 -数据库诊断 04
- [bbk5392] 第92集 -第11章 -数据库诊断 08
- [bbk5378] 第89集 -第11章 -数据库诊断 05
- [bbk5397] 第93集 -第11章 -数据库诊断 09
- [bbk5354] 第84集 -第11章 -数据库诊断 00
- [bbk5357] 第85集 -第11章 -数据库诊断 01
- [bbk5366] 第87集 -第11章 -数据库诊断 03
- [bbk5388] 第91集 -第11章 -数据库诊断 07
- [转]Oracle10g数据库自动诊断监视工具(ADDM)使用指南
- 新浪微博MySQL优化的小结和反思 | 数据库专题02
- 使用SQL_TRACE进行数据库诊断
- Scripts:数据库升级诊断脚本dbupgdiag.sql
- 数据库-02
- ElasticSearch学习_陶文5_【02】把 Elasticsearch 当数据库使:过滤和排序
- 数据库性能诊断的七种武器-图片参考附件
- 使用SQL_TRACE进行数据库诊断
- 诊断Java代码中常见的数据库性能热点问题应该这么做!
- Oracle OCP笔记(02)数据库环境准备
- 常见问题:如何使用AWR报告来诊断数据库性能问题 (文档 ID 1523048.1)
- 【基于SSH框架的个人博客系统02】项目分析与数据库表设计