Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

999

积分

1

好友

942

主题
1#
发表于 2017-4-16 16:33:52 | 查看: 1762| 回复: 0

现在三个REDO全没了,没有备份,CONTROLFILE也没有了.
我第一步是想手工建CONTROLFILE,脚本如下,其中的REDOLOG部份我是写了,但没有这个REDO的.CREATE CONTROLFILE REUSE DATABASE "EXT" NORESETLOGS  ARCHIVELOG
--  SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 226
LOGFILE
  GROUP 1 '/u01/app/oracle/oradata/ext/redo01.log'  SIZE 100M,
  GROUP 2 '/u01/app/oracle/oradata/ext/redo02.log'  SIZE 100M,
  GROUP 3 '/u01/app/oracle/oradata/ext/redo03.log'  SIZE 100M
-- STANDBY LOGFILE
DATAFILE
  '/u01/app/oracle/oradata/ext/system01.dbf',
  '/u01/app/oracle/oradata/ext/undotbs01.dbf',
  '/u01/app/oracle/oradata/ext/cwmlite01.dbf',
  '/u01/app/oracle/oradata/ext/drsys01.dbf',
  '/u01/app/oracle/oradata/ext/example01.dbf',
  '/u01/app/oracle/oradata/ext/indx01.dbf',
  '/u01/app/oracle/oradata/ext/odm01.dbf',
  '/u01/app/oracle/oradata/ext/tools01.dbf',
  '/u01/app/oracle/oradata/ext/users01.dbf',
  '/u01/app/oracle/oradata/ext/xdb01.dbf',
  '/u01/app/oracle/oradata/ext/data02.dbf',
  '/u01/app/oracle/oradata/ext/data01.dbf'
CHARACTER SET ZHS16GBK
;
执行后报错:
SQL> @ext_ora_3775.trc;
CREATE CONTROLFILE REUSE DATABASE "EXT" NORESETLOGS  ARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '/u01/app/oracle/oradata/ext/redo01.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3


我想到了,先把REDO部份注释掉,结果执行后报:SQL> @ext_ora_3775.trc ;
CREATE CONTROLFILE REUSE DATABASE "EXT" NORESETLOGS  ARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '?/dbs/log1@.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3

'?/dbs/log1@.dbf'这个文件应该是ORACLE默认的REDO.

现在我没有办法把CONTROLFILE建立起来.

有哪位有做过类似的能告诉我吗,谢谢.


对了,这之前的数据库是SHUTDOWN IMMEDIATE状态.而且我也尝试着用了_allow_resetlogs_corruption=true.

理论上,这样是不能恢复的吧,毕竟,REDO里的数据ORACLE还是需要的.但我觉得因为REDO没有了,连CONTROLFILE都不能建立就有点怪了.至少我应该能手工建立CONTROLFILE吧.

谢谢,我不够仔细.直接截取TRACE的第一段执行了.再次谢谢.
下载专业ORACLE数据库恢复工具PRM-DUL  For Oracle http://www.parnassusdata.com/

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638  QQ: 47079569     邮箱:service@parnassusdata.com
您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-23 15:30 , Processed in 0.047614 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569