Shared Server and Dedicated Connetion

Scenerio:
We have 1000 dedicated server database connection. My boss want me to configure one shared server connection out of 1000 dedicated connection for 100+ user of one particular module. Is it possible?
I guess if we activated shared server at database level then for 999 connetion we have to pass SERVER=DEDICATED at connection string. Which is not feasible for me seeing my current enviroment.

Rajib Sutradhar wrote:
Scenerio:
We have 1000 dedicated server database connection. My boss want me to configure one shared server connection out of 1000 dedicated connection for 100+ user of one particular module. Is it possible?
I guess if we activated shared server at database level then for 999 connetion we have to pass SERVER=DEDICATED at connection string. Which is not feasible for me seeing my current enviroment.Yes, you're correct.
Unless you start using a shared tnsnames.ora file ( some where at a netwerk share ) and have pointing TNS_ADMIN to it, it means updating every tnsnames on every client you have.
However I found this link:
http://www.filibeto.org/sun/lib/nonsun/oracle/11.1.0.6.0/B28359_01/server.111/b28310/manproc003.htm
Where it says you can limit the number of concurrent shared sessions used by setting the parameter SHARED_SERVER_SESSIONS
Reading more of it, it looks like you can also define a seperate listener, with a seperate port for the shared server configuration and configure the dispatchers with that listener information.
So, it looks like you don't even have to change 1000 clients
Good Luck,
FJFranken
My Blog: http://managingoracle.blogspot.com

