Property | Description |
Parameter type | String |
Syntax |
|
| dispatch_clause::=
options_clause::=
ticks
|
Default value | If |
Modifiable |
|
Basic | No |
DISPATCHERS
configures dispatcher processes in the shared server architecture. The parsing software supports a name-value syntax to enable the specification of attributes in a position-independent, case-insensitive manner. For example:
DISPATCHERS = '(PROTOCOL=TCP)(DISPATCHERS=3)'
Attributes may be specified using the full attribute name or any substring beginning with the first 3 characters. For example, SESSIONS
can be specified as SES
, SESS
, SESSI
, and so on.
Specify only one of the following attributes: PROTOCOL
, ADDRESS
, or DESCRIPTION
. If you specify either ADDRESS
or DESCRIPTION
, then you can specify additional network attributes. Doing so supports multi-homed hosts.
· PROTOCOL
The network protocol for which the dispatcher generates a listening endpoint.
· ADDRESS
The network protocol address of the endpoint on which the dispatchers listen.
· DESCRIPTION
The network description of the endpoint on which the dispatchers listen, including the protocol address.
· DISPATCHERS
The initial number of dispatchers to start. The default is 1.
· SESSIONS
The maximum number of network sessions to allow for each dispatcher. The default is operating system-specific. Most operating systems have a default of 16 KB.
· CONNECTIONS
The maximum number of network connections to allow for each dispatcher. The default is operating system-specific.
· TICKS
The length of a network tick in seconds. The default is 1 second.
· POOL
Enables Connection Pooling.
o An integer indicates that Connection Pooling is enabled for both incoming and outgoing network connections. The number specified is the timeout in ticks for both incoming and outgoing network connections.
o ON
, YES
, TRUE
, and BOTH
indicate that Connection Pooling is enabled for both incoming and outgoing network connections. A default timeout of 10 ticks is used for both incoming and outgoing network connections.
o IN
indicates that Connection Pooling is enabled for incoming network connections and the default timeout of 10 ticks is used for incoming network connections.
o OUT
indicates that Connection Pooling is enabled for outgoing network connections and the default timeout of 10 ticks is used for outgoing network connections.
o NO
, OFF
, and FALSE
indicate that Connection Pooling is disabled for both incoming and outgoing network connections. This is the default.
POOL
can also be assigned a name-value string such as: "(IN=10)", "(OUT=20)", or "(IN=10)(OUT=20)". In such cases:
o If an IN
numeric value is specified, then Connection Pooling is enabled for incoming connections, and the number specified is the timeout in ticks for incoming network connections.
o If an OUT
numeric value is specified, then Connection Pooling is enabled for outgoing network connections, and the number specified is the timeout in ticks for outgoing network connections.
o If the numeric value of a specified timeout is 1, then the default value of 10 ticks is used. If the numeric value is 0, then pooling is not on.
· MULTIPLEX
Enables the Oracle Connection Manager session multiplexing feature.
o The values 1
, ON
, YES
, TRUE
, and BOTH
indicate that Network Session Multiplex is enabled for both incoming and outgoing network connections.
o The value IN
indicates that Network Session Multiplex is enabled for incoming network connections.
o The value OUT
indicates that Network Session Multiplexing is enabled for outgoing network connections.
o The values 0
, NO
, OFF
, and FALSE
indicate that Network Session Multiplexing is disabled for both incoming and outgoing network connections. This is the default.
· LISTENER
Specifies the network name of an address or address list of the Oracle Net listeners with which the dispatchers will register.
The LISTENER
attribute facilitates administration of multi-homed hosts. This attribute specifies the appropriate listeners with which the dispatchers will register. The LISTENER
attribute takes precedence over the LOCAL_LISTENER
and REMOTE_LISTENER
parameters. See "LOCAL_LISTENER" and "REMOTE_LISTENER".
· SERVICE
Specifies one or more names by which clients can connect to the dispatchers. The SERVICE
attribute takes precedence over the SERVICE_NAMES
parameter.
· INDEX
Use this attribute in an ALTER SYSTEM SET DISPATCHERS
statement to indicate which dispatcher configuration you want to modify. (If you specify INDEX
in the initialization parameter file, the Oracle Database ignores it.) In an ALTER SYSTEM
statement, INDEX
specifies the order in which the parameter's values were initialized. The value ranges from 0
(for the first dispatcher configuration) to one less than the total number of dispatcher configurations you define.
For example, if you specify 3 dispatcher configurations in the initialization parameter file, you would modify the third dispatcher configuration by specifying INDEX
=2
in the ALTER SYSTEM
statement. You could also add an additional dispatcher configuration in the ALTER SYSTEM
statement by specifying INDEX
=3
.
If INDEX
is not specified in the ALTER SYSTEM
statement, then the PROTOCOL
, ADDRESS
, or DESCRIPTION
attributes must be specified, and if a dispatcher configuration matching this PROTOCOL
, ADDRESS
, or DESCRIPTION
exists, then that configuration will be modified. Otherwise, a new configuration will be added.
Note:
1. This parameter was renamed in Oracle9i. Prior to Oracle9i the MTS_DISPATCHERS was used to specify how many dispatchers to start for each protocol.
2. Query for the current value of the parameter
select name, value, isdefault, isses_modifiable, issys_modifiable,
isinstance_modifiable, isdeprecated, description
from v$parameter where upper(name) = ‘DISPATCHERS’;
NAME | VALUE | IS DEFAULT | ISSES_ MODIFIABLE | ISSYS_ MODIFIABLE | ISINSTANCE_ MODIFIABLE | IS DEPRECATED | DESCRIPTION |
dispatchers | (PROTOCOL=TCP) (SERVICE=mydbXDB) | FALSE | FALSE | IMMEDIATE | TRUE | FALSE | specifications of dispatchers |
No comments:
Post a Comment