13.oracle dba視頻9.57g附贈經(jīng)典輔助學習_第1頁
13.oracle dba視頻9.57g附贈經(jīng)典輔助學習_第2頁
13.oracle dba視頻9.57g附贈經(jīng)典輔助學習_第3頁
13.oracle dba視頻9.57g附贈經(jīng)典輔助學習_第4頁
13.oracle dba視頻9.57g附贈經(jīng)典輔助學習_第5頁
已閱讀5頁,還剩21頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領

文檔簡介

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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論