ORA-29705: ACTIVE_INSTANCE_COUNT is string which is incompatible with the value in other instances

文档解释

ORA-29705: ACTIVE_INSTANCE_COUNT is string which is incompatible with the value in other instances

Cause: The value of the ACTIVE_INSTANCE_COUNT parameter must be the same in all Oracle cluster database instances.

Action: Check your initialization parameter files in all instances and ensure that the ACTIVE_INSTANCE_COUNT parameter has the same value. Then restart the instance.

ORA-29705: ACTIVE_INSTANCE_COUNT 错误结果指示在多实例环境的实例间,计数器不一致,表示会话活动的实例数据型有所不同,具体是在string 与number之间的不兼容问题。

官方解释

ORA-29705 is an Oracle Database error related to an instance count mismatch. This means that the number of active instances specified in the database is not compatible. This error code could appear in a different instance when using the ALTER DATABASE command.

常见案例

使用ALTER DATABASE命令在一个实例上改变激活实例数量,但是未能在其他实例上通知更改,因此当时就会发生此错误。

一般处理方法及步骤

1、确认是否已经使用ALTER DATABASE或SRVCTL将活动实例数量更改了,在其他实例上未更改。

2、显式将实例节点切换到READ ONLY模式,并使用相同的SQL语句在所有节点上更新活动实例计数器:

ALTER DATABASE ACTIVE_INSTANCE_COUNT = number;

3、更新完成之后,即可恢复数据库状态为READ WRITE模式。

你可能感兴趣的