ITPub博客

首页 > 数据库 > Oracle > 如何判断是否实施了Oracle RAC?

如何判断是否实施了Oracle RAC?

原创 Oracle 作者:pan_tian 时间:2014-07-03 11:49:53 0 删除 编辑
方法1:
实施了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_INSTANCES is 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_SIZE parameter when the PARALLEL_AUTOMATIC_TUNING parameter is set to true. Note that the PARALLEL_AUTOMATIC_TUNIG parameter has been deprecated.


方法2:
select * from v$option WHERE Parameter = \'Real Application Clusters\';

Output:True/False

V$OPTION displays 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.


<!-- Baidu Button BEGIN -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26687597/viewspace-1207537/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 发布PL/SQL API成Webservice,并注册到IR(Oracle Integration Repositoy)中
下一篇: 松耦合(Loose coupling)笔记
请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2012-02-18

最新文章