oracle ocp studying
Chapter 4 : Naming Method Configuration
Chapter 5 : Usage and Configuration of the Oracle Shared Server
Chapter 6 : Backup and Recovery Overview
[@more@]Chapter 4 : Naming Method Configuration
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.
Oracle Net provides five naming methods:
Small Organizations :
1 , Host naming : Enables Users in a TCP/IP environment to resolve names through their existing name resolution service
1.1 connect to an Oracle database service using Oracle Net Services Client Software
1.2 client and server are connecting using TCP/IP protocol
1.3 host names are resolved through an IP address translation mechanism such as DNS ,NIS or a local /etc/hosts file( DNS:Domain Name Services , NIS:Network Information Services)
1.4 No advanced features such as Oracle Connection Manager or security options are used
Advantages of Host Naming Method :
-- Requires minimal user configuration.
-- Eliminates the need to create and maintain a local names configuraton file(tnsnames.ora)
-- Eliminates the need to understand Oracle Names or Oracle Internet Directory administration procedures
Example :
sqlnet.ora
------- names.directory_path = (HOSTNAME)
2 , Local naming : Locates network addresses by using information configured and stored on each individual client's tnsnames.ora file.
Advantages of Local Naming :
-- Provides a relatively straightforward method for resolving service name addresses.
-- Resolves service names across networks running different protocols.
-- Can easily be configured by using a graphical configuration tool.
Configuring Tools :
-- Oracle Net Manager
The Sqlnet.ora File:
-- the sqlnet.ora file controls the behavior of Oracle Net Services.The default location is %ORACLE_HOME%--network--admin on windows. The default location can be overridden by defining the TNS_ADMIN enviroment variable.
Notes :
---- Test that the service is reachable using tnsping
--- Verify that you are connected to the correct instance by querying the V$INSTANCE view
Large Organizations :
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 : Uses a supported third-party naming service
Chapter 5 : Usage and Configuration of the Oracle Shared Server
The Oracle Shared Server architecture requires Oracle Net Services. Even if the user processes exist on the same machine as the oracle instance.
Server Configurations:
* Dedicated server process (1: 1 user processes)
--- Features of dedicated server process configuration:
------- 1, The user proces and server process are separate.
------- 2, Each user prcess has its own server process.
------- 3, The user and server processes can run on different machines to take advantage of distributed processing.
------- 4, There is a one-to-one ratio between the user and server processes.
------- 5, Even when the user process is not making a database request,the dedicated server exists but remains idle.
* Shared server process (1:n user processes)
Under the Oracle Shared Server architecture ,client-user processes ultimately connect to a dispatcher.The PMON process registers the location and load of the dispatchers with the listener,enabling the listener to forward requests to the least utilized dispatcher.Service registration does not require configuration in the listener.ora file.
Benefits of Oracle Shared Server
** Reduces memory usage and system overhead
** Reduces the number of processes against an instance
** Reduces the number of idle server processes
** Increases the number of possible users
** Archieve load balancing
Using a Dedicated Server with Oracle Shared Server
--- You must use a dedicated server process when:
------- Submitting batch jobs(it is expected that there will be little or no idle time)
------- Connecting as sysdba to startup ,shutdown ,or perform recovery
For Example(Tnsnames.ora):
Test=
------(DESCRIPTION=
-----------(ADDRESS=
-----------------(PROTOCOL=TCP)
-----------------(HOST=COMPUTER-YSJ.VICKA.COM)
-----------------(PORT=1521)
-----------)
-----------(CONNECT_DATA= (SERVICE_NAME=ORCVK.VICKA.COM)-----------------(SERVER=DEDICATED)
-----------)
)
Configuring Oracle Shared Server
Parameters------------Required----Dynamic---Default
dispatchers------------------------Y--------------Y--------------NULL
shared_servers--------------------Y--------------Y--------------0
max_dispatchers------------------N--------------N--------------5
max_shared_servers--------------N--------------N--------20 or 2*shared_servers
circuits----------------------------N-------------N--------sessions or 0
shared_server_sessions-----------N-------------N--------lesser of circuits and seessions-5
large_pool_size
sessions
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66634/viewspace-809048/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle ocp studying IOracle
- studying Bitcoin
- Oracle OCP(56)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
- 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函式
- Oracle OCP(18):命名規則Oracle
- oracle ocp-052 89題Oracle
- oracle ocp 052-153Oracle
- Oracle ocp 052-153Oracle
- oracle ocp 052-187Oracle