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
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...
ShijuIf 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,
- sridharIt 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 -
Converting from dedicated server to shared server
Hi,
How to convert from a dedicated server configuration to a shared server configuration.
Thanks
MuneerSHAN@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 haqRefer 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 -
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 result938261 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 -
Configuring Database Server to Shared Server Architecture
Hello! Sir/Madam,
Presently Our server configuration is Dedicated Server Architecture, due to number of connections opening in the dedicated server, we are shifting our server configuration to the Shared Server Archiecture.
Will any One send me what are the parameters as to be set to Configure to the Shared Server Archiecture.
Thanking U with Regards,
Sravan
Hyderabad.I would suggest also reviewing the DBA Administration manual Ch 4 Managing Oracle Database Processes using the Oracle® Database Administrator's Guide 10g Release 2 (10.2) Part Number B14231-01 since it discusses the database parameter settings in some detail.
Remember to increase the size of the SGA to handle the UGA areas moved from the PGA into the Shared Pool.
I would consider continuing to use dedicated sessions for batch and any process that uses dbms_alert or other features that do not work well with shared server.
HTH -- Mark D Powell -- -
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 itThx 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 -
hello
I have a problem with xserver. Everything seems to be working ok, however, one day system started to break down.
I cannot connect to the server through *screen sharing* neither through internet, nor through local net. Even after restart login wont shows up.
I cannot also connet to the *Server Preferences* (Unable to authenticate to the Open Directory master.)
Sometimes I cannot also connect to the *Server Admin* (but after restart it works, however, Server Preferences are unavailable).
SSH works ok.
Nor repair permission, neither verify disk, or update for OS X server 10.6.4 worked.
system log periodicaly enters this message:
Jul 14 23:24:35 xserve WindowServer[5091]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 14 23:24:35 xserve com.apple.WindowServer[5091]: Wed Jul 14 23:24:35 xserve.sk WindowServer[5091] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 14 23:24:36 xserve com.apple.launchd[1] (com.apple.RemoteDesktop.agent[5096]): posix_spawn("/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Content s/MacOS/ARDAgent", ...): No such file or directory
Jul 14 23:24:36 xserve com.apple.launchd[1] (com.apple.RemoteDesktop.agent[5096]): Exited with exit code: 1
Jul 14 23:24:36 xserve com.apple.launchd[1] (com.apple.RemoteDesktop.agent): Throttling respawn: Will start in 10 seconds
Jul 14 23:24:36 xserve loginwindow[5085]: Login Window Started Security Agent
Jul 14 23:24:36 xserve loginwindow[5085]: Login Window - Returned from Security Agent
Jul 14 23:24:36 xserve loginwindow[5085]: AuthorizationRef returned errAuthorizationDenied. Exiting.
Jul 14 23:24:36 xserve com.apple.loginwindow[5085]: AuthorizationRef returned errAuthorizationDenied. Exiting.
Jul 14 23:24:36 xserve com.apple.launchd[1] (com.apple.loginwindow): Throttling respawn: Will start in 3 seconds
Jul 14 23:24:36 xserve com.apple.ReportCrash.Root[4982]: 2010-07-14 23:24:36.505 ReportCrash[4982:350b] Saved crash report for ManagedClient[5099] version ??? (???) to /Library/Logs/DiagnosticReports/ManagedClient2010-07-14-232436localhost.crash
can you advice me?
thanksHi Shannon McLain,
Kindly let us know if there is any specific error message that you are getting while installing it.
Here is what you can try:
Creative Cloud Help | Download, install, update, or uninstall apps
https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
https://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
Kindly share the results once done.
Thanks,
Atul Saini -
Not able to get Shared Server Mode to work in XE
The server is an HP Dual CPU Xeon, 4 GB RAM. 120GB HD.
Oracle XE reports the following:
SGA 768 Target, 768MB Current.
PGA 256MB Target, 55MB current (when there are a small number of client connections)
The application and database work properly with a small number of connections, but
memory usage goes way up on PGA when I start to add more connections.
I have tried to set up the Oracle server in "Shared Server Mode" , but it appears
that I was unsuccessful.
From what I can tell, the oracle listener does not seem to be fowarding the incoming requests to the shared server dispatchers, but
instead it is deciding to kick off a dedicated server process to handle each client request.
In other words, it is working in dedicated server mode.
I am stumped as to what needs to be done next. From what
I can tell from reading documentation this should be working.
Please advice as to what else I can do to get things working.
Here is additional information:
The parameter SHARED_SERVERS is equal to 4.
parameter dispatchers=(PROTOCOL=TCP) (SERVICE=XEXDB)
max_shared_servers, max_dispatchers, shared_server_sessions have no values.
processes=150
sessions=170
Output of lnsrctl utility:
LSNRCTL> services
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: CO_DB, pid: 5844>
(ADDRESS=(PROTOCOL=tcp)(HOST=myhostname)(PORT=1771)
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
ILSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 18-SEP-2007 16:06:55
Uptime 0 days 0 hr. 1 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File E:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File E:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhostname)(PORT
=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
The contents of the spfile2init.ora file:
xe.__db_cache_size=104857600
xe.__java_pool_size=4194304
xe.__large_pool_size=469762048
xe.__shared_pool_size=222298112
xe.__streams_pool_size=0
*.audit_file_dest='E:\oraclexe\app\oracle\admin\XE\adump'
*.background_dump_dest='E:\oraclexe\app\oracle\admin\XE\bdump'
*.compatible='10.2.0.1.0'
*.control_files='E:\oraclexe\oradata\XE\control.dbf'
*.core_dump_dest='E:\oraclexe\app\oracle\admin\XE\cdump'
*.db_name='XE'
*.db_recovery_file_dest='f:\oracle_flash_recovery_area'
*.db_recovery_file_dest_size=42949672960
*.dispatchers='(PROTOCOL=TCP) (SERVICE=XEXDB)'
*.job_queue_processes=4
*.open_cursors=300
*.os_authent_prefix=''
*.pga_aggregate_target=268435456
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=20
*.sga_target=805306368
*.shared_servers=4
*.undo_management='AUTO'
*.undo_tablespace='UNDO'
*.user_dump_dest='E:\oraclexe\app\oracle\admin\XE\udump'
The contents of listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
The contents of tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
The contents of sqlnet.ora:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)I don't think it is supported because of XE multiple cpu usage limitations but "shared server" is not documented in the XE documentation - http://www.oracle.com/pls/xe102/ranked?word=%22shared+server%22
so you may want to follow this guide for setup and try -
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#ADMIN00502
Best Regards,
H.Tonguç YILMAZ
My Oracle blog
http://tonguc.wordpress.com
"Never believe all you read or hear! Just because it is printed or someone is more experienced doesn't mean it is TRUE.." -
Can someone decode this diagram of a shared server?
Hi.
This diagram
http://esupport.csci.unt.edu/oracle/server.901/a90117/manproc.htm
of the Oracle Shared Server setup is quite useful but I would like to ask anyone here to tell me what the numbers 1 and 7 , and 4 represent.
Im thinking that between 1 and 7 we have the user process.
And that for number 4 we have the server process.
Cheers.
DAI believe these number is used to demonstrate the sequence of shared server flow.
1. User application called to dispatch process to request for connection
2. Dispatch place user request to Request Queue
3. User request is served by Shared Server Processes
4. Making necessary interaction with SGA, buffer cache, shared pool etc
5. After request processed, result place to Response Queue
6. Result was routed to Dispatch process
7. Served back to User Application -
WAIT(RECEIVE) issue in shared server
I am reading cursor in a thread in C# side. When I stop the thread before fully reading the cursor, then the STATUS in v$shared_server shows WAIT(RECEIVE). If the cursor is fully read then v$shared_server does not contain WAIT(RECEIVE) status. So to avoid this issue one possible solution is to read the cursor fully in background. I am using Oracle 10.2.0.1 and my server is Shared Server.
Please suggest any other solution for this issue.
Thanks in Advance.
Regards
NeenaHi,
Could you try the following to migrate the logins and check the result?
1. You may drop all the windows login. Modify the script generated by sp_help_revlogin step and replace create login
to drop login.
2. Use the script generated by sp_help_revlogin step to create
Logins. Modify login name to accommodate new domain name.
3. Grant server level roles using the output from:
Generate Server level role related info :
SELECT 'EXEC sp_addsrvrolemember ''' +
p.name + ''' , ''' + r.name + ''';'
FROM
sys.server_principals r
INNER JOIN sys.server_role_members m ON r.principal_id = m.role_principal_id
INNER JOIN sys.server_principals p ON
p.principal_id = m.member_principal_id
WHERE
r.type ='R'
Sample Output :-
EXEC sp_addsrvrolemember 'sa' , 'sysadmin';
4. Map the SIDS using below command for all DB by using ALTER USER. For example:
ALTER USER [DomainA\UserA] with login = [DomainB\UserA]
See:
http://blogs.technet.com/b/mdegre/archive/2011/06/27/can-i-move-sql-server-to-another-domain.aspx
Here some useful articles:
http://www.databasejournal.com/features/mssql/article.php/3922256/Re-generating-SQL-Server-Logins.htm
http://support.microsoft.com/kb/918992/en-us
http://support.microsoft.com/kb/240872
Thanks.
Tracy Cai
TechNet Community Support -
SAP db upgrade to Oracle 10G 64 bit - Dedicated or Shared Server ?
We current run 32bit servers ( approx 150 users ) and plan to migrate to ECC 6.0 on 64bit bit server. Question about upgrade <br>from Oracle 9.2.0.8 32bit to 10.2.0.4 64 bit . Database upgrade Oracle 64 bit should be Dedicated or Shared Server? <br><br>
My understanding ( limited), is Oracle 64bit dedicated server connection has the dedicated resource so whether or not a user is<br> doing work the connection remains allocated to that user. So for example, in our case a small Windows "shop" will needs <br>around 2MB of kernel space. So 150 threads, for 150 dedicated server connections, approx 150 x 2MB RAM. Correct ? <br><br>
Whereas Shared server the user connection is shared, that is user is connecting by dispatchers and when a user is idle his <br>resource can be used by other users, thus lessen the load on system. So in this case maybe 5 dispatcher processes and <br>30 shared server processes to service the 150 sessions of the 150 users which seems very effective to me . <br>My main concern however is with some of the Finance people who get problems with huge COPA and SIS reports now which is <br>why we are moving to 64bit OS/DB/SAP<br><br>
Question is which does SAP ECC 6.0 support ( or recommend ) Oracle 64 bit Dedicated or Shared Server db migration ?> Question is which does SAP ECC 6.0 support ( or recommend ) Oracle 64 bit Dedicated or Shared Server db migration ?
Never heard that anyone uses shared Server Setup with SAP.
With SAP, it is NOT the user having a DB connection.
It is the workprocess, and it is keeping it even if all users are idle.
You allways have dedicated Oracle processes for SAP Workprocesses.
The rather old note 70197 states, that Oracle MTS (multi threaded server)
allowed, but you are on your own to configure it and there are some pitfalls.
Volker
Maybe you are looking for
-
Problems encountered while running Java EE tutorial in JDeveloper
I am using JDeveloper version 10.1.3.1 to run Java EE tutorial, I got the following error messages while running ServiceRequestFacadeClientEmbed to test the data model (tutorial page 44 of 222), please help me fix those errors. Thanks a lot for your
-
Windows 8.1 Not Working Properly after Updating Boot Camp Drivers to 5.1
Hi all! Recently I had a problem with the sound in Windows 8.1 using BC v5. That problem was resolved by updating the Boot Camp Drivers to 5.1. Now I've more problems than before. 1. Some service are not loading at all at the startup (which did befor
-
SOAP Sender replacing file sender
Hi All, I had a working file -> RFC scenario. The sending system was upgraded and it can send WS now. I created a SOAP sender and changed the sender agreement accordingly. I can see the message in the SXNB_MONI but it is stuck in the "Message Split
-
The first month we got BT broadband was option 1 the 10GB package, I left my house for 2 weeks and the monitor was at around 6/7GB and with no one in the house and no one with access to it i came back to find it was now at 12GB, thought this was a bi
-
CF Line Debugging: CPU Load
I've enabled Eclipse Debuggin for my CF application. I managed this with the Line Debugging option within CF Admin, which works perfectly. The Problem is, that seconds after I activated the Line Debugger on my server, the CPU load goes to 100%. This