052试题 131 - naming method

题目:

131. Which naming method uses the tnsnames.ora file to store the connect descriptor used by the client while connecting to the database instance from a remote machine?
A.host naming method
B.local naming method
C.external naming method
D.directory naming method

参考答案B
解析
题目意思问,那种命名方法使用tnsnames.ora文件在客户端,来访问远程端的数据库。所以选择B 。

参考文档:

https://docs.oracle.com/cd/E11882_01/network.112/e41945/intro.htm#NETAG150

Location Transparency

Each database is represented by one or more services. A service is identified by a service name, for example, sales.us.example.com. A client uses a service name to identify the database it must access. The information about the database service and its location in the network is transparent to the client because the information needed for a connection is stored in a repository.

The repository is represented by one or more naming methods. A naming method is a resolution method used by a client application to resolve a connect identifier to a connect descriptor when attempting to connect to a database service. Oracle Net Services offers several types of naming methods that support localized configuration on each client, or centralized configuration that can be accessed by all clients in the network. GUIs enable you to manage data stored in the naming methods.

For example, in Figure 1-6, a company has three databases that clients can access. Each database has a distinct service name, such as sales.us.example.com, hr.us.example.com, and mktg.us.example.com.

  1. The client uses the repository to find the information it needs for sales.us.example.com.

  2. After the client has the information it needs, it connects to the database.

Figure 1-6 Service Information Repository

Description of Figure 1-6 follows
Description of "Figure 1-6 Service Information Repository"

 

--

local naming

A naming method that locates network addresses by using information configured and stored on each individual client's tnsnames.ora file. Local naming is most appropriate for simple distributed networks with a small number of services that change infrequently.

END

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值