文档解释
ORA-01137: data file string is still in the middle of going offline
Cause: It was not possible to get the lock for a file that is offline when attempting to bring it online. The most likely cause is that the lock is still held by the instance that is took it offline.
Action: Wait a bit and try to online the file again.
ORA-01137 是Oracle 数据库错误代码,表示数据库文件无法完全下线,系统正在文件下线过程中发生了一些问题。
官方解释
常见案例
正常处理方法及步骤
1. 首先诊断当前数据库状态,查看究竟是哪一个数据文件没有完全下线。
SQL> select file#,name,status from v$datafile;
2. 然后,将该数据库文件状态置为AVAILABLE,强制离线:
SQL> alter database datafile ‘&datafile_name’ offline;
3. 将该数据文件上线:
SQL> alter database datafile ‘&datafile_name’ online;
4. 最后,检查数据库文件状态是否正常。
SQL> select file#,name,status from v$datafile;
香港美国云服务器首选树叶云,2H2G首月10元开通。
树叶云(shuyeidc.com)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/234415.html<

