Possible Duplicate:
how does name resolution in oracle 10g work?

In oracle 10g (10.2.0) names Resolutions there are 4 types supported by 10g

  1. Easy Connect(10g added this new method)
  2. Local naming
  3. Directory
  4. External naming

my question is:

it is said that if Easy connect is used by the clients then it may overload the listener on server(as client queue increases), how this can happen as its servers duty to distribute load from one listener to another(please correct me if my concepts are wrong)?

and how exactly does Directory and External naming work. thank you.

link|improve this question
feedback

migrated from stackoverflow.com Jan 30 at 14:45

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by jcolebrand Jan 31 at 15:03

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

From the oracle documentation:

Local Naming

The local naming method stores connect descriptors, identified by their net service name, in a configuration file on the client named tnsnames.ora. This file is located in the ORACLE_HOME/network/admin directory.

Directory Naming

The directory naming method stores connect identifiers in a centralized, LDAP-compliant directory server.

Easy Connect Naming

The easy connect naming method enables clients to connect to an Oracle database server by using only a TCP/IP connect string consisting of a host name and optional port and service name:

CONNECT username/password@host[:port][/service_name]

For example:

CONNECT hr/hr@my-server:1521/mydb

The easy connect naming method requires no configuration.

External Naming

The external naming method stores net service names in a supported non-Oracle naming service. These supported third-party services include:

Network Information Service (NIS) External Naming

Distributed Computing Environment (DCE) Cell Directory Services (CDS)

This should make the distinction between the different naming methods very clear. How the EZ connect overloads the listener is not clear to me (is this from a rumormonger?). Basically this only converts a EZ connect alias to the common tns alias. However more advanced connection attributes like CLB/RLB or connection pooling cannot be specified with a EX connect string.

link|improve this answer
Thanks Steve - can you add a link to the docs you quote? The closest I could find is this – Jack Douglas Jan 30 at 15:06
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.