0% found this document useful (0 votes)
23 views4 pages

Shahid's Oracle DBA Blog: Tuning ORACLE SHARED SERVER Parameters

The document discusses tuning parameters for Oracle Shared Server to optimize performance and reduce resource usage. It highlights the advantages of using shared servers over dedicated servers, including improved initialization and potential performance gains, while also noting possible degradation in certain database features. Key parameters for configuration and monitoring dispatcher processes are provided to ensure optimal operation of the shared server architecture.

Uploaded by

kulmit gill
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views4 pages

Shahid's Oracle DBA Blog: Tuning ORACLE SHARED SERVER Parameters

The document discusses tuning parameters for Oracle Shared Server to optimize performance and reduce resource usage. It highlights the advantages of using shared servers over dedicated servers, including improved initialization and potential performance gains, while also noting possible degradation in certain database features. Key parameters for configuration and monitoring dispatcher processes are provided to ensure optimal operation of the shared server architecture.

Uploaded by

kulmit gill
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Tuning ORACLE SHARED SERVER Paramete

Using
Shahid's Oracle DBA Blog: Tuning ORACLE SHARED SERVER Parameters shared server enables to reduce number of processes and the amount
01/09/14 9:13 PM of m

users performing intermittent transactions.


Using shared servers rather than dedicated servers is also generally better for sy
servers, when a connect request is received, a dispatcher is already available to
the other hand, a connection-specific dedicated server is sequentially initialized f
Shahid Ahmed Performance of certain database features can improve when a shared server arc
degrade slightly when a shared server architecture is used. For example, a sessi
Add to circles
parallel execution is active.A session can remain nonmigratable even after a requ
information has been stored in the UGA.
If a server were to process the request from the client, then the part of the user s
this, individual shared servers often need to remain bound to a user session. To
following query:
SELECT COUNT(*) "Shared Server Processes"
FROM V$SHARED_SERVER
WHERE STATUS != 'QUIT';
Proper configuration of shared servers can result in significant performance impr
* Oracle Shared Server initialization parameters:
Alter system set SHARED_SERVERS = nn;
Alter system set MAX_SHARED_SERVERS = nn;
Alter system set DISPATCHERS = '(PROTOCOL=TCP) (DISPATCHERS=nn)';
294 have me in View
circles all Alter system set MAX_DISPATCHERS = nn;
Alter system set CIRCUITS = nn;
Alter system set SHARED_SERVER_SESSIONS = nn;
Note: The default value of MAX_SHARED_SERVERS is dependent on the value
Certification equal to 10, then MAX_SHARED_SERVERS defaults to 20.
If SHARED_SERVERS is greater than 10, then MAX_SHARED_SERVERS defa
* Check the usage for dispatcher processes.
Some high busy_rate possible indicate contention for dispatcher. Consider increa
column protocol format a60;
Select network as protocol, status, sum(owned) as clients,
trunc(sum(busy)/(sum(busy)+sum(idle)),3) as busy_rate
from v$dispatcher
group by network, status;
Facebook
Developers * Check the values of dispatchers to analyze contention.
If CUR values are close or equal to the MAX values, consider increasing the nu
ਪਸ' ਦ ਕਰ"
Select NAME, PADDR, CUR_LOOP_RATE, CUR_EVENT_RATE, CUR_EVENT
3,206,450 ਲ"ਕ Facebook Developers $ CUR_SVR_BYTE_RATE, CUR_SVR_BYTE_PER_BUF, CUR_CLT_BUF_RATE,
ਪਸ'ਦ ਕਰਦ* ਹਨ। CUR_CLT_BYTE_RATE, CUR_CLT_BYTE_PER_BUF, CUR_BUF_RATE, CUR_B
CUR_OUT_CONNECT_RATE, CUR_RECONNECT_RATE
from v$dispatcher_rate;
Select NAME, PADDR, MAX_LOOP_RATE, MAX_EVENT_RATE, MAX_EVENT
MAX_SVR_BYTE_RATE, MAX_SVR_BYTE_PER_BUF, MAX_CLT_BUF_RATE,
MAX_CLT_BYTE_RATE, MAX_CLT_BYTE_PER_BUF, MAX_BUF_RATE, MAX_B
MAX_OUT_CONNECT_RATE, MAX_RECONNECT_RATE
from v$dispatcher_rate;
ਫ਼*ਸਬ/0ਕ ਸਮਾਜਕ ਬ/0ਜਾ
* Check the average wait time (expressed in hundredths of a seconds).
With a increasing value consider increase the number of dispatchers.
Select decode(sum(totalq),0,'No Responses', trunc( sum(wait)
Popular Posts from v$queue q, v$dispatcher d where q.type = 'DISPATCHER' a
* Check the current status of shared servers.
Install Oracle With high pct_busy consider increase the number of shared servers.
Developer Suite Select name, requests, busy*100/(busy+idle) as pct_busy, sta
10g on Windows
from v$shared_server
7 (64bit)
where status != 'QUIT';

http://shahiddba.blogspot.in/2013/02/tuning-oracle-shared-server-parameters.html Page 1 of 4
Publish Preview

Shahid's Oracle DBA Blog: Tuning ORACLE SHARED SERVER Parameters 01/09/14 9:13 PM

Live Exchange Rates


Saudi Riyal

US Dollar 0.2665
Kuwaiti Dinar 0.0759
Indian Rupee 16.138 Newer Post Home
UAE Dirham 0.9782
Pakistani Rupee 27.246
Subscribe to: Post Comm
Canadian Dollar 0.2897
Nepalese Rupee 25.973
New Zealand Dollar 0.3181
Bangladesh Taka 20.648
Chinese Yuan 1.6371
01/09/2014 21:36

Other DBA Blog

Sabdr Syed Blog

Rafi DBA blog

Pawan DBA

Nasir's Blog

Lets Develope

http://shahiddba.blogspot.in/2013/02/tuning-oracle-shared-server-parameters.html Page 2 of 4
Shahid's Oracle DBA Blog: Tuning ORACLE SHARED SERVER Parameters 01/09/14 9:13 PM

http://shahiddba.blogspot.in/2013/02/tuning-oracle-shared-server-parameters.html Page 3 of 4
Shahid's Oracle DBA Blog: Tuning ORACLE SHARED SERVER Parameters 01/09/14 9:13 PM

http://shahiddba.blogspot.in/2013/02/tuning-oracle-shared-server-parameters.html Page 4 of 4

You might also like