If the username and password are correct for that database, a session is
opened there and the user can begin using the database.
Net service names create aliases for connect descriptors, so you do not need to give the net
service name the same name as the instance. For example, you could give the LOC instance the
service name PROD or TEST, depending on its use within your environment. The use of synonyms
to further enhance location transparency will be described in the section ???Using Database Links???
later in this chapter.
Replacing tnsnames.ora with Oracle Internet Directory
A directory is a specialized electronic database in which you store information about one or more
objects. Your electronic mail address book is an example of a directory. Within each of your e-mail
address entries is information about the contact??™s name, e-mail address, home and business
addresses, and so on. You can use the address book to locate a specific person with whom
you want to correspond.
Oracle provides an electronic database tool called the Oracle Internet Directory (OID) for
|use in resolving user, server, and database locations as well as password and other important
information storage. As of Oracle9i, the emphasis moved from supporting many separate
tnsnames.ora files on distributed machines to supporting one or more directories on centralized
machines. See the section ???Directory Naming with Oracle Internet Directory,??? later in this
chapter, for more information about OID.
Pages:
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777