Oracle:SID与服务名Service_name区别、本地Net服务名与服务名区别(in Oracle tnsnames.ora)...

How SID is different from Service name in Oracle tnsnames.ora:
[url]http://stackoverflow.com/questions/43866/how-sid-is-different-from-service-name-in-oracle-tnsnames-ora[/url]
[quote]
[quote]In short: SID = the unique name of your DB, ServiceName = the alias used when connecting[/quote]
Not strictly true.. SID = unique name of the INSTANCE (eg the oracle process running on the machine). Oracle considers the "Database" to the be files.

Service Name = alias to an INSTANCE (or many instances). The main purpose of this is if you are running a cluster, the client can say "connect me to SALES.acme.com", the DBA can on the fly change the number of instances which are available to SALES.acme.com requests, or even move SALES.acme.com to a completely different database without the client needing to change any settings.
[/quote]


本地Net服务名 和 service_name 区别图例:
[img]http://dl.iteye.com/upload/attachment/112620/5d1ad90c-918b-3371-86a6-e9582e4dbfa5.png[/img]

[img]http://dl.iteye.com/upload/attachment/112622/9cb8b39a-4c16-36a8-a6e0-24fe4f394eae.png[/img]

[img]http://dl.iteye.com/upload/attachment/112624/1bf4ed50-94ae-3cbf-9975-f1c251d85b78.png[/img]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值