The relationship about DB_NAME, DB_UNIQUE_NAME, SERVICE_NAMES, INSTANCE_NAME, and $ORACLE_SID

这是Google肥来的博文,需要翻译请留言。。。

 

Names Among MAA

Under Oracle Maximum Availability Architecture (MAA), we might be confused about various kinds of name. Here I try to clarify these names by chart and table.

DB_NAME (Enterprise-wide Name)

You must set this parameter for every instance in order to startup the database. If you didn’t assign DB_NAME at installation-time, then DB_NAME = $ORACLE_SID

DB_UNIQUE_NAME (Site-wide Name)

If you didn’t assign DB_UNIQUE_NAME in the parameter file at startup-time, then DB_UNIQUE_NAME = DB_NAME

If you didn’t assign SERVICE_NAMES in the parameter file at startup-time, then SERVICE_NAMES = DB_UNIQUE_NAME

INSTANCE_NAME (Server-wide Name)

If you didn’t assign INSTANCE_NAME in the parameter file at startup-time, then INSTANCE_NAME = $ORACLE_SID

Naming Scope and Default Values

Parameter NameName ScopeDefault ValueLevel
DB_NAMEEnterprise-wide= $ORACLE_SID
(Installation-time)
Database
DB_UNIQUE_NAMESite-wide= DB_NAME
(Startup-time)
Role
SERVICE_NAMESSite-wide (or Enterprise-wide)= DB_UNIQUE_NAME
(Startup-time)
Role (or Database)
INSTANCE_NAMEServer-wide= $ORACLE_SID
(Startup-time)
Instance
$ORACLE_SIDServer-wideN/AInstance

 

The above featured image illustrates you a hierarchy tree for better understanding on all of these names. For more details, you may check DB_NAME and DB_UNIQUE_NAME in Oracle documentation.

 

转载于:https://www.cnblogs.com/Jace06/p/10649089.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值