免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: bitao
打印 上一主题 下一主题

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2005-06-07 23:26 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

你是广东的吗?

论坛徽章:
0
12 [报告]
发表于 2005-06-07 23:33 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

是呀!!我QQ49464421  加我吧

论坛徽章:
0
13 [报告]
发表于 2005-06-08 02:14 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

SQL>; startup mount
ORACLE instance started.

Total System Global Area  481030820 bytes
Fixed Size                    74404 bytes
Variable Size             462532608 bytes
Database Buffers           16777216 bytes
Redo Buffers                1646592 bytes
Database mounted.
SQL>; recover database
Media recovery complete.
SQL>; alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01139: RESETLOGS option only valid after an incomplete database recovery


SQL>; shutdown immediate
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.
SQL>; startup mount
ORACLE instance started.

Total System Global Area  481030820 bytes
Fixed Size                    74404 bytes
Variable Size             462532608 bytes
Database Buffers           16777216 bytes
Redo Buffers                1646592 bytes
Database mounted.
SQL>; recover database using backup controlfile until cancel;
ORA-00279: change 83910256 generated at 06/08/2005 00:36:32 needed for thread 1
ORA-00289: suggestion : /redo/oracle/arch/arch_1_22802.arc
ORA-00280: change 83910256 for thread 1 is in sequence #22802


Specify log: {<RET>;=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL>; alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 5
ORA-01110: data file 1: '/data/oracle/oradata/smartcd/system02.dbf'


SQL>;

二种方式都试过了,,但都不行。

论坛徽章:
0
14 [报告]
发表于 2005-06-08 05:08 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

the logical backup (done by exp) can NOT be used

if you do not have physical backup, your only choice is to call oracle support to see if they can fix the block using a binary editor.

make sure do not attemp any recovery methods before (cold) backup all the database (control, redo, data) files

论坛徽章:
0
15 [报告]
发表于 2005-06-08 08:44 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

先不要折腾了,保护好现场很重要!

论坛徽章:
0
16 [报告]
发表于 2005-06-08 09:40 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

问题仍没解决!!所有的数据已经做好备份了,所以才敢做各种尝试的。希望大家继续关注。。谢谢!!!

论坛徽章:
0
17 [报告]
发表于 2005-06-08 10:21 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

数据库从来没有做过冷备份么?

论坛徽章:
0
18 [报告]
发表于 2005-06-08 11:13 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

几个月前备份过,但中间删掉了很多归档日志文件,归档文件是不连续的。。这样子的备份有作用吗?

论坛徽章:
0
19 [报告]
发表于 2005-06-08 12:29 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

要不重新生成一下控制文件看看能否打开?

alter database backup controlfile to trace
.然后登录后重新创建控制文件看看...

论坛徽章:
0
20 [报告]
发表于 2005-06-08 13:42 |只看该作者

万分火急呀!!突然掉电后数据库文件损坏,请问怎样恢复?

尝试cp该系统文件到其它目录,然后作mount,更改该文件路径,看是否可以open
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP