The following views are useful for obtaining information about your shared server configuration and for monitoring performance.
View | Description |
---|---|
V$DISPATCHER |
Provides information on the dispatcher processes, including name, network address, status, various usage statistics, and index number. |
V$DISPATCHER_CONFIG |
Provides configuration information about the dispatchers. |
V$DISPATCHER_RATE |
Provides rate statistics for the dispatcher processes. |
V$QUEUE |
Contains information on the shared server message queues. |
V$SHARED_SERVER |
Contains information on the shared servers. |
V$CIRCUIT |
Contains information about virtual circuits, which are user connections to the database through dispatchers and servers. |
V$SHARED_SERVER_MONITOR |
Contains information for tuning shared server. |
V$SGA |
Contains size information about various system global area (SGA) groups. May be useful when tuning shared server. |
V$SGASTAT |
Contains detailed statistical information about the SGA, useful for tuning. |
V$SHARED_POOL_RESERVED |
Lists statistics to help tune the reserved pool and space within the shared pool. |
6连接共享服务模式库
a 配置tnsname.ora
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.101)(PORT = 1527))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)(server=shared)
)
)
b通过该服务名登录
sqlplus system/888@test
c查看
[oracle@ocm1 admin]$ lsnrctl service lsnr1
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 20-AUG-2014 07:33:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.101)(PORT=1527))
Services Summary...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0
LOCAL SERVER
Instance "orcl", status READY, has 3 handler(s) for this service...
Handler(s):
"DEDICATED" established:6 refused:0 state:ready
LOCAL SERVER
"D001" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: ocm1, pid: 6578>
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.localdomain)(PORT=34029))
"D000" established:1 refused:0 current:1 max:1022 state:ready
DISPATCHER <machine: ocm1, pid: 6576>
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.localdomain)(PORT=34028))
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 3 handler(s) for this service...
Handler(s):
"DEDICATED" established:6 refused:0 state:ready
LOCAL SERVER
"D001" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: ocm1, pid: 6578>
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.localdomain)(PORT=34029))
"D000" established:1 refused:0 current:1 max:1022 state:ready
DISPATCHER <machine: ocm1, pid: 6576>
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.localdomain)(PORT=34028))
The command completed successfully