ITPub博客

首页 > 数据库 > Oracle > 表空间数据文件故障处理

表空间数据文件故障处理

原创 Oracle 作者:SDYTXM 时间:2013-12-23 12:23:10 1 删除 编辑
一、故障现象:
1.$sudo rm -rf REG01 --表空间数据文件不正确,在OS下rm;


2.11:56:16 SYS@PROD>startup
ORACLE instance started.


Total System Global Area  314572800 bytes
Fixed Size                  1219184 bytes
Variable Size             104859024 bytes
Database Buffers          205520896 bytes
Redo Buffers                2973696 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: '/u01/app/oracle/oradata/PROD/disk1/REG01'
数据库不能正常启动!


二、故障解决:
12:05:09 SYS@PROD>startup mount;
ORACLE instance started.


Total System Global Area  314572800 bytes
Fixed Size                  1219184 bytes
Variable Size             104859024 bytes
Database Buffers          205520896 bytes
Redo Buffers                2973696 bytes
Database mounted.
12:05:23 SYS@PROD>alter database datafile'/u01/app/oracle/oradata/PROD/disk1/REG01' offline drop


12:06:52 SYS@PROD>startup force;
ORACLE instance started.


Total System Global Area  314572800 bytes
Fixed Size                  1219184 bytes
Variable Size             104859024 bytes
Database Buffers          205520896 bytes
Redo Buffers                2973696 bytes
Database mounted.
Database opened.


故障解决!!!

Johnson
13-12-23

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

上一篇: vi宏使用
请登录后发表评论 登录
全部评论

注册时间:2012-04-02

  • 博文量
    41
  • 访问量
    217402