ORA-16671: instance-specific property must be set uniquely for instances of an Oracle RAC database
Cause: An attempt was made to set an instance-specific property to the same value for all instances of an Oracle RAC database for a property whose value must be unique for each instance.
Action: Use the EDIT INSTANCE command and specify the SID of each instance whose instance-specific property value is to be changed.
ORA-16671: instance-specific property must be set uniquely for instances of an Oracle RAC database
这是一个Oracle数据库错误代码,当尝试为RAC(Real Application Cluster)实例设置特定属性时,会发生该错误。
ORA-16671:在Oracle RAC数据库实例中,必须唯一设置实例特定属性。
1.当尝试在RAC中使用相同的实例属性值时,会发生ORA-16671错误。
2.当尝试在单点实例中使用实例属性而不是特定属性时,也会发生ORA-16671错误。
先查询实例特定属性,根据实例特定属性的值来决定如何处理它们的值:
1.在单点系统中查询实例特定属性:
SELECT * FROM gv$instance_specific;
2.查询在RAC环境中的实例特定属性:
SELECT instance_number, name,value FROM gv$instance_specific;
3.修改实例特定属性:
ALTER SYSTEM SET [value] SCOPE=[scope];
其中scope可以是实例,节点,集群等。
4.重启数据库实例以激活刚刚设置的值:
SHUTDOWN IMMEDIATE;
STARTUP;