配置Dedicated Server和Shared Server

一、配置Dedicated Server

只要在客户端配置做如下配置:

TEST.world =

(DESCRIPTION =

(ADDRESS =

(PROTOCOL = TCP)

(HOST = stc-sun02)

(PORT = 1521)

)

(CONNECT_DATA=(SERVICE_NAME=TEST.us.oracle.com)

(SERVER=DEDICATED)

)

)

二、配置Shared Server

a) 客户端配置

TEST.world =

(DESCRIPTION =

(ADDRESS =

(PROTOCOL = TCP)

(HOST = stc-sun02)

(PORT = 1521)

)

(CONNECT_DATA=(SERVICE_NAME=TEST.us.oracle.com)

(SERVER=SHARED) ------也可不配置,默认为Shared

)

)

b) 服务器端配置

i. 必要初始化参数

DISPATCHERS = “(PROTOCOL=TCP)(DISPATCHERS=2)\

(PROTOCOL=IPC)(DISPATCHERS=1)”

SHARED_SERVERS = 6 [指定启动例程时创建的服务器进程的数目]

ii. 可选参数

MAX_DISPATCHERS

MAX_SHARED_SERVERS

CIRCUITS

SHARED_SERVER_SESSIONS

你可能感兴趣的:(oracle)