ORA-01157: cannot identify/lock data file 7

来源:互联网 发布:餐饮进销存软件 编辑:程序博客网 时间:2024/05/02 04:23
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/oradata/test01.dbf'

问题出现原因:

不小心手动删除了数据库文件,启动数据库报错


解决办法:

sqlplus / as sysdba

startup mount

select file#,name status from v$datafile;

alter database datafile '/oradata/test01.dbf' offline drop;


关闭数据库后重新启动,启动成功

阅读全文
0 0
原创粉丝点击