Dedicated server vs multi threaded server archcitechture ( shared servers)

http://www.dba-oracle.com/t_mts_multithreaded_servers_shared.htm
1. I read the above for dedicated server vs multi threaded server archcitechture ( shared servers), please make it easy for a novice like me to understand in brief. Is the difference between the two only that MTS spawn multiple virtual servers which share and same memor ?
2. How does the dedicated server work right from a db user logs in to when the user logs out ?
Thanks in advance.
Gony

Posting it in [General Forum|http://forums.oracle.com/forums/forum.jspa?forumID=61] is more appropriate.
SS

Similar Messages

  • Dedicated server or shared server ?

    Hai ALl
    What is the criteria for a Database set in dedicated server or shared server. This is users dependent or processes dependent?.How to change the mode(dedicated or shared) after database creation.
    Please help...
    Shiju

    If you're not sure, use the default, which is dedicated server. You generally want to use shared server when you want to have more simultaneous sessions than your hardware could support without swapping and there aren't a lot of applications that really require this sort of thing. In the "olden days", one might also consider using shared server when the overhead of creating and destroying physical connections was a significant concern, but modern architectures (i.e. 3-tier development rather than client-server applications) generally makes that irrelevant because the middle tier can just use a connection pool.
    Instructions on enabling shared server are in the documentation.
    Note that just because shared server is enabled does not mean that all connections will use shared server. The client can always request a dedicated server connection.
    Justin

  • Migrating from  Dedicated Server to Shared server

    Hi,
    Please let me know how to configure from Dedicated server to Shared server in oracle 10g.
    Any advises would be appreciated.
    Regards,
    - sridhar

    It is not that hard, you only need to configure four parameters and check the listener to verify this has already been configured and registered. On the other hand, you should configure your tnsnames.ora file so you have the alternative to connect by means of a shared or a dedicated oracle server, otherwise the default, once the dispatchers and the shared server processes are configured will be shared server.
    The four parameters to configure at the initialization parameter file are:
    dispatchers
    max_dispatchers
    shared_servers
    max_shared_servers
    and you should create an entry at the tnsnames.ora file that declares a (server=dedicated) that will be used to connect by means of a dedicated server.
    Further details on Howto configure the shared server can be found here --> Configuring Oracle Database for Shared Server.
    One side note I'd like to add, shared server is suitable for scaleability in OLTP environments, if your kind of job is either batch or DDS you should open a connection by means of a dedicated server, otherwise you'll create a severe bottleneck.
    ~ Madrid

  • 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

  • Converting from dedicated server to shared server

    Hi,
    How to convert from a dedicated server configuration to a shared server configuration.
    Thanks
    Muneer

    SHAN@2009 wrote:
    Hi
    I am using Oracle 11g Database Release 1 OS Windows 2003 Server R2 SP2, I have Created a Database and the database server mode is "Shared' recently my user request me to change server mode into Dedicated for there testing Purpose.what are the Parameters i have set in the ini file for converting the server mode from Shared to Dedicated.
    Please advice .
    Thanks
    ShanIt's not an either/or situation, as the database does not "run in shared server mode" vs. "run in dedicated server mode". A database will *always* accept dedicated connections if requested by the client. It *may* accept shared server connections -- *if* requested by the client *and if* it is configured to accept them.

  • Convert dedicated server to shared server in oracle 10g

    Dear,
    Anybody help me how to change dedicated server setting into shared server in oracle 10g.
    Regards,
    Saeed ul haq

    Refer to Oracle Documentation :
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/intro.htm#sthref54
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/plan.htm#sthref570
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/dispatcher.htm#i453786
    Regards
    Rajesh

  • Convert dedicated server to shared server on database tier Ebs R12

    Hi all,
    have anyone done this before, converting dedicated server to shared_server in R12
    12.0.6 database 10.2.0.4 on OUL5
    i've done this in single database but not with Ebs R12.
    Please point me to some docs regarding this issue.
    Thanks in advance!

    Thx for the Post now I am running into diffrent problem
    look at my TNSNAMES.ora
    GDAT1.ILABSGROUP.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.213.27)(PORT = 1521))
    (CONNECT_DATA =
    #(SERVER = SHARED)
    (SERVICE_NAME =GDAT1)
    if i uncomment ( Add the line) SERVER = SHARED i get a
    ORA-12523: TNS:listener could not find instance appropriate for the client
    connection
    Please assit

  • How to convert from a Dedicated Server to Shared Server

    I have an oracle database 9.0.7.0 running on a Solaris box. The way it was setup initially was to used a dedicated connection.
    I want to convert that to a shared connection
    Can any body suggest how to go about it

    Thx for the Post now I am running into diffrent problem
    look at my TNSNAMES.ora
    GDAT1.ILABSGROUP.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.213.27)(PORT = 1521))
    (CONNECT_DATA =
    #(SERVER = SHARED)
    (SERVICE_NAME =GDAT1)
    if i uncomment ( Add the line) SERVER = SHARED i get a
    ORA-12523: TNS:listener could not find instance appropriate for the client
    connection
    Please assit

  • Dedicated server vs shared server

    hi all ;
    can any one tell me which option to choose when installing oracle , when knowing that the database will handle so many users ? and if number of processes are limited to 150 ,which parameter to set if you want to change this number?
    thanks.

    Short and brief
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc001.htm

  • Enterprise User and Multi Thread Server

    Hi,
    We are going to build a system which uses a configuration:
    10g2
    Enterprise User
    Multi Thread Server
    Client apps accesses db over JDBC/SSL
    Could some please share experience about issues regarding
    using Enterprise User and Multi Thread Server ?
    Is MTS transparant for Enterprise User authentication ?
    Regards,
    Cezary

    If you build simpserv with -t, and set MIN and MAXDISPATCHTHREADS, you
    should have an example of a multithreaded server.
         Scott
    Johan Philippe wrote:
    >
    We have been going to the documentation on multi-threading and contexting in servers
    on Tuxedo 7.1.
    And the impression so far is that apart from the function definitions there is
    not much information around.
    Didn't even find a simple example of a multi-threaded server in the Bea refs yet.
    Does anyone know/have such an example?
    And is anyone using multi-contexting in a server, because the limitation that
    only server-dispatched
    thread get a context puts quite a limitation on its usefullness.

  • Shared server/dedicated server process doubt?

    when oracle database is not configured for shared server is it compulsay to include SERVER=DEDICATED clause in the connect descriptor.?
    Thankx.

    Hi,
    is it compulsay to include SERVER=DEDICATED clause in the connect descriptor.?No, the MTS is defined at startup time, via the MTS parms.
    Here is a sample of shared server definition in the init.ora file:
    # Multi-threaded Server parameters
    local_listener="(address_list=
    (address=(protocol=tcp)(host=sting.janet.com)(port=1521))
    MTS_MAX_DISPATCHERS=5
    MTS_MAX_SERVERS=20
    MTS_DISPATCHERS="(ADDRESS=
    (PROTOCOL=tcp)(HOST=sting.janet.com))(DISPATCHERS=3)
    service_names=testb1
    http://www.dba-oracle.com/unix_linux/epc_disabled.htm
    However, be aware that the MTS is not a panacea, especially at times when you want to invoke a dedicated process for your program. For Pro*C programs and I/O-intensive SQL*Forms applications, or any batch processes that have little idle time, you may derive better performance using a dedicated listener process. For shops that segregate task into online and batch modes, the DBA sometimes create separate listeners—one with the MTS and another for dedicated connections.
    Hope this helps. . . .
    Donald K. Burleson
    Oracle Press author

  • Can anybody know how to configure Multi threaded server?

    Hi
    All,
    Can anybody know how to configure Multi threaded server?
    Thanks,
    Vishal

    Values are just samples only. use what ever appropriate for your environment. Understand each of them before using in production.
    alter system set DISPATCHERS="(PROTOCOL=tcp)(DISPATCHERS=3)(CONNECTIONS=1000)"
    alter system set shared_servers=100
    replace "DEDICATED" with "SHARED" in tns names
    Ready to go.
    select username,server from gv$session (server should show none or shared)

  • IFS uses Oracle DEDICATED server instead of SHARED

    Hi all,
    Context:
    OS = HPUX 11.00 64 bits
    Oracle 8.1.7.0
    iFS 1.1.9
    I have configured my Oracle DB server to use MTS (Multi Threaded
    Server) mode, using the "mts_dispatcher" parameters suite in
    the 'init.ora' file.
    I have also re-configured the listener to force SHARED server
    mode, using the "netasst" graphical tool.
    From that point, after restarting the DB server and the
    listener, my standard Oracle client (SQL worksheet) are
    connecting to the base using a dispatcher and a SHARED server,
    as I can see from the v$session view.
    However, when I start iFS (./ifsstart), all agents and protocol
    servers are still using several DEDICATED servers...instead of
    SHARED server mode.
    How can I change this behaviour ?
    Did I miss something in the DB server configuration, or in iFS
    configuration ?
    This point is very critical to us since we are experiencing
    problems when too many iFS connections occur at the same time,
    when reaching a ceil of oracle processes, the kernel refuses to
    spawn new ones...causing new iFS connections to fail.
    Thanks in advance for any information.
    Regards,
    Arnaud Chiaberge

    Note that we don't certify the JDBC thin driver, only the JDBC
    OCI driver.
    I don't know enough about how MTS works to be able to fully
    answer your question about why the processes come up in
    DEDICATED mode.
    However, I'm more concerned about the issue where you say that
    too many Oracle shadow processes are being created and the
    kernel is refusing to do so.
    Note that you can adjust the maximum number of iFS processes
    that can be created using the Target and Maximum Readonly and
    Writeable connection pool settings. Also, you can adjust the
    time that iFS will wait before trying to spawn a new connection,
    once the Target setting has been reached.
    If your problem is more challenging than that, please open a
    Technical Assistance Request with Oracle Worldwide Support, and
    give us more details, so we can see how we can help.

  • Shared and Dedicated Server...

    Dear All,
    Can anybody tell what's the difference between shared and dedicated server? Our database is Oracle 9.0.1 in Windows 2003. Our total session is around 200. Our server is dedicated server. What will be the benefit if we change our database to shared server for specific users???
    Shared pool size = 728MB
    Buffer Cache = 592MB
    Java pool = 104MB
    Large pool = 60MB
    There is no pga_aggregate_target in our database. Is the configuration ok for more than 200 users??? Most of the times we get 'out of process memory error'. What should we do in this situation??? Plz suggest.

    mrashid07 wrote:
    Can anybody tell what's the difference between shared and dedicated server?Dedicated server is the default. It means that each and every user session is serviced by a dedicated Oracle server process. 200 user connections? 200 dedicated server processes.
    On Windows these are however threads inside the physical oracle.exe process (and not actual separate process images like on Unix/Linux for example). A standard thread on Windows needs around 2MB of kernel space. So 200 threads, for 200 dedicated server connections, need 200 x 2MB RAM.
    Shared server works differently. A pool of dispatchers and shared servers are created. The dispatcher processes deals with the communication between the Oracle client and the Oracle instance. A dispatcher places client requests on a virtual circuit. These requests are picked up by idle shared server processes and processed. The results are send back to the client via a dispatcher process.
    So instead of having 200 dedicated server processes to service 200 users, you can for example use 5 dispatcher processes and 30 shared server processes to service the 200 sessions of those 200 users. In this case 35 processes are used that translates into 35 threads at a basic 2MB RAM cost per thread. (also note that the UGA now moves from the Oracle PGA to the Oracle SGA and the SGA needs to be sized accordingly).
    However, should such a user session send a long and complex request, that will tie up that shared server for a long time.. and this is bad. When the shared server process is busy, it cannot service any new requests. When all the shared servers in the pool are busy, no new request can be serviced. So you want the requests from the clients to be short and sweet - with a shared server not spending more than a few seconds per request.
    So typically OLTP requests are fine for shared servers.. OLAP requests not.
    Our database is Oracle 9.0.1 in Windows 2003. You should have been on 9.2.0.7 (last 9i patch set). You should currently being in the process of upgrading to 11gR2. 9i is basically an unsupported product. It is not a good idea to use an unsupported product in production. Even worse when you are not using the latest patchset for that product.
    As for using Windows.. why? 32bit is old hat. 64bit CPUs are standard even in today's desktop PCs. Consider using Linux instead. It is Open Source, is free ito purchasing (you only pay for support and maintenance) and it has had de-facto 64bit support for many years now. There's no need to hack the operating system, like Windows with its AWE extensions to address more than 4GB RAM.

  • Shared or dedicated server

    Dear all,
    Would you tell me how to check out whether a database instance is a shared or a dedicated server?
    Thanks

    Firstly, thanks for your help.
    I posted my problem in another thread. The problem is listed below.
    BTW, when I create a new instance as dedicated server. I don't have this problem anymore.
    So I wonder it is setting shared server is different from setting dedicated server.
    Previous post:
    ===============================================================
    I have a problem of network configuration. I installed an Oracle 8.1.7 standard edition database server. I can logon using sqlplus at local database machine without any problem. I can logon as system using sqlplus in a remote workstation, but I cannot logon using sqlplus as a normal user in a remote workstation. The normal user is granted connect role and create session system privilege.
    Also, once I have a failed logon using normal user I cannot logon as system anymore until I restart the listener on the db server.
    Please help. I don't have this problem on 9i, 10g.
    The error is demostrated below:
    ===============================================================
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 24 21:45:11 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Release 8.1.7.4.0 - Production
    JServer Release 8.1.7.4.0 - Production
    SQL>
    SQL> connect ars
    Enter password: *****
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Warning: You are no longer connected to ORACLE.
    SQL> connect system
    Enter password: *******
    ERROR:
    ORA-12560: TNS:protocol adapter error
    ===============================================================
    The listener.ora, sqlnet.ora in the server is listed below:
    ===============================================================
    # LISTENER.ORA Network Configuration File: /u01/app/oracle/product/8.1.7/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.2.18)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/8.1.7)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = stustg.urban.com.hk)
    (ORACLE_HOME = /u01/app/oracle/product/8.1.7)
    (SID_NAME = stustg)
    ===============================================================
    # SQLNET.ORA Network Configuration File: /u01/app/oracle/product/8.1.7/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    #SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    ===============================================================

Maybe you are looking for

  • Text entry fields not able to tab between 2 fields

    Hi there, I have placed 2 text entry fields that are for username & a password, I on publish/preview, I type the username and go to hit the TAB key to move to the password field but nothing happens & cursor does not move to the other field... I did t

  • Satellite P300-1AN - Touchpad issue with AC adapter

    I've a Satellite P300-1AN notebook and since the beginning (two weeks) I have a touchpad issue: it is not immediately responsive and the pointer trembles when touching the pad. Very often it freezes for just one or two seconds. This is VERY annoying.

  • Upload csv file and insert into a table for user

    Hello, i want to create a Page on which, the User of my Application can upload a semicolon delimited file and the data of the file should automatically be stored in a table. I can upload the file and the file is then stored in the htmldb_application_

  • XI 3.1 SAP integration with AIX platform

    Hello - We have installed BO XI 3.1 Enterprise and SAP AIX integration kit on AIX 5.3 server.  Then installed the XI 3.1 client tools on a windows desktop computer and were unable to connect universes to SAP BW 3.5. We then installed the following (

  • Please wait. printer preperation occurring. keeps showing on screen

    if i hook up with usb i can print but "please wait. printer preperation occurring". keeps showing on screen can anybody help me?