如何判断是否实施了Oracle RAC?
2013-09-10 10:37
302 查看
方法1:
实施了RAC
CLUSTER_DATABASE is a Real Application Clusters parameter that specifies whether or not Real Application Clusters is enabled.
Oracle uses the value of this parameter to compute the default value of the
方法2:
方法3:
INST_NUMBER INST_NAME
1 xyzdb1:abprod1
2 xyzdb2:abprod2
V$ACTIVE_INSTANCES displays the mapping between instance names and instance numbers for all instances that have the database currently mounted.
实施了RAC
SQL> show parameter cluster_database; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ cluster_database boolean TRUE cluster_database_instances integer 2未实施RAC
SQL> show parameter cluster_database; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ cluster_database boolean FALSE cluster_database_instances integer 1
CLUSTER_DATABASE is a Real Application Clusters parameter that specifies whether or not Real Application Clusters is enabled.
CLUSTER_DATABASE_INSTANCESis a Real Application Clusters parameter that specifies the number of instances that are configured as part of your cluster database. You must set this parameter for every instance. Normally you should set this parameter to the number of instances in your Real Application Clusters environment. A proper setting for this parameter can improve memory use.
Oracle uses the value of this parameter to compute the default value of the
LARGE_POOL_SIZEparameter when the
PARALLEL_AUTOMATIC_TUNINGparameter is set to
true. Note that the
PARALLEL_AUTOMATIC_TUNIGparameter has been deprecated.
方法2:
select * from v$option WHERE Parameter = 'Real Application Clusters';Output:True/False
V$OPTIONdisplays Oracle Database options and features. Typically, although not always, options must be separately licensed, whereas features come with the product and are enabled based on the product that is running (Standard Edition, Enterprise Edition, and so on).
方法3:
SELECT * from v$active_instances;Output
INST_NUMBER INST_NAME
1 xyzdb1:abprod1
2 xyzdb2:abprod2
V$ACTIVE_INSTANCES displays the mapping between instance names and instance numbers for all instances that have the database currently mounted.
相关文章推荐
- 如何判断团队是否真正实施Scrum -- Scrum方法二十问(一) Scrum 使用者强烈推荐
- 如何判断团队是否真正实施Scrum?
- 如何判断团队是否真正实施Scrum -- Scrum方法二十问 (二)
- 如何判断团队是否真正实施Scrum -- Scrum方法二十问
- 如何判断团队是否真正实施Scrum? —— Scrum方法二十问
- javascript(jquery)中如何判断一个元素在页面中是否存在
- 如何判断页面是否加载完毕了,再执行
- C++如何判断一个数字是否为质数
- 如何判断自己外网IP是否为真实公网IP,以及解决方案
- 如何高效地判断数组中是否包含某特定值
- jquery如何判断表格同一列不同行input数据是否重复
- 管理者如何判断自己是否该改变了?
- 【C#如何判断字符串是否为空串】
- 如何判断单链表是否存在环
- python:如何判断字符串中的内容是否都为数字
- 如何判断用户输入的一个整数是否为2的整数幂
- 如何判断TCP数据包是否发送成功
- 如何用递归算法判断一个数组是否递增
- 如何判断游标是否存在
- JS如何判断滚动条是否滚到底部