这篇文章主要介绍“怎么解决数据库ORA-10873故障”,在日常操作中,相信很多人在怎么解决数据库ORA-10873故障问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么解决数据库ORA-10873故障”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
打开库的时候报如下错误
点击(此处)折叠或打开
Errors in file /u01/app/oracle/diag/rdbms/mgkdb/mgkdb/trace/mgkdb_ora_3062.trc:
ORA-10873: file 1 needs to be either taken out of backup mode or media recovered
ORA-01110: data file 1: '/u01/app/oracle/oradata/mgkdb/system01.dbf'
ORA-10873 signalled during: alter database open...
查询备份情况
点击(此处)折叠或打开
SQL> select * from V$BACKUP;
FILE# STATUS CHANGE# TIME
---------- ------------------ ---------- ------------------
1 ACTIVE 534855 30-JUN-18
2 ACTIVE 524860 30-JUN-18
3 ACTIVE 524865 30-JUN-18
4 ACTIVE 534870 30-JUN-18
5 ACTIVE 534870 30-JUN-18
6 ACTIVE 554875 30-JUN-18
7 ACTIVE 554875 30-JUN-18
8 ACTIVE 554881 30-JUN-18
结束备份
点击(此处)折叠或打开
SQL> alter database end backup;
点击(此处)折叠或打开
SQL> select * from V$BACKUP;
FILE# STATUS CHANGE# TIME
---------- ------------------ ---------- ------------------
1 INACTIVE 534855 30-JUN-18
2 INACTIVE 524860 30-JUN-18
3 INACTIVE 524865 30-JUN-18
4 INACTIVE 534870 30-JUN-18
5 INACTIVE 534870 30-JUN-18
6 INACTIVE 554875 30-JUN-18
7 INACTIVE 554875 30-JUN-18
8 INACTIVE 554881 30-JUN-18
产生此错误主要是由于任务计划里面有一个expdp备份脚本,关机之前未备份完导致
到此,关于“怎么解决数据库ORA-10873故障”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!