加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Oracle数据库异常恢复检查脚本(Oracle Database Recovery Check)

发布时间:2020-12-12 15:48:27 所属栏目:百科 来源:网络整理
导读:Oracle Database Recovery Check 介绍 根据多年来的数据库恢复经验,提炼出来数据库恢复关键点信息收集脚本(Oracle Database Recovery Check),该脚本主要是在数据库mount状态情况下查询数据库的一些基础表信息等信息,不对数据库进行任何写操作(只做读和dump
[oracle@xifenfei ~]$ ls -l /home/oracle/check_recover_db_linux.sql-rw-r--r-- 1 oracle oinstall 16270 Apr 18 2015 check_recover_db_linux.sql[oracle@xifenfei ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.4.0 Production on Sun Mar 30 10:55:58 2014Copyright (c) 1982,2013,Oracle. All rights reserved.Connected to an idle instance.SQL> startup mountORACLE instance started.Total System Global Area 418484224 bytesFixed Size 1385052 bytesVariable Size 331353508 bytesDatabase Buffers 79691776 bytesRedo Buffers 6053888 bytesDatabase mounted.SQL> @.sql+----------------------------------------------------------------------------+| Oracle Database Recovery Check Result ||----------------------------------------------------------------------------+| Copyright (c) 2012-2015 xifenfei. All rights reserved. (www.xifenfei.com) |+----------------------------------------------------------------------------+Please start the database to mount state.Note: Do not modify any inspection results state.Note: Do not modify any inspection resultsTo send xifenfei_db_recover_YYYYMMDD.html to dba@xifenfei.com or QQ(107644445)Please refer to the use of the script:http://www.xifenfei.com/oracle_recovery_check----Starting Collect PATCH Information--------Starting Collect ALERT LOG Information--------Starting dbv system datafile Information----DBVERIFY: Release 11.2.0.4.0 - Production on Sat Apr 18 21:19:02 2015/or its affiliates. All rights reserved.----Starting DUMP file_hdrs Information--------Starting DUMP controlf Information--------Starting DUMP redohdr Information---------Oracle Database Recovery Check END-----********************************************************************************Please check and upload /home/oracle/xifenfei_db_recover_20150418.html********************************************************************************Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning,OLAP,Data Mining and Real Application Testing options生成的html文件为:.html

win平台使用方法(for 12c版本,12c以前版本操作步骤完全相同)

C:UsersXIFENFEI>dir E:SkyDriveORACLEtoolsdb_recovercheck_recover_db_win_12c.sql驱动器 E 中的卷是 本地磁盘卷的序列号是 000C-3B41E:SkyDriveORACLEtoolsdb_recover 的目录2014-03-29 23:43 11,101 check_recover_db_win_12c.sql1 个文件 11,101 字节0 个目录 19,557,310,464 可用字节C:UsersXIFENFEI>sqlplus / as sysdbaSQL*Plus: Release 12.1.0.1.0 Production on 星期日 3月 30 11:01:37 2014All rights reserved.已连接到空闲例程。SQL> startup mountORACLE 例程已经启动。Total System Global Area 400846848 bytesFixed Size 2440024 bytesVariable 289408168 bytesDatabase Buffers 100663296 bytesRedo Buffers 8335360 bytesSQL> @E:SkyDriveORACLEtoolsdb_recovercheck_recover_db_win_12c.sql+----------------------------------------------------------------------------+| Oracle Recovery Check Result ||----------------------------------------------------------------------------+| Copyright (c) 2012-2014 xifenfei. rights reserved. (www.xifenfei.com) |----------------------------------------------------------------------------+Please start the database to mount state.Note: Do not modify any inspection resultsPlease refer to the use of the script:http://www.xifenfei.com/5056.htmlTo send xifenfei_db_recover_YYYYMMDD.html dba@xifenfei.com or QQ(107644445)驱动器 C 中的卷没有标签。卷的序列号是 D053-8FE1C:UsersXIFENFEI 的目录2014-03-30 11:02 32,796 xifenfei_db_recover_20140330.html1 个文件 32,796 字节0 个目录 8,444,190,720 可用字节********************************************************************************Please check and upload "xifenfei_db_recover_YYYYMMDD.html" in current directory********************************************************************************从 Oracle 12c Enterprise Edition Release 12.1.0.1.0 - 64bit ProductionWith the Partitioning,Advanced Analytics and Real Application Testing options 断开生成的html文件为C:UsersXIFENFEIxifenfei_db_recover_20140330.html

当你的数据库因为异常断电,强制关机,硬盘故障,drop表,truncate表,delete表,dmp文件异常,asm无法正常mount等故障无法解决导致数据丢失,且无法自行解决,请联系我们,提供专业ORACLE数据库恢复技术支持
Phone:13429648788 Q Q:107644445 E-Mail:dba@xifenfei.com

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

Oracle Database Recovery Check 介绍
根据多年来的数据库恢复经验,提炼出来数据库恢复关键点信息收集脚本(Oracle Database Recovery Check),该脚本主要是在数据库mount状态情况下查询数据库的一些基础表信息等信息,不对数据库进行任何写操作(只做读和dump操作),不会在坏的数据库基础之上带来任何破坏,不影响任何数据库后续的恢复工作。通过该脚本收集信息能够快速定位数据库异常原因,并初步判断数据库恢复疑难程度,减少数据库异常恢复诊断时间,提供恢复效率和准确性。

Oracle Database Recovery Check下载
Oracle Database Recovery Check FOR ORACE 9i/10g/11g下载
Oracle Database Recovery Check For Linux/Uinx
Oracle Database Recovery Check For Windows
Oracle Database Recovery Check For ALL

Oracle Database Recovery Check FOR ORACE 12c下载
Oracle Database Recovery Check For Linux/Uinx
Oracle Database Recovery Check For Windows
Oracle Database Recovery Check For ALL

为了方便部分客户服务器不方便下载html文件,新增加直接生成txt检查脚本(主要针对9i/10g/11g版本)
Oracle Database Recovery Check To Txt Download
Oracle Database Recovery Check To Txt Browse

Oracle Database Recovery Check使用说明
1. 根据系统平台下载对应的版本,相应平台,使用unzip/winrar软件解压成sql文件
2. 上传到服务器之上(oracle用户需要有读取权限)
3. 启动数据库到mount状态
4. 在sqlplus中使用@path/check_recover_db.sql文件
5. 发送xifenfei_db_recover_YYYYMMDD.html到dba@xifenfei.com
6. 联系我:手机(13429648788)或者qq(107644445)

操作演示(所有平台,版本操作相同)
unix/liunx平台使用方法(for 12c以前版本,12c版本操作步骤完全相同)

    推荐文章
      热点阅读