Similar Messages

  • Different between shared server and dedicated server

    could you explain difference between shared server and dedicated server.

    Oracle has two modes, a shared server mode and a dedicated server mode. In dedicated server mode (the default), the Oracle server creates one process per connection.
    This quickly limits the number of connections the Oracle Server can support due to the following:
    1.There is an OS limit on how many processes/file descriptors can be supported
    2.Oracle has an internal PROCESSES parameter that prevents it from launching more than the specified number of processes.
    When it is anticipated that these limits may be exceeded, which frequently happens for 50-100 concurrent connections, you should either configure Oracle in shared server mode or increase the limits above, so that many concurrent connections can be supported by each Oracle process. Oracle states that running in shared server mode is slightly slower than in dedicated server mode.

  • SHARED server and DEDICATED server

    Hi,
    our dB in 8.1.7 on Win2003. How to see if it is SHARED server or DEDICATED ? If shared can we come back to DEDICATED ?
    Many thanks.

    Hi,
    Oracle 8i on 2003 looks strange to me. Check v$version.
    If you are on 8i, check the parameter mts_dispatchers should have some big string in it (showing the detail dispatcher configuration) and there should be a non-zero value for parameter "dispatcher(s)".
    Regards

  • Shared server and starting up a database

    hi guys,
    I am reading in a book:
    And it is logically impossible to issue startup or shutdown commands through a shared server: the shared servers are part of the instance and thus not available at the time you issue a startup command.
    So the administrator should always have a dedicated server connection.
    This confuses me. How can a DBA have a dedicated server connection if we're using shared servers?
    thanks.

    OracleGuy777 wrote:
    hi guys,
    I am reading in a book:
    And it is logically impossible to issue startup or shutdown commands through a shared server: the shared servers are part of the instance and thus not available at the time you issue a startup command.
    So the administrator should always have a dedicated server connection.
    This confuses me. How can a DBA have a dedicated server connection if we're using shared servers?
    thanks.You've already marked the answer as correct, but let me clarify something for your.
    A database doesn't really operate in "shared server" mode vs. "dedicated server" mode. A database will always accept dedicated server connections. In addition, it may accept shared server conditions if it is configured to do so by specifying the dispatchers. It is always the responsibility of the client connection to specify what type of connection is requested.

  • Shared server or dedicated servers

    What's the defaul configuration? How i can check either i am running shared or dedicated server mode?
    Which is common preference in different companies?

    - The default is dedicated server.
    - You can enable shared server connections as well, in which case you would (potentially) have both types of connections simultaneously. You cannot have a database that supports only shared server connections
    - You can see if you have any shared server connections by selecting the SERVER column from V$SESSION
    - In general, if you have to ask the question, use dedicated server. You would enable shared server only when you had a good reason to do so.
    Justin

  • Shared Server or Dedicated

    How to check the DB is configured Shared Serer or Dedicated server ?

    Hi,
    How to check the DB is configured Shared Serer or Dedicated server ?Refer the below link:
    Re: dedicated/shared mode
    Hope it will answer ur question.
    Regards,
    Xaheer

  • Shared server and dispatcher configuraiton

    Hi All,
    Can any one suggest what are the changes requried if I want to use Shared server instead of Dedicated server in my oracle 10.2.0.4 setup?
    is there any configuration requried for dispatcher separtely (I am using TCP/IP protocol with default listener port 1521)?
    is it requried to restart database?
    Thanks...

    Start from here :-)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#ADMIN00502

  • Service Bus 1.1 for Windows Server and AMQP connetion problems

    I am having an issue making AMQP connection to Service Bus on my local Network. Service Bus 1.1 has been implemented on a development box Windows Server 2012 using SQL Express. The Windows Firewall is wide open for testing. The SB certificates
    have been copied down to the client machine.
    The connection to the topic using other than the AMQP protocol works just fine but as soon as the transport is changed to AMQP, the following is received
    Error 10054 "An existing connection was forcibly closed by the remote host."
    I have tried to change the connection string ports to reflect the AMQP settings to no avail.
    The same code works in Azure using AMQP, but the STSEndpoint is not present for that code.
    The STSEndpoint comes from the connection sting generated by the WS SB Management Portal.
    I am sure that I missed a step or that if a certificate is added somewhere this should work.
    The AMQP is an important item as if it is not made to work, a different messaging platform will have to be implemented at quite a large cost ie Red H4T. Using Azure outright is not an option either.
    Any assistance would be appreciated.

    I think I found the problem, and it is in the connection string. you have probably just added the ;TransportMode=Amqp to the connection string in order to change the connection type to AMQP. However, you also need to change the runtime port to 5671.
    <add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://servicebus...net/TestNamespace;StsEndpoint=https://servicebus...net:9355/TestNamespace;RuntimePort=5671;ManagementPort=9355;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=XXXXX/E=;TransportType=Amqp" />
    See also:
    http://stackoverflow.com/questions/27986958/using-aqmp-with-on-prem-windows-service-bus

  • Shared Server

    I have read in a book that when we implement shared server the stack space part of PGA does not go into SGA .
    Can anyone throw some light on this. The functionality behind shared server and dedicated server.
    Thanks!!!!!!

    This forum is not a substitute for reading the docs nor is it an appropriate place to teach a class.
    http://tahiti.oracle.com.
    If you still have questions make them specific, state the complete version number, and reference the link and page of the doc about which you are asking.
    Thanks.

  • Dedicated Server against Shared Server

    I have a server on which we have installed several clients database isntances. Recently there were several performance issue for one of the client at which time I heard that was becasue of their instance is an shared server and if make it dedicated the performance will improve. How do you find out whether an instance running on a particular box is a dedicated server connection or shared server connection. What is the definition of those in simple lay mans terms. How do you change a shared connection to dedicated connection and vice versa? Does it depend on the memory/cpu size etc. Any help is higly appreciated.

    Dear User,
    Search on the forum.
    http://forums.oracle.com/forums/search.jspa?threadID=&q=%22dedicated+shared+server%22&objID=f61&dateRange=all&userID=&numResults=15

  • Killing users Dedicated server  / Shared Server

    Hi,
    I have a Web Applications that connects to our Oracle database and I can see a lot of users
    stuck in the server and I have to manually kill these users.
    To do this I´ve set a idle time to the conections , and using this script I´m able to kill these users :
    sqlplus system/xxxxxx@instance <<EOF
    spool $tmpfile
    select p.spid from v\$process p,v\$session s
    where s.paddr=p.addr
    and s.status='SNIPED';
    spool off
    EOF
    for x in `cat $tmpfile | grep "^[0123456789]"`
    do
    kill -9 $x
    done
    rm $tmpfile
    I´ve also configured dead conections detection.
    But unfortunatelly This machine has limited resources and the number of users will grow a lot in near future. So my only option is to change the database to shared server. In Shared server I cannot use my script anymore, because it kills all the connected users of that shared server , and dead connections detections is not working very well too ...
    Anybody have a similar problem ? What could be done to clear the users that have already disconected from application and still use shared server mode ?
    Whn users Log off the application it works ok, but sometimes the user closes the browser or we have blue screen in windows, etc and the conection remains forever
    Thank you in advance,

    Really think this should be application issues rather than database issues. Application or application server should have a way to handle idle sessions. It's not a clean way to kill session in the background like that.
    In my environment, after developers changed application we don't have this problem any more.

  • Shared server connections.

    we are running a third party application with an 11g database shared server configuration and OAS 10gR2. Dispatchers set to 10 and shared servers set to 100. When the database instance is started, the 100 shared server and 10 dispatcher sessions start up and I can see these processes with ps -ef. They show as ora_s0* processes and ora_d0* respectively.
    At some point after the startup of the application, it establishes a connection pool of 100 sessions (10 per dispacher). The process Id of these sessions correspond to the pids of the dispatcher processes not the shared server processes.
    The 100 sessions in the connection pool remain idle until a user logs on to the system. When a successful login is made, I see that about 8 of the idle sessions become active and remain so until the user finishes with the application and logs out.
    Questions :
    1. Is there a query I can do to show me the shared sherver sessions i.e. ora_s0* being used?
    3. Are the 100 sessions (in the connection pool) really the shared server sessions even though they show up with the pid of the parent dispatcher?
    2. I need to record the number of connections being made to the system over a period and how long each user is connected for, could you suggest the best method (including queries) of going about this task?
    Thank you.

    user8869798 wrote:
    we are running a third party application with an 11g database shared server configuration and OAS 10gR2. Dispatchers set to 10 and shared servers set to 100. When the database instance is started, the 100 shared server and 10 dispatcher sessions start up and I can see these processes with ps -ef. They show as ora_s0* processes and ora_d0* respectively.
    At some point after the startup of the application, it establishes a connection pool of 100 sessions (10 per dispacher). The process Id of these sessions correspond to the pids of the dispatcher processes not the shared server processes.
    The 100 sessions in the connection pool remain idle until a user logs on to the system. When a successful login is made, I see that about 8 of the idle sessions become active and remain so until the user finishes with the application and logs out.
    Questions :
    1. Is there a query I can do to show me the shared sherver sessions i.e. ora_s0* being used?You can use v$shared_server s, v$circuit c, v$session n
    with this as joining condition- s.circuit = c.circuit and c.saddr = n.saddr
    3. Are the 100 sessions (in the connection pool) really the shared server sessions even though they show up with the pid of the parent dispatcher? you can query server column of v$session to check if they are shared or dedicated.
    2. I need to record the number of connections being made to the system over a period and how long each user is connected for, could you suggest the best method (including queries) of going about this task?
    I see only ash the option for you, else you need to have your own scheduled script/procedure that would gather that information.
    Thank you.

  • Three tier module how to choice shared mode or dedicated

    We use three tier module to setup client,AP server,and Oracle DB, witch my ERP environment,and I have 1000's user to connect two AP server.In this case,what is better choice shared server or dedicated server?why?

    If you are using connection pooling at the application server, you don't want to use MTS on the server. If you're using connection pooling at the app server, you're already concentrating those thousands of users into many fewer connections, so there's little point in incurring the MTS overhead.
    If you are not using connection pooling at the app server level, and your database server isn't powerful enough to handle the number of concurrent users you expect in dedicated mode, go with MTS.
    Justin

  • Shared server error in RAC ?

    _I changed my RAC database from dedicated to shared server . Then I changed client tnsnames.ora to meet shared server and tried to connect  . It worked fine and I could do my job as normal.
    But when I connected as sysdba and used (select server from v$session) to verify , there were 1 session NONE and no session SHARED . I tried to connect 5 more session from clients and there were 5 more NONE .
    Then I used (select circuit,dispatcher from v$circuit) and there were exact 6 circuits.
    _Is this an error in RAC ? Did I fail to convert from dedicated to shared server ?Please help.
    My system : RAC10g , OracleEnterpriseLinux5

    _This is my tnsnames.ora in client
    HTI =
    (DESCRIPTION =     
    (LOAD_BALANCE=yes)          
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataht1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataht2-vip)(PORT = 1521))      
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = HTI)
    _Clients can connect and work as normal with this tnsnames.ora . But when I try to find out how many sessions are in SHARED mode using (select server from v$session) there is 0 SHARED session althought there are about 20 client connections with the tnsnames.ora . There are 2 type of session when I use (select server from v$session) : NONE and DEDICATED . The more clients connect with the tnsnames , the more NONE sessions are created and no more DEDICATED sessions are created.
    _I really don't understand what NONE means !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Shared server environment

    I am configuring 10G init file...for a DB
    I saw a parameter
    dispatchers='(PROTOCOL=TCP) (SERVICE=BIGSPXDB)'
    I read this parameter should be used only in shared server environment..
    Can anybody help me on 'how to find if the database is running in shared server or dedicated server environment'
    Regards
    Soundar Mahendran

    hi,
    show parameter shared_servers
    read the link i'll explain a lot
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc003.htm
    regards,
    Deepak

Maybe you are looking for

  • How to tint a JPanel that paints an Image

    Hello all, I have a basic understanding of Java Swing architecture and the Drawing capabilities of the Graphics and Graphics2D classes. However, i am utterly confused how to implement a basic tint over an image. Overview: I have a GCard (Graphical Ca

  • Cannot load media from organizer into premiere elements 9.0

    I have spent the majority of the day trying to load media into a new project in premiere elements to edit the video. When I select the video and click edit in premiere elements, premiere opens but no media is available. It never loads the videos. I c

  • Why is the preferences popup is blank?

    Firefox v3.6.12 Copied dist-file, expanded into /usr/lib/firefox.3.6.12/firefox openSuse 10.2 I select MenuBar | Edit | Preferences, and a Firefox popup is generated, but it is blank.

  • Contextual menu + multiple displays

    When I connect a new monitor, my right click contextual menus show up in the alternate monitor than the one in which I clicked. How do I change that? thanks!

  • Missing media not missing?

    I opened a FCP7 project file and 6 of my clips were supposedly missing.  After attempting to reconnect the media nothing appeared to happen.  The sequence was still showing the red and white Missing Media thumbnails; and when I set the playhead over