sysaux表空间文件损坏的处理(zt)

由于机房突然掉电,发现有一台开发用数据库无法正常启动,看来是文件损坏了,没有备份 。

SQL> startup
ORACLE instance started.

Total System Global Area 901775360 bytes
Fixed Size 2024944 bytes
Variable Size 155191824 bytes
Database Buffers 742391808 bytes
Redo Buffers 2166784 bytes
Database mounted.
ORA-01115: IO error reading block from file 3 (block # 28760)
ORA-01110: data file 3: '/u02/oradata/devdb/sysaux01.dbf'
ORA-27072: File I/O error
Linux-x86_64 Error: 2: No such file or directory
Additional information: 4
Additional information: 28758
Additional information: 8192
ORA-01115: IO error reading block from file 3 (block # 28759)
ORA-01110: data file 3: '/u02/oradata/devdb/sysaux01.dbf'
ORA-27072: File I/O error
Linux-x86_64 Error: 2: No such file or directory
Additional information: 4
Additional information: 28758
Additional information: 8192

辅助表空间坏了,看来是硬盘了问题了,文档上说辅助表空间不可用时,oracle的核心功能是可用的,于是将破坏的文件去掉试试。
SQL> startup mount
ORACLE instance started.

Total System Global Area 901775360 bytes
Fixed Size 2024944 bytes
Variable Size 155191824 bytes
Database Buffers 742391808 bytes
Redo Buffers 2166784 bytes
Database mounted.
SQL> alter database datafile '/u02/oradata/devdb/sysaux01.dbf' offline drop;

Database altered.

SQL> alter database open;

Database altered.

果然可以,试试一般功能是可用的,但全文索引,exp users等是不可用的,还好exp tables是可用的,可以重新装一台,将数据导过去。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-430054/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-430054/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值