Home » RDBMS Server » Server Administration » EDITING MAXIMUM CONNECTION
icon8.gif  EDITING MAXIMUM CONNECTION [message #120944] Tue, 24 May 2005 21:41 Go to next message
phyxsly
Messages: 8
Registered: April 2005
Junior Member
Hi everyone.

I'm having problems letting more than 100 users connect to the oracle database (9i). please help me on how to change the settings of oracle to allow more than 100 concurrent connections.

Hope to hear from you soon. I do need this badly. please help Sad

Thanks so much.
Re: EDITING MAXIMUM CONNECTION [message #120953 is a reply to message #120944] Wed, 25 May 2005 00:56 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
One way is to configure shared server for these simultaneously connecting users.
Re: EDITING MAXIMUM CONNECTION [message #121359 is a reply to message #120953] Fri, 27 May 2005 14:45 Go to previous message
sunil_v_mishra
Messages: 506
Registered: March 2005
Senior Member
hi

Please check out below written things.....

MTS (Multithreaded Server or shared server)
Oracle server allows a large number of connections without increasing the resources of the database.

CHANGES IN ORACLE SERVER DUE TO MTS CONFG

Oracle adds 2 (two) new types of structures in the SGA
[1] Request queue -> For all dispatcher.
[2] Response queue. -> Individual for each dispatcher.

Shared server process executes each request and then gives it to the dispatcher.

Need to configure DESPATCHERS and SHARED SERVER processes.

User session data is stored in Large Pool in MTS.
---------------------------------------------------------------

CONFIGURE MTS
===============
In Init.ora Parameters.

DISPATCHERS=’(PRO=TCP) (DIS=5)’

MAX_DISPATCHERS = 20

SHARED_SERVERS = 10
-----
PRO-> Represent which protocol is used
DIS-> Number of dispatcher.
SHARED_SERVER-> Interface between Dispatcher & Oracle DB

Now shut down
SQL>SHUTDOWN

SQL>STARTUP

If we want to add more dispatcher than
SQL>ALTER SYSTEM SET DISPATHERS=’(PRO=TCP) (DIS=10)’;

To increase number of SHARED_SERVER
SQL>ALTER SYSTEM SET SHARED_SERVER = 20;

SQL>DES V$SESSION

SQL>SELECT USERNAME, SERVER, TERMINAL FROM V$SESSION;

--->If value of column is NONE than it is shared server or it will have DEDICATED as value

-->When our connection is going to be dedicated or shared is decided by how you connects to database. When we give connection string locally to connect it is treated as remote so it shows NONE.

I hope this should clear your concept for changing database mode form dedicated to MTS and will solve your problem too.

From:- Sunilkumar Vishwanath Mishra.


Previous Topic: What is database migration?
Next Topic: HP-UX patches requried for oracle 9.2.0.1?
Goto Forum:
  


Current Time: Sat Jan 25 06:39:27 CST 2025