oracle ocp studying I
Chapter 2 : Oracle Net Architecture
Connectivity Concepts and Terminology:
l Database Services
An Oracle database is represented to clients as a service; that is, the database performs work on behalf of clients. A database can have one or more services associated with it. A database can be presented as multiple services and a service can be implemented as multiple database instances.
Database Database Service Database Instance
1 : n
1 : n
l Service Name
1. A logical representation of a database
2. The way a database is presented to clients
The service name is a string that is the global name, that is, a name composed of the database name and domain name, entered during installation or database creation. The service name is included in the connect data part of the connect descriptor.
l Connect Descriptor
1. Location of the database
2. Name of the database service
To connect to a database service, clients use a connect descriptor that provides the location of the database and the name of the database service. The address portion of the connect descriptor is actually the protocol address of the listener.
l Listener
1. Receives client connection requests
2. Hands requests to the database server
To connect to a database service, clients first contact a listener process that typically resides on the database server. The listener receives incoming client connection requests and hands these requests to the database server. Once the connection is established, the client and database server communicate directly. Much like a business address, the listener is configured to accept request from clients at a protocol address. This address defines the protocol the listener is listening on and any other protocol specific information.
l Service Registration
1. Database registers information with the listener
2. Service handlers available for each instance
The connect descriptor also specifies the database service name with which clients seek to
Establish a connection. The listener knows which services can be sent connection requests, because an Oracle database dynamically registers this information with the listener. This process of registration is called service registration. It also provides the listener with information about the database instances and the service handlers available for each instance.
l Service Handlers
1. Connection points
2. Dispatcher or dedicated server
Service handlers act as connection points to an Oracle database server. A service handler can be a dispatcher or a dedicated server.
Oracle Net Configuration Models:
Configuration information can be stored in a localized configuration file or a centralized repository.
l Localized management
Network address information stored in tnsnames.ora file on each computer in the network.
n Local file on each computer in the network
l Centralized management
Network address information stored in centralized directory services, including a LDAP-compliant directory server or an Oracle Names server.
n LDAP-compliant directory server
n Oracle Names server
Note: In future releases, Oracle Names will not be supported as a centralized naming method.
Overview of Naming Methods:
l Naming methods are used by a client application to resolve a connect identifier to a connect descriptor when attempting to connect to a database service.
l Oracle Net provides five naming methods
1 Host naming
Enables users in a TCP/IP environment to resolve names through their existing name resolution service
2 Local naming
Locates network address by using information configured and stored on each individual client’s tnsnames.ora file
3 Directory naming
Resolves a database service or net service name to a connect descriptor, stored in a central directory server.
4 Oracle Names
Oracle directory service made up of a system of Oracle Names servers that provide name-to-address resolution for each service on the network.
5 External naming
Use a supported third-party naming service
A small organization with only a few database can use host naming to store names in an existing
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66634/viewspace-809171/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle ocp studyingOracle
- studying Bitcoin
- Oracle OCP 1Z0-053 Q254(I/O calibration process)Oracle
- Oracle OCP(56)Oracle
- 透過考 ocp 9i 學習 Oracle 過程中,所悟到的Oracle
- 【Oracle】-【OCP】-“滾燙”的OCP經歷Oracle
- Oracle OCP(54):IMPOracle
- Oracle OCP(54):EXPOracle
- Oracle OCP(57):IMPDPOracle
- Oracle OCP(44):LSNRCTLOracle
- Oracle OCP(30):ROLEOracle
- Oracle OCP(25):索引Oracle索引
- Oracle OCP(23):序列Oracle
- Oracle OCP(29):PROFILEOracle
- Oracle OCP(28):USEROracle
- Oracle OCP(33):官方文件Oracle
- Oracle OCP(48):UNDO TABLESPACEOracle
- Oracle OCP(32):SUPPORT:MOSOracle
- Oracle OCP(24):檢視Oracle
- Oracle OCP(26):其它ObjectOracleObject
- Oracle OCP(20):建立表Oracle
- Oracle OCP(21):管理表Oracle
- Oracle OCP(12):ROLLUP & CUBEOracle
- oracle OCP-053-656Oracle
- oracle ocp 052-30Oracle
- oracle9iOracle
- 12c出來之後不久oracle徹底關閉了9i OCP考試Oracle
- Plan Stability in Oracle 8i/9iOracle
- Oracle OCP(35):Database 安裝OracleDatabase
- Oracle OCP(36):DBCA建庫Oracle
- Oracle OCP(60):冷備份Oracle
- Oracle OCP(43):listener.oraOracle
- Oracle OCP(45):TNSNAMES.oraOracle
- Oracle OCP(40):程式結構Oracle
- Oracle OCP(60):RMAN 備份Oracle
- Oracle OCP(58):ARCHIVELOG 管理OracleHive
- Oracle OCP(62):熱備份Oracle
- Oracle OCP(04):聚合函式Oracle函式