13.oracle dba视频9.57g附赠经典辅助学习_第1页
13.oracle dba视频9.57g附赠经典辅助学习_第2页
13.oracle dba视频9.57g附赠经典辅助学习_第3页
13.oracle dba视频9.57g附赠经典辅助学习_第4页
13.oracle dba视频9.57g附赠经典辅助学习_第5页
已阅读5页,还剩21页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Oracle Shared ServersObjectivesAfter completing this lesson you should be able to do the following:Identify when to use Oracle Shared ServersConfigure Oracle Shared ServersMonitor Shared ServersListenerEstablishing a Connection ing connection requestDedicated Server ProcessListenerServerprocessUser

2、processServerprocessUser SessionsPGAListenerUser SessionUser processUser Sessions: Dedicated ServerUser sessionsServer processServer processServer processUser sessionUser Sessions: Shared ServerListenerDispatcherServerprocessResponse queue for D001Response queue for D002InstanceSGAShared serverproce

3、ssesDatabase serverClient or middle tierS001S002UserprocessDispatcherD001DispatcherD002S000DispatcherD000Response queue for D000Processing a RequestUserprocess123465Common request queuefor alldispatchersSGAOracle Shared Server: User session data is held in the SGA.SGAShared pool and other memory str

4、ucturesCursor stateShared pool and other memory structuresStackspacePGADedicated server: User session data is kept in the PGA.StackspaceUser session dataCursor statePGAThe SGA and PGAUser session dataConfiguring Oracle Shared ServerRequired parameterDISPATCHERSOptional parametersSHARED_SERVERSMAX_SH

5、ARED_SERVERSCIRCUITSSHARED_SERVER_SESSIONSDISPATCHERS = “(PROTOCOL=TCP)(DISPATCHERS=2) (PROTOCOL=IPC)(DISPATCHERS=1)” DispatcherD001TCP/IPDispatcherD002IPCDispatcherD000TCP/IPDISPATCHERSSpecifies the number of dispatchers that are initially started for a given protocol.DISPATCHERSFull Notes PageSHAR

6、ED_SERVERS = 6 S000S001S002S003S004S005SHARED_SERVERSSpecifies the number of shared server processes created when an instance is started up, and retained during instance operation.MAX_SHARED_SERVERS = 10S000S001S002S003S004S005S006S007S008S009MAX_SHARED_SERVERSSpecifies the maximum number of shared

7、servers that can be startedAllows shared servers to be allocated dynamically based on the length of the request queueCIRCUITS = 100CIRCUITSSpecifies the total number of virtual circuits that are available for inbound and outbound network sessionsContributes to total SGA sizeSHARED_SERVER_SESSIONS =

8、100SHARED_SERVER_SESSIONSSpecifies the total number of Oracle Shared Server user sessions to allowEnables you to reserve user sessions for dedicated serversRelated ParametersOther initialization parameters affected by Oracle Shared Server that may require adjustment:LARGE_POOL_SIZE SESSIONSPROCESSES

9、LOCAL_LISTENERVerify that the dispatcher has registered with the listener when the database was started by issuing:Verify that you are connected using shared servers by making a connection and then query V$CIRCUIT view to show one entry per shared server connection.$ lsnrctl SERVICESVerifying Shared

10、 Server SetupVerifying Shared Server SetupFull Notes PageData Dictionary ViewsV$CIRCUITV$SHARED_SERVERV$DISPATCHERV$SHARED_SERVER_MONITORV$QUEUEV$SESSIONChoosing a Connection TypeUnless otherwise configured, Oracle Net connections will use:Shared server if one is availableDedicated server if a share

11、d server connection is not availableUsing local or directory naming, the connection type can be specified as part of the Net service alias.When Not to Use Shared ServerCertain types of database work should not be performed using shared servers:Database administrationBackup and recovery operationsBat

12、ch processing and bulk load operationsData warehouse operationsDispatcherServer processSummaryIn this lesson you should have learned how to:Identify when to use Oracle Shared ServersConfigure Oracle Shared ServersMonitor Shared ServersPractice 13 Overview: Oracle Shared ServersThis practice covers the following topics:Investigati

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论