开发者

What are instance connection and service connection in Oracle?

I am configuring a WebLogic app server. I am unclear about what is an instance connection and what is a service connection.

Also, in m开发者_Python百科y SQL Developer, when I make a new connection, it asks for either an SID or a Service Name. What are they?


An instance connection is a TNS connection to a specific instance on a host.

A service connection is to a particular service that a listener on a host knows about.

The two are often used interchangeably, but the SERVICE connection is more flexible. I can configure multiple instances to register as the same service name to the listener, allowing load balancing and behind the scenes replacement of databases transparently to users. If an instance connection is specified, that particular instance must be up and available or the connection will be refused.


This is just for the console to know how to format your JDBC URL, depending on what you give it instance(SID) or a service name.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