ORA-16139

Table of Contents

1. 错误信息

在将备库提升为主库的过程中,出现如下错误:

SQL> alter database commit to switchover to primary with session shutdown;
alter database commit to switchover to primary with session shutdown
*
ERROR at line 1:
ORA-16139: media recovery required

2. 问题分析

出现此错误,无非就是数据不一致,需要恢复。 RECOVER MANAGED STANDBY DATABASE FINISH; 示例如下:

SQL> RECOVER MANAGED STANDBY DATABASE FINISH;
Media recovery complete.
posted @ 2024-09-27 10:47  halberd.lee  阅读(9)  评论(0编辑  收藏  举报