Solved

parameter shared_server

Posted on 2004-09-16
2
541 Views
Last Modified: 2012-05-05
What is it ?
What its meant for?
Who do you see it?
Who would anyone use it?
0
Comment
Question by:MargusLehiste
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Assisted Solution

by:seazodiac
seazodiac earned 125 total points
ID: 12077237
the parameter SHARED_SERVERS is used to specify the POOL size of server processes when you start Oracle database if configured to run MTS mode.


Oracle 8i is called Oracle parallel server, in 9i you see the name changed to MTS (multithread server).


you see it when you have configured the shared server.

It's often used in an enterprise environment with a large number of users support.

I am talking about at leat with a base of a thousand users.

because by default if you configure an oracle database in Dedicated mode, you will have a dedicated server process for each user.
that consumes a lot of resources. for example , memory consumption, per user by default 5M in dedicated server.

if you have a 1000 users concurrently, then your server have to have at least 5000M physical memory without swapping or paging to the disk....


0
 
LVL 20

Accepted Solution

by:
dsacker earned 125 total points
ID: 12077242
Beginning in Oracle9i, the multi-threaded server architecture is called shared server architecture.

When you start your instance, Oracle creates shared server processes and dispatcher processes for the shared server architecture based on the values of the SHARED_SERVERS and DISPATCHERS initialization parameters. You can also set the SHARED_SERVERS and DISPATCHERS parameters with ALTER SYSTEM to perform one of the following operations while the instance is running:

Create additional shared server processes by increasing the minimum number of shared server processes.
Terminate existing shared server processes after their current calls finish processing.
Create more dispatcher processes for a specific protocol, up to a maximum across all protocols specified by the initialization parameter MAX_DISPATCHERS.
Terminate existing dispatcher processes for a specific protocol after their current user processes disconnect from the instance.
SHARED_SERVERS
Parameter type
 Integer
 
Default value
 If you are using shared server architecture, then the value is 1.

If you are not using shared server architecture, then the value is 0.
 
Parameter class
 Dynamic: ALTER SYSTEM
 
Range of values
 Operating system-dependent
 

SHARED_SERVERS specifies the number of server processes that you want to create when an instance is started up. If system load decreases, this minimum number of servers is maintained. Therefore, you should take care not to set SHARED_SERVERS too high at system startup.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to recover a database from a user managed backup

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question