configure shared server
Required parameter:dispatchers
optional parameters:
shared_servers、max_shared_servers、circuits、shared_server_sessions
這5個引數均是動態引數,可以動態修改。
DISPATCHERS = “(PROTOCOL=TCP)(DISPATCHERS=2)(PROTOCOL=IPC)(DISPATCHERS=1)”
dispatchers的屬性值中還可以有如下引數
service:dispatcher註冊的net service name,沒有給出採用services_name中的;
listener:監聽動態註冊,非預設埠1521或沒有在local_listener中給出時需使用;
sessions:每個dispacther的會話數
connections:每個dispacther連線數
透過查詢v$circuit看是否使用到dispacther,也即是否是shared server模式,
另外也可透過lsnrctl services來檢視是否shared server模式。
SQL> alter system set circuits=8;
System altered.
SQL> alter system set max_shared_servers=8
2 ;
System altered.
SQL> alter system set shared_servers=8;
System altered.
SQL> alter system set max_dispatchers=8;
System altered.
SQL> alter system set dispatchers='(PROTOCOL=TCP) (SERVICE=racdb1XDB) (PROTOCOL=TCP) (SERVICE=racdb1)';
System altered.
SQL> select count(*) from v$circuit;
COUNT(*)
----------
1
SQL>
SQL> show parameter disp
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dispatchers string (PROTOCOL=TCP) (SERVICE=racdb1
XDB) (PROTOCOL=TCP) (SERVICE=r
acdb1)
max_dispatchers integer 8
SQL> show parameter shared_serv
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
max_shared_servers integer 8
shared_server_sessions integer
shared_servers integer 8
SQL>
監聽的services狀態中有如下資訊:
LSNRCTL> services
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.168)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "racdb1" has 2 instance(s).
Instance "racdb1", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "racdb1", status READY, has 2 handler(s) for this service...
Handler(s):
"DEDICATED" established:3 refused:0 state:ready
LOCAL SERVER
"D000" established:1 refused:0 current:1 max:1022 state:ready
DISPATCHER
(ADDRESS=(PROTOCOL=tcp)(HOST=rac1.ocm.com)(PORT=33253))
Service "racdb1XDB" has 1 instance(s).
Instance "racdb1", status READY, has 0 handler(s) for this service...
Service "racdb1_XPT" has 1 instance(s).
Instance "racdb1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:3 refused:0 state:ready
LOCAL SERVER
The command completed successfully
LSNRCTL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/38542/viewspace-1004985/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Install and Configure VNC Server in CentOS 7VNCServerCentOS
- oracle ocp 19c考題10,科目082考試題 - shared server dispatchersOracleServer
- Unable to boot ApiServiceProvider configure..bootAPIIDE
- Configure innodb 表空間
- How to Install and Configure VNC on Ubuntu 18.04VNCUbuntu
- Install and configure VMware_vSphere 5
- 【Autofs】How to Configure Autofs on CentOS 7?CentOS
- ./configure,make,make install的作用
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embeddedAI
- std::make_shared
- 共享池 shared pool
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- How to Configure and Run Spyder Python Editor in Virtual EnvironmentsPython
- configure: error: libcurl >= 7.28.0 library and headers are required with suErrorHeaderUI
- Use KTPASS instead of adden to configure mssql.keytabSQL
- How to configure a Vagrant (Homestead) VM in Phpstorm with Xdebug on MacPHPORMMac
- Random.Shared.Next 使用random
- vlc play video shared by sambaIDESamba
- Oracle Shared Pool Memory ManagementOracle
- Flutter shared_preferences 探究Flutter
- configure: error: libcurl >= 7.28.0 library and headers are required with support for httpsErrorHeaderUIHTTP
- PHP編譯安裝之Configure引數PHP編譯
- Pycharm提示 configure python interpreter原因?怎麼辦?PyCharmPython
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource couldAI
- How to compile libusb as shared/static libraryCompile
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- Oracle 19c Database Configure the HTTPS Port for EM ExpressOracleDatabaseHTTPExpress
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- [20190419]shared latch spin count.txt
- PHP 5.4 編譯 configure: error: libXpm.(a|so) not found.PHP編譯Error
- How to configure SAP connections with Connection Transmitter Over air_part1MITAI
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- 【configure】如何用automake、autoconf指令生成configure並建立自己的linux tar.gz安裝包【初級篇:簡單建立-測試】Linux
- C++中的std::shared_ptrC++
- shared_ptr 傳值和傳引用
- [20190419]shared latch spin count 2.txt
- future promise shared_future簡單使用Promise
- [20210218]shared latch spin count 6.txt