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

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

  • 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

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

  • Dedicated Server Process or Shared Server Process

    Hi,
    I am little confused to justify the number of users that may be best to use dedicated server process or shared server process.
    Kindly advice.

    In addition, make sure you account for administrative issues. It's a lot more challenging to trace applications using shared server connections. Shared server configurations also tend to introduce a variety of gotchas into a DBA's world-- at a minimum, most articles you find on the internet tend to ignore any shared server specific issues. That's one of the reasons that I tend to be of the opinion that if you have to ask, you probably don't need to enable shared server.
    Justin

  • Dedicated server/shared server

    Hi everyone,
    can you Explain me about the shared server/dedicated server mode .
    THANKS IN ADVANCE

    think of the oracle server process as a genie- the magical being from the story of Aladdin-because your wish for a oracle data is the server process command-
    dedicated server(one genie one master):-_in this setup every single user connecting to oracle will have a personal genie handling data retrieval from disk in to buffer cache. if there are 120 users connecting to oracle there will also be 120 genies out there grabbing data from disk and putting it in the buffer cache for those user. this architectural setup  means that every user gets his or her data retrieval requests acted upon immediately. it also means there will be additional memory and cpu overhead on the mechine running the oracle database.
    shared server:-(one genie one master):-* in this setup there is a small pool of server process running in oracle that supports data retieval requests for a large number of users. several users are served by one server process.if there are 120 users connecting to oracle there will be only 1 genie out there for grabbing data from disk and putting it in the buffer cache for those user.

  • Forcing shared/dedicated server

    Hey, I have two questions about dedicated and shared server.
    1. If the applications use directory naming and shared server, but for one host we want to use dedicated in we can create another service for the same instance but using dedicated server, right?
    Is it possible to set, in sqlnet.ora for that one "dedicated" application
    NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
    then create tnsnames.ora with THE SAME service name as in ldap, but using dedicated server? Since there's TNSNAMES before LDAP in sqlnet.ora will the tnsnames service name be used first? Or will we get error?
    2. If I have sqlplus on remote machine with tnsnames.ora indicating the connections to orcl use shared server, but I connect to sys as sysdba (or just an administrator) will the use of dedicated server be forced?
    Thx.
    A.

    1) That should work. If the SQL*Net layer is told to look in the tnsnames.ora file first and the alias is found in the tnsnames file, it shouldn't look in OID. On the other hand, you'd eliminate a lot of the utility of having OID set up since you'd have to modify a bunch of tnsnames files when other connection information changed.
    I would tend to think that you want the applications rather than the hosts themselves to determine whether to use a shared server connection or a dedicated server connection and that you want to have TNS aliases for SomeDatabase_Shared and SomeDatabase_Dedicated in OID.
    2) Yes, SYSDBA connections are forced to use dedicated server connections.
    Justin

  • 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

  • Dedicated Server Connection Vs Shared Server Connection

    Hi Gurus,
    I have few doubts regarding Dedicated Server Connection Vs Shared Server Connection -
    1) How do I know which connection mechanism is configured in my system.
    2) Which connection faster and reliable.
    3) Is there any risk to using shared server connection?
    4) Which concept is new comparatively?
    5) It is possible to restrict specific user for Dedicated Server Connection and other for Shared Server Connection in a same database.
    Regards,
    Atanu

    AChatterjee wrote:
    Thanks for your post.... but still i have doubt on below points -
    1) How do I know which connection mechanism is configured in my system.Search for dispatcher parameter (both words in the search box) in the docs.
    2) It is possible to restrict specific user for Dedicated Server Connection and other for Shared Server Connection in a same database.You might be able to do something like this by using the RULE parameter with cman, limiting specific users (via local security setups) to specific client IP's and forcing them to particular service names. This is a net services issue, so does not conflict with what Billy said. It assumes you control whether your users will query the db appropriately, too. Many apps don't do that right.

  • 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

  • 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

Maybe you are looking for

  • Profit centerwise Vendor and Customer line items view

    Deal ALL, We have not activated Business Area. We have 10 plant under one company code. Client is booking the vendor and customer invoice as per the cost center and profit center of the plant. Payment and Receipt is also made according the bank maint

  • I can't print on my HP Photosmart C309a from my new Mac book air

    I bought a new mac book  air and with the new version system iOS X 10.9.1 I can´t print. I try to add it as a printer and it posts, ¨Can't install the software because it is not currently available from the Software Update server.¨. Is there anything

  • Nokia account sign in is blocked

    Hi I m using Lumia 620. Care centre replaced my handset due to problems. But after replacement I can't sign in to nokia account from my emails & accounts and also from mix radio.

  • Firewire mystery - help!

    Both my firewire ports won't recognize a dang thing. They've just stopped. I go to the profiler and it says: FireWire Bus: Maximum Speed: Up to 400 Mb/sec Does that mean they're alive?! I've tried the powering down (totally disconnecting everything f

  • Is there a calendar template in pages

    Is there a calendar template in pages??