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.

Similar Messages

  • 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

  • How to convert a dedicated running oracle server to a shared server

    i need help as to how to convert a dedicated running oracle server to a shared server.(step by step plz i am fairly a fresh person)
    there are presently 10 users but have to configure for 125 users accessing from 5 locations.
    also need how to implement connection manager

    125 users are not so much, unless your database server is a quite small one. Anyway, you have to configure Dispatchers and Shared Servers. See Configuring Oracle Database for Shared Server
    About Connection Manager see Configuring and Administering Oracle Connection Manager

  • How to convert dedicated server-mode to shared server-mode ?

    Hi
    I am having 3 oracle client machines(each with sql*plus or Toad tool),all these 3 client are to be connected through Jboss-4.0.5(application server) to Oracle 10g database server.
    [ all 3 clients + 1 application server + 1 database server are with different ip address]
    Question-1
    Is it possible to convert a running Oracle-10.1.0.2.0 database server in[b] Windows server-2003 os from dedicated server-mode to shared server-mode ?
    Question-2
    What all are the init parameters I have to change ?
    So far I have changed (a) alter system set shared_servers=5;
    (b) alter system set dispatchers=(pro=tcp)(dis=3);
    (c) alter system set max_dispatchers=10;
    (d) alter system set shared_server_sessions=5;
    (e) alter system set circuits=300;
    Question-3
    How to configure Listener in the Client system ?
    Question-4
    What all are the changes to be made in Jboss server ?
    Regards
    Sbmk_design

    ad 1) Yes this is possible
    Ad 2) From the top of my head, these seem like the settings to change
    Ad 3) You do not have to change the listener (ow.. and clients have no listener) just make sure that you do not have '"server=dedicated" in your local tnsnames.ora file
    Ad 4) in jboss, just check your datasource. If it is using a thin connection you are ok, if you are using a oci connection check the tnsnames.ora file.

  • Finder sidebar connection to 'shared' server keeps failing

    I'm on the same network being managed by Windows Small Business Server 2011, and I'm running Lion.  I was always able to connect to the server via the sidebar in finder no problem.  Yesterday our internal firewall wacked out and everyone lost connection to the server/internet.  It took a few hours to get the firewall restored, and now I can't connect to the server anymore via the sidebar.  All the 'shared' listing show up that are supposed to, and I can connect to ones that I wasn't connected to at the time the firewall went down, but I can't connect to the server now.  I ran the Consol app and tried connecting, here's the error that showed up 'SharePointBrowser::handleOpenCallBack returned 61'.  The popup either shows one of two messages on any given try:
    'Check the server name or IP address, and then try again. If you continue to have problems, contact your system administrator.'
    OR
    'This file server will not allow any additional users to log on. Try to connect again later.'
    Is there a way to just 'reset' these connections or something, or clear some cache and make it think its the first time again?  It seems like it panicked once it lost connection and maybe something got corrupt?  There's another Mac on the network (iMac also running Lion) that this is happening to as well.  Any help is greatly appreciated, I've tried a ton of things from searching online with no success. Oh, I should mention that I am able to connect to it via Go->Connect to Server and using the IP address or the hostname.  Just not from the sidebar anymore.

    Same here. I just hired a new employee a few weeks ago and she's spent more time watching the spinning beach ball of death than putting in billing hours! Happens when the laptops are on the ethernet connection or wireless, worse with wireless. With so many projects and multiple people working on them it is impractical and illogical to drag files onto multiple computers. This all worked just fine before. I've wasted so much time trying to work around this and it's wasting so much $$ a day it's making me crazy. Hello Apple, pretty please......

  • Connecting to shared internet connection through Mac osx 10.7 wifi

    I can't get my new HP touch pad to connect to my wireless network. I connect my iMac through ethernet but have a wifi network setup from my iMac so my other devices can use my iMacs shared internet connection. The touchpad will not connect, it finds the network, I put in the WEP key and it states "unable to connect, try again". I am at the setup stage on the touch pad and can't get any further!!. I have tried everything I can think of including creating a new wireless network, disabling and changing the sharing password and re-enabling. all my other devices still log on fine and can connect to the internet through the iMacs connection. anyone got any ideas? 
    Post relates to: HP TouchPad (WiFi)

    alopix wrote:
    I just remembered why I ignored your first post when reading this topic:
    Ad-hoc-sharing can't be the problem, because when I use the exact same method without any WEP encryption, so create an open network, it works perfectly - so it has to be an error in the webOS' handling of WEP or similar...
     I'm curious that the Mac offers only ASCII (key length of 5 characters) or 128 bit encryption, but not 64bit (which has a key length of 10 hexadecimal characters and works perfectly with my touchpad).  <Wiki definition of WEP.>
    This sounds like an old problem we used to have when Palm came out with WiFi-enabled devices. Users would create an ASCII text password in their router, and it would generate a 10 character hexadecimal string that was the true password.  Entering the 5-digit ASCII code would fail since it was a seed, and not the "real" code.. Entering the 10-digit key worked every time.
    By any chance is this what is occurring on the Mac? Do you see a 10 digit code generated anywhere in the setup routine?
    Was the link I provided to you of any help?
    WyreNut 
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

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

  • 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

  • Reg : Shared server process or dedicated server process

    Hi,
    Apologies if i have asked a silly question.How do we know whether our DB is running in dedicated server process or shared server process.

    Hi,
    How do we know whether our DB is running in dedicated server process or shared server process.
    I assume that, you are asking about the view of Oracle Processes in different OS Platform.
    In a UNIX environment, Oracle processes (also other DB Processes) can be viewed as individual system processes.
    On Windows platform Oracle Processes  (also other DB Processes) are implemented as threads that run within one common Oracle operating system process, oracle.exe (e.g. in DB2, db2syscs.exe process). These processes are not visible when you list processes at operating system level.
    Regards,
    Bhavik G. Shroff

  • Need to create a Database in Shared Serve Mode

    Hi,
    Please help me in Creating a Manual Database in Shared Server Mode. (I am a Student and It is a Learning Process).
    I am able to Create Database (Without DBCA) in Dedicated Mode and I have no doubts in that.
    What are the parameters i need to specify
    Please post me Helpful Links

    Poorna Prakash wrote:
    Hi,
    Please help me in Creating a Manual Database in Shared Server Mode. (I am a Student and It is a Learning Process).
    I am able to Create Database (Without DBCA) in Dedicated Mode and I have no doubts in that.
    What are the parameters i need to specify
    Please post me Helpful LinksYOu need to understand that ... as far as the database is concerned ... it's not an either/or situation between dedicated and shared server. Setting shared server parameter like DISPATCHERS simply allows the database to handle shared server connections. But it is up to the client to specify which method it wants, and the database will always allow dedicated server connections.

  • How to config the server in shared server mode?

    SQL> alter system set dispatchers='(protocol=tcp)(dispatchers=10)' ;
    System altered.
    SQL> alter system set shared_servers=5;
    System altered.
    then config the client connection to shared server mode thru` net manager
    and try the qq user on another pc in lan.
    but it failed to use shared sever mode
    SQL> col username for a10
    SQL> col machine for a30
    SQL> col server for a10
    SQL> set linesize 120
    SQL> select username,server,machine from v$session where username is not null;
    USERNAME SERVER MACHINE
    QQ NONE WORKGROUP\HYC-PC
    SYS DEDICATED rhel5
    QQ user server type is NONE
    RED HAT linux or windows platform are the same result

    938261 wrote:
    SQL> alter system set dispatchers='(protocol=tcp)(dispatchers=10)' ;
    System altered.
    SQL> alter system set shared_servers=5;
    System altered.
    then config the client connection to shared server mode thru` net manager
    and try the qq user on another pc in lan.
    but it failed to use shared sever mode
    SQL> col username for a10
    SQL> col machine for a30
    SQL> col server for a10
    SQL> set linesize 120
    SQL> select username,server,machine from v$session where username is not null;
    USERNAME SERVER MACHINE
    QQ NONE WORKGROUP\HYC-PC
    SYS DEDICATED rhel5
    QQ user server type is NONE
    RED HAT linux or windows platform are the same resultDEDICATED vs. SHARED is controlled by the client; not by DB Server

  • Shared server problem.

    Has anyone every had this issue occur?
    I had a system slow down on one of our database servers, running Linux AS3 Oracle 10g (10.1.0.2.0). During the slow down (CPU spikes), sqlplus querries were running very slow on our client/server applications connected. The alert log shows this:
    found dead shared server 'S002', pid = (13, 1)
    I have never seen this before, what do you recommend. We normally run shared servers set at 50, I found that this was a bit high considering we normally see s001-s005 running. Shortly after the dead server error I dropped the shared servers from 50 to 20, that seemed to curb the high CPU spikes. We currently run on dispatcher as well, should I have more dispatchers running to handle the 20 shared servers? I have done the math, and it looks like we need only 2 dispatchers, but I was curious to know if increasing dispatchers and lowering shared servers is a true benefit to performance.
    Thanks again for any advice, I do not know what impact a dead shared server means, does Oracle simply move to s003 and disregard s002 if it is dead?

    We changed our database from dedicated server mode to shared server (since users were not able to connect to the database...listener log showed tns-12518 and related errors....previously it used to show ora-04030 in alert log).
    You have switched to shared server just because users were unable to connect? I think you need to fix the problem before thinking of switching to shared server.

  • Oracle 9i Shared Server Configuration

    My working platform is as:
    O.S. : Windows 2000 Server
    Database: Oracle 9i Release 2
    Database Configuaration is as:
    Database: Manually created (not the default one) and SID = test
    Listener :
    Name: listener1
    Port No. : 1523 (Not the default 1521)
    Associated with "test" database.
    Dispatchers: (PROTOCOL = TCP) (DISPATCHERS = 3)
    Shared Server: Set to 2
    At Client side (connected through LAN) : I am configured a "Service Name" using Oracle NetManager and Set the following parameter : Connection type = "Shared Server", SID = test, Listener Port = 1523, Host Name = IP Addrs of Server Machine
    In this scenario, whenever I want to test the connection from client side (from Oracle NetManager), it shows the following error message.
    Listener is not configured to handle this type of connection
    Please help me to solve that problem.

    "Listener is not configured to handle this type of connection"
    When I try to connect through Listener which is running at non-default port ( i.e. apart from 1521) the above message is shown.
    As soon as, I checked the service status of the running listener and I observed that listener is handling one handler which is for "Dedicated" only. There is no other handler initiated for that listener to handle "Dispatchers"

  • Shared server trace file

    Hi All,
    Our production db is 10.2.0.3 with 2 nodes RAC in MS 2003 window servers. I am wondering what kind of information that Oracle capture in the shared server trace file (file name looks like instance_s001_3333.trc) . When I open some of these files I always see one query always there along with the messages like:
    WAIT #8: nam='gc cr block 2-way' ela= 1222 p1=65 p2=49677 p3=1 obj#=69689 tim=4137263779
    WAIT #8: nam='gc cr block 2-way' ela= 593 p1=65 p2=50863 p3=1 obj#=69689 tim=4137265531
    WAIT #8: nam='gc cr block 2-way' ela= 592 p1=65 p2=50879 p3=1 obj#=69689 tim=4137266700
    Should we need to tune this query to make it disappear in the shared server trace files? What are the conditions to trigger Oracle put this query into trace file?
    Thank you very much in advance for your support!
    Shirley

    These trace files are very likely generated by some trace statements originating from client programs connected to shared server processes such as client application processes, SQL*Plus, SQL Developer, OEM, TOAD, etc.
    Is your client application instrumented ?
    Do some people analyze performance problems on the database side ?
    The triggering statements may be some ALTER SESSION statements or package calls like DBMS_MONITOR in 10g or other
    (see examples in http://www.oracle.com/technology/oramag/oracle/04-jan/o14tech_perf.html).
    You should also check that instances are not configured with instance level tracing:
    show parameter sql_traceYou can also check current database sessions sql tracing status with:
    select sid, serial, program, sql_trace from v$session where username is not null;

Maybe you are looking for

  • Daily snapshot solution

    Hi All, i have a requirement something like this i will get some open and closed items in the trans data let say the data looks like below no     open_date     closed_Date     status     load date     amt 1     08/26/2007          O     08/27/07     

  • Finite pulse train Output

    Hi, I am using a 6602 board and would like to generate a finite pulse train. I have used the example code from Labview (Finite Pulse Train NT-IO) and cannot see both outputs. I mean I can see the enveloppe on counter +1 (gating counter +0) but cannot

  • Resizable frames in ADF Faces

    Hi all! We have jspx-page. We are using ADF Faces HTML component <afh:frameBorderLayout>, which contains 2 <afh:frame> components for division of page content into areas. As a result html-page is generated, and it has 2 frames, but end user can NOT c

  • Getting row and column of an array element

    Hi, I have an array of 24 rows and 24 column giving me a total of 576 elements. How do I get the row and column of a particular element in an array in LabView. E.g. If I have to write to element 127 how do I get the column and row in which element 12

  • There was an error downloading this update. Please quit and try again later. Error Code: U43M1D207

    There was an error downloading this update. Please quit and try again later. Error Code: U43M1D207