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.

Similar Messages

  • Shared and Dedicated server modes

    Hi,
    We have been having some issues with connections and listeners. Please find here... Link [Post1|http://forums.oracle.com/forums/message.jspa?messageID=3665455] and Link [Post2|http://forums.oracle.com/forums/message.jspa?messageID=3677914].
    Despite this help from this forum, I still face some problem configuring listener in both Shared and Dedicated server modes.
    Pls find the below the problem...
    Two listeners namely, LSNR1 and LSNR2 have been started.
    listener.ora:
    LSNR2 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.org)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LSNR2  =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = TESTDB)
          (ORACLE_HOME = /u02/app/oracle)
    LSNR1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.org)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LSNR1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = TESTDB)
          (ORACLE_HOME = /u02/app/oracle)
      )LSNR1 works with both Shared and Dedicated configurations, whereas LSNR2 neither DEDICATED nor SHARED configurations...
    Here is the TNS names entry at the client (for LSNR2)...
    serv2=
    (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1522))
        (CONNECT_DATA =
          (SERVICE_NAME=DEDICATED)
      )When I try to connect using this, it says
    + ORA-12514: TNS: Listener does not know of service requested in connect descriptor +
    Pls help.
    Thanks,
    Aswin.

    Aswin,
    I didnt see the other posts but the error is fairly simple,
    >
    ORA-12514:
    TNS:listener does not currently know of service requested in connect descriptor
    Cause:     The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
    Action:     
    - Wait a moment and try to connect a second time.
    - Check which services are currently known by the listener by executing: lsnrctl services <listener name>
    - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
    - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
    - Check for an event in the listener.log file.
    >
    So check what you are passing in the connection string.
    HTH
    Aman....

  • Shared vs dedicated server

    Any reason to select one over the other?
    The reason I'm asking is because two texts that I have which were not written by Oracle suggest using dedicated server processes, while all of the Oracle-written texts suggest shared (although I did finally find a note which mentions "NOTE:...if your machine has plenty of memory to support dedicated servers, you should use that approach. In this situation, performance is likely to be better.")
    -cf

    Actually it depends upon the requirement.
    Shared and dedicated server environment are meant for different purposes and requirements.
    If server process is ideal for long time than same server process can be used to server other clients. Eg. On a web site user searched for Oracle Tuning books and now he is taking time to go through the title, contents, price. Your Server process is ideal during this time where as it can used to server other clients.
    Similarly if I use dedicated server process for batch processing it will be more effective than shared server because there is no ideal time.
    It is not true shared server requires more resources or dedicated server requires more memory. It will depend upon the proper utilization of resources. With the same given resources dedicated server environment may work more efficiently for one scenario and in the another scenario with the same resources a shared server works very well.
    Manu

  • 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.

  • Can oracle work in shared and dedicated mode at the same time?

    Hi All,
    can oracle work in shared and dedicated mode at the same time?
    Thanks

    A database can work only in one mode at a time.
    If the database is started in Dedicated Mode then it can not run in the Shared Mode. If you need to run it in the Shared Mode, bring down the Database , change DISPATCHERS, SHARED_SERVER, SHARED_SERVER_SESSIONS parameters in initfile and bring up the database to run it in Dedicated Mode.
    But there is one catch here, if you have started the database in Shared Server Mode even then you can make a Dedicated connection to server.
    Thanks!
    M-

  • Best Practises for File Sharing and Print Server on Windows Server 2012

    Is it better to have File Sharing and Print Server installed on the same Windows 2012 Server ?
    Or, they should be installed on 2 different Windows Servers ?
    Hussien Sherief

    It will work just fine to combine them.
    But most people would recommend keeping functionality separate... if the budget allows.  That whole "single point of failure" concept.  If that server dies, you've lost both of those functions.

  • Nexus 7009 bandwidth allocation per port in shared and dedicated mode:

    We have 7009 with following I/O modules:
    N7K-F248XP-25E --
    N7K-C7009-FAB-2 - qty 3
    N7K-SUP2
    I would like to know that each port of N7K-F248XP-25E will get how much bandwidth in shared mode. if we are using only one port group with 4 ports each port with 10gbps is it possible in shared mode to get 40gbps in one port group.
    Thanks

    Hi,
    I'm not sure there is such a thing as shared and dedicated mode on the N7K-F248XP-25E I/O module. I don't have one to test with, but you can see this if you execute the command show interface capabilities on your switch. If you look for the "Rate mode" line in the output it will show as dedicated or dedicated/shared. I suspect the ports on this module will all show as dedicated.
    That said, with your configuration there is potential for some level of over-subscription.
    The N7K-F248XP-25E I/O module uses a Switch on Chip (SoC) architecture with the 48-ports 10-GE ports connected via 12 SoCs, so the "port grouping" is ports 1-4=SoC 1, 5-8=SoC 2 etc.
    Each of the SoC has 40-Gbps of capacity to the switch fabric ASIC, which in turn has up to 550-Gbps capacity to the switching fabric. The 550-Gbps fabric capacity is the maximum based on 110-Gbps per slot, per fabric to the installed Fabric 2 Modules. To realise this capacity there must be five Fabric 2 modules installed in the chassis.
    From the hardware list you've supplied, you only have three Fabric 2 modules installed and as such you can only achieve a maximum of 330-Gbps per I/O module slot. What this means is that you have 480-Gbps host facing bandwidth, but 330-Gbps Fabric facing bandwidth, so a potential 1.45:1 over-subscription.
    You can reduce the over-subscription into the switch fabric by adding additional Fabric 2 modules.
    Regards

  • Shared and Dedicated Mode in Oracle 8i

    Can any one describe what is basic difference when we install Oracle8i in dedicated and Shared modes. I have to create Oracle8i Database for not more 150 users. Actually less then 20 users might be accessing database but in future it can go up to maximum 100.

    WIthout understanding your application and hardware in some detail, it is impossible to say which mode is better-- and that's without accounting for a mixed-mode setup where some connections are shared and some are dedicated.
    If there are going to be 20 simultaneous connections, dedicated server is almost always preferred. If you start to get up to 100 simultaneous connections, depending on your hardware, it may become appropriate to use shared server. If you have a high-end multi-CPU machine, it will easily handle 100 connections. If you have a low-end single-processor Windows server, you might have problems with dedicated server.
    OLTP systems tend to be more amenable to shared server than DSS systems, because sessions spend a lot of time idle in the former type of application.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • 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)
    ===============================================================

  • Shared or Dedicated server mode

    My database is configured like:
    9i Release2, Enterprise edition, OLTP, DEDICATED server mode!
    I have more than 40 users who connect to db through WAN.
    Is this good selection, I meen on server mode, or is better way to use SHARED s.mode. And way?!
    Also where could I see which server mode of db is installed?
    Thanks!

    If we are talking about 40 physical end users, I wouldn't consider shared server mode. Shared server is ideal when you have so many users that the server would simply fall over if it tried to spawn that many dedicated connections.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Personal Web Sharing and Filemaker Server Advanced

    After migrating from FileMaker Server-7 Advanced and installing version-8 Advanced web components (w/Easy Install) and restarting the Mac, Personal Web Sharing refuses to activate. I also cannot access the Filemaker Admin Console to create the FMSA account to register it with the database server.
    OSX Console log listed this error below when trying to start Apace with Personal Web Sharing:
    Syntax error on line 1 of /Library/FileMaker Server/Web Publishing/web-configuration/WEB-INF/conf/mod_jk.conf:
    Cannot load /usr/libexec/httpd/modjkfm.so into server: (reason unknown)
    /usr/sbin/apachectl start: httpd could not be started
    Line 1 of the mod_jk.file reads:
    LoadModule jkfmmodule libexec/httpd/modjkfm.so
    What needs to be corrected so I can start web sharing and access the FileMaker Web Publishing Engine in the browser?
    Using Mac OSX 10.4.6 on Mac Mini w/Intel dual core

    Apache is trying to load modjkfm.so which should be stored in /usr/libexec/httpd, but it isn't.
    This file should be installed by the Filemaker Server installer. If it wasn't installed by the Easy Install option, check the other install options to see if it's there.

  • 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 and dedicated servers in 10g

    Hi,
    My database is on 9i solaris 10. I am giving both dedicated and shared servers to the users. I am in the process to upgrade to 10g. Anything I need to keep in mind with respect to dedicated and shared servers?
    Thanks & Regards

    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#i1006089

  • Web sharing and apache server down

    Hi all
    Sorry for this noobie question but it's the first time I have this strange behavior
    Today I tried to use my MBP (under Lion 10.7.4) outside of my home in a location where web connection was not permitted.
    I thought I could continue to work on my web project which is at the moment on a localhost server.
    But it was impossible as the web sharing was down and it was impossible to relaunch it through preferences panes.
    did I missed something in my Apache config or somewhere else as I am pretty sure that this behavior should be the correct one it should be possible to have the apache server running even if not connected to the web.?
    Obviously once returned at home and reconnected to the web all going back at normal.
    Thanks in advance for your help
    BR
    BKantique

    Finally I found by myself, apparently I my apache server pointed on the port 80 which once disconnected of the web cause to Apache to be down.
    Changed the port into 8080 and then no issue anymore the Apache server still on once disconnected of the web

  • How fast a query can run on dedicated 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 while running few reports at which time I heard that was becasue of their instance is an shared server and if we 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. Changing it to dedicated server helps the performance? if so by how much Any help is higly appreciated.

    user5846372 wrote:
    I have a server on which we have installed several clients database instances. Recently there were several performance issue for one of the client while running few reports at which time I heard that was because of their instance is an shared server and if we make it dedicated the performance will improve. I start to reach for the old lead pipe when I hear stuff like that, that is seemingly based on hearsay and rumour and not a single shred of evidence is provided.
    I will tell "+those people+" that claims your performance problems are due to shared server to put up or shut up.
    There is very little performance difference (in the vast majority of cases) between shared and dedicated server. The biggest difference is that with a shared server you talk to the process servicing your SQL via a dispatcher process and then via a virtual circuit. With a dedicated server, you talk directly to the process servicing you.
    Both shared and dedicated server runs the SAME CBO code , the SAME SQL engine.. so how can a query be faster in one and not the other? And if that was the case. If there was a performance difference.. Surely Oracle will recommend not using the "bad" one? Or even better, Oracle would discontinue and deprecated the "bad" one?
    There is no difference in whether a query is executed by shared or dedicated server. The same CBO does the same execution plan and creates the same cursor. What is different is how the communication and interaction works with the client session/process. What is different is where UGA (User Global Area) memory resides. In other words, very technical execution environment differences - not differences to HOW the query is parsed and HOW the query is executed. Which then begs the question how can the query be faster in one and not the other?
    But shared server and dedicated server aside. What is the "+First and Fundamental Rule Of Software Engineering?+"
    It is.. "{color:blue}*UNDERSTAND THE PROBLEM*{color}"
    If you do not know WHAT the problem is, WHY the problem is, how on earth can you hope to address the problem and resolve it?
    Thus my "unhappiness" of those that make performance resolution claims by sucking their thumbs, repeating what they may have read somewhere, and not back it up with evidence and fact - like those who told you that your problem is using shared server.
    What can be a problem is that you may not have enough dispatchers. Or insufficient shared servers in the shared server pool. Or being to tight with the SGA that now also needs to cater to the shared server sessions' UGA memory. Or shared servers being used (incorrectly and explicitly by client software) for running long and slow queries (thus tying up that shared server with servicing a single session and making it non-sharable and unable to service others too). Etc. Etc.
    There's a whole wackload of potential issues... and many of them are solved in different ways. Simply changing shared server for dedicated servers and expecting a performance improvement as those hearsayers you deal with are claiming...? That is not just ignorance, but borders dangerously on stupidity. (dedicated servers can also kill performance when incorrectly used)

Maybe you are looking for

  • Using FireFox 10.0.2, when I try to bookmark a page, why is the bookmark pull down menu faded?

    I can provide a screen shot of the problem if it will help. I also uninstalled 10.0.2, went back to the 9.0.1 version and this occurs too. I checked all options and I could not find anything that would change the background of the bookmark menu. I di

  • Drag and drop movies out of Aperture?

    I imported my movies into Aperture and now I can't get them back out.  I tried to drag and drop them to the desktop but it only creates an 'info' file that's only a few kb large.  I want to move about 300 files out of Aperture and into iMovie where I

  • Detail report

    Dear SAP Friends, Is there any Standard report which shows Daily customer requirement,daily production confirmation & daily sales on one screen? If not then how we can get that? Where we can put the data manually or from where system may pick up data

  • Forefront for Exchange Server is not blocking emails by IP

    I have 3 Servers for Exchange: Client, Mailbox, and Edge. I have Antispam configured on my Edge server with IP Block list enabled but I am getting numerous emails from China's IP block even though I blocked all of the .cn network. The following is en

  • How do we create signature ?

    Hi, How do we create signature so that it can appear on it's own..whenever we answer some query in diff forums!! Regards Gunjan P.S. : see, had to type the stuff...