When we go for shared Server environment?
When we go for shared Server environment from Dedicated server mode?
When we have to choose thi shared Server mode?
Which is the optimized way?
> When we go for shared Server environment from Dedicated server mode?
You do not. It is not one or the other - it is using both correctly. You want shared server sessions to service applications (any, from web/app servers to flat clients) that are OLTP in nature. They fire off short-and-sweet SQLs that takes a second or three to execute.
A shared server pool of a few processes can service a very large number of clients.
You want to use dedicated servers to service OLAP type clients. They fire off complex SQLs that can tie up the server processes for several minutes at a time.
And that in a nutshell is how to apply the two. It is not Shared Servers versus Dedicated Server. It is about using The Right Tool For The Job. Nothing more and nothing less.
As for Windows, I will not really bother quickly with shared server connections. On Windows both shared and dedicated servers runs as threads in the main Oracle executable process image.
There is thus very little resource saving by reducing the number of threads as the footprint of a thread is tiny in comparison to a brand new process. The amount of resources saved by a reducing the number of dedicated server threads is not significant. If anything, Oracle on Windows has shown to scale better than Oracle on Linux in this regard. (refer to [url http://www.perftuning.com/pdf/Comparison_Oracle_Windows_Linux.pdf]A Comparison of Oracle Database 10gR2 Real Application Cluster Performance on Microsoft Windows 2003 Server Enterprise Edition x64 and Red Hat Enterprise Linux x86_64 from the Performance Tuning Corporation).
And this is exactly the opposite of how Oracle behaves on Unix. Each server process is a physical kernel process. This means that a servicing a 1000 concurrent sessions with a 1000 dedicated server processes, each consuming memory and resources, are expensive. Conversely, supporting a 1000 concurrent sessions with a 100 shared server processes is (almost) 90% cheaper.
This makes Shared Server a desirable option to use to scale OLTP sessions on Unix-based systems (or any platform where Oracle does not use multi-threading but multi-processing).
PS. As the Linux kernel support Posix threads (see http://en.wikipedia.org/wiki/Native_POSIX_Thread_Library), it begs the question as to when Oracle is going to support multi-threading on Linux instead of multi-processing.. or at least give us the option to choose.
Similar Messages
-
I am configuring 10G init file...for a DB
I saw a parameter
dispatchers='(PROTOCOL=TCP) (SERVICE=BIGSPXDB)'
I read this parameter should be used only in shared server environment..
Can anybody help me on 'how to find if the database is running in shared server or dedicated server environment'
Regards
Soundar Mahendranhi,
show parameter shared_servers
read the link i'll explain a lot
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc003.htm
regards,
Deepak -
OWA continuously prompts MailUser user when saving appointment for shared mailbox
We have a number of users of type 'mailuser' who are granted full permissions to shared mailboxes. If a user of mailuser usertype does the following, they are unable to save appointments to the shared mailbox's calendar. Outlook Web App will
continuously prompt the user to re-login. The functionality works in IE but *not* in FireFox (Update v28.0) and Chrome - I know probably beyond what can be fixed server-side but never hurts to ask.
Steps to reproduce:
1. Mailuser user is granted full access to a shared mailbox.
2. Mailuser accesses shared mailbox in OWA at https://mail.myorg.com/owa/[email protected]
3. User goes to the Calendar within OWA and double-clicks a timeslot to add an appointment. After appointment details have been entered, click "Save and Close"
4. Outlook Web App responds with a login prompt (same as initial prompt) and the user is unable to add the appointment - can't re-login via the prompt using the mailuser username and password.
Thanks.
Hi,
I have tested in my Exchange 2007 environment with IE. I can user mail user's credential to access shared mailbox can add appointments perfectly.
Please make sure the shared permission is set to Full Access instead of other mailbox permission. Also confirm the web browser for OWA access is a supported browser with OWA premium. If the issue persists, pleae remove the mailbox permission then re-add
it back to have a try.
Regards,
Winnie Liang
TechNet Community Support -
Pattern for multi-server environment
Hi All,
Here's our scenario:
1) We have a network whose nodes are all server-capable.
2) A dedicated server is not possible.
3) Only one node can act as a server at any one time.
4) The nodes are actually operators' terminal (eg, with data entry/editing facility).
5) When the active server goes down, another node will take-over.
6) If the previously downed server goes up again, it will again take-over. It will also acquire the data from the previous server/s.
7) A node may be used offline. But if it join the network, it should give it's data to the server.
Do you know a pattern/s I can use in this setup? Any help would be deeply appreciated.
TIA
matYou should probably do some research on failure/recovery models and election protocols.
-
Shared server/dedicated server process doubt?
when oracle database is not configured for shared server is it compulsay to include SERVER=DEDICATED clause in the connect descriptor.?
Thankx.Hi,
is it compulsay to include SERVER=DEDICATED clause in the connect descriptor.?No, the MTS is defined at startup time, via the MTS parms.
Here is a sample of shared server definition in the init.ora file:
# Multi-threaded Server parameters
local_listener="(address_list=
(address=(protocol=tcp)(host=sting.janet.com)(port=1521))
MTS_MAX_DISPATCHERS=5
MTS_MAX_SERVERS=20
MTS_DISPATCHERS="(ADDRESS=
(PROTOCOL=tcp)(HOST=sting.janet.com))(DISPATCHERS=3)
service_names=testb1
http://www.dba-oracle.com/unix_linux/epc_disabled.htm
However, be aware that the MTS is not a panacea, especially at times when you want to invoke a dedicated process for your program. For Pro*C programs and I/O-intensive SQL*Forms applications, or any batch processes that have little idle time, you may derive better performance using a dedicated listener process. For shops that segregate task into online and batch modes, the DBA sometimes create separate listeners—one with the MTS and another for dedicated connections.
Hope this helps. . . .
Donald K. Burleson
Oracle Press author -
Spinning Beach Ball Delay with "Look for Shared Photos" Checked
We installed iLife '06 on our school computers - all 500 of them - this fall. It is version 6.0.4. However, upon launch, there is a long delay of about 2-4 minutes with a spinning beach ball that we've determined takes place because iphoto is looking for shared libraries. We have one shared library on the network at this time, but sometimes teachers turn on sharing, or have in the past.
Last year, we were using iPhoto '04 and had no problems like this at all -shared libraries appeared immediately, just as quickly as shared libraries in itunes still do.
Has anyone experienced this - is there a known issue? Or should I look for a network problem.Solved this problem myself. It was a dns issue. For some reason, when iphoto looks for shared photo's, it does a reverse lookup on the ip of any machine it finds that has sharing turned on. If there is no reverse lookup zone on your dns server running OS X then it locks up as it repeatedly sends the request. Simply creating a reverse zone for the ip address range of your clients makes the bug go away. Why it needs to do a reverse lookup is beyond me.
-
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,
AtanuAChatterjee 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. -
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 manager125 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 -
MTS (shared server) problem
Hi,
when i use MTS (shared server) architecture, after a while,
i see 1500 sessions in v$session, but, about 4000 oracle processes in the operating system which hits the os user max process limit and get the following error.
how can that be? 1500 sessions in v$session, and, 4000 oracle processes in OS.
i can not reproduce the same case since this is production.
in test, i tried to reproduce the case but even though, i create mts sessions once in a second, after 1 hour, no problem.
shared_server=10
max_shared_server=50
max_dispatchers=2 (each with 250 connections)
thanks,
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn3Afew things to check, firstly are the connections actually using shared server? check ther server column in v$session session may show as dedicated in which case th eocnnection is requesting a dedicated server and is ignoring the shared server configuration.
next check v$process have you got 4000 processes listed there? if so you can connect them back to the sessions e.g.
select vs.sid,vs.serial#,vs.username,vp.SPID,vp.PROGRAM
from v$session vs,
v$process vp
where vs.PADDR=vp.ADDR -
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 -
I am using Acrobat Pro XI on Windows 7.
When I issue a shared review, hosted on our work SharePoint server, I always encounter problems when accessing my work network from home, over a VPN. My comments do not get published, and I cannot see comments that reviewers have published.
I issue the review PDF as an attachment when I open the review, and all reviewers save a local copy of this file. When I open the PDF, the "Welcome back to shared review..." screen is never updated with the number of comments. The server status always seems to show green, but the comment reporting mechanisms do not behave as they do at work. When I click Publish comments, I am usually asked if I wish to take ownership of unpublished comments by other reviewers (to which I click No). When I return to the office, everything seems to "just work" again. But this is hugely inconvenient if I am out of office for days on end.
I had this problem with my previous version of Acrobat, and no satisfactory solution was ever reached. I am most dismayed to find it is still present in version XI.
Please can anyone advise?I don't know if you solved this issue yet. But we have the same issue in the pass, and clean the log files under "\Synchronizer\resources\" folder seems to be a solution. Here is the thread talking about it.
https://forums.adobe.com/thread/1426298?start=0&tstart=0 -
Send for shared review - What type of Web server folder works?
Hello all,
Can someone please explain to me what type of web server folder works with "Send for shared review"?
I have created a folder on my GoDaddy server account with full permissions... http://webservername.com/Adobe_Test but after clicking Next, I see the error, "The Shared Folder Location is not valid. Click OK and check the Status field for more information."
1) It isn't valid? What are the valid server requirements?
2) "...check the Status field for more information."? What Status field?
It would have been great if I could use a Google Docs folder but that failed as well.
What must I do to unlock this neat feature?
Thank youThanks CtDave.
I ended up building a WebDAV server and I am now encountering a bunch of new issues. Such as:
From my workstation, working with Acrobat.
- After making comments. I click the top button "Publish Comments" - this works well - no errors. But when I attempt to exit the PDF, Acrobat wants to save the document. Attempting to Save results in a read-only error. After trying this, Acrobat gets into a loop where there doesn't appear to be a way to exit Acrobat (other than by Save As new file name):
Even worse... I understood that reviewers only required the Adobe Reader in order to comment. This doesn't seem to be the case.
When I emailed a test document for review, this is the message that pops up:
All that is available is the original content (none of the review comments are available).
Any ideas? -
Oracle 10gr2 rac, ora-12545 error when configured in shared server mode
Hi i have fresh installation on two node rac on linux, with oracle 10gr2. It is running successfully, when i configure it in shared server mode and try to connect from client it gives error ora_12545:
I have referred the oracle metalink notes and configured the local_listener as well as the remote_listener,
still it is giving the error. I am able to tnsping all the entries on tnsnames.ora,
i m also able to ping the hostnames,
It connects most of the times succeessfully but some times it gives the error.
how to solve this problem,
please help meBasically this error means you misspelled the hostname or typed a wrong IP Address.
Oracle Error :: TNS-12545+
Connect failed because target host or object does not exist
Cause
The address specified is not valid, or the program being connected to does not exist.
Action
Ensure the ADDRESS parameters have been entered correctly; the most likely incorrect parameter is the node name. Ensure that the executable for the server exists (perhaps "oracle" is missing.) If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the host name to a numeric IP address and try again.
I suggest you to check the dispatcher instance parameter.
~ Madrid
http://hrivera99.blogspot.com -
I have successfully installed and configured outlook 2013 to access my pop.integra.net email accounts. We have an 2003 exchange server we use for shared folders which I am having difficulty accessing.
My preference would be to set up my access to the exchange server and use the same data folders for email as are in use for my pop email account. In outlook 2003 this was simple, but in 2007 on up it seems this feature has been hobbled. Is there
a workaround to get both accounts to use the same database?
Next issue is if I use the Mail client wizard under Control Panel to set up access to the exchange server - everything looks fine but when launching outlook I receive the following 2 error messages:
"The resource that you are trying to use is located on an unsupported version of Microsoft Exchange. Contact your e-mail administrator for assistance."
"Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened. Your Microsoft Exchange administrator has blocked the version of Outlook that your are using. Contact your administrator for assistance."
Obviously the optimal solution is to upgrade the Exchange Server - assuming that is not an option - are there any workarounds?
Any assistance would be appreciated.Downgraded to Office 2007.
So now have a new Windows 8.1 laptop with outlook 2007 installed.
From what I have been told this should allow me to connect to the Exchange2003 server
I set up the pop account - works fine
set up the exchange account through Mail.exe and am unable to launch outlook.
"Microsoft Exchange is Unavailable"
"Retry - Work Offline - Cancel"
Then
"Cannot start Microsoft Office Outlook. Cannot open the Outlook Window. The set of folders cannot be opened. The information store could not be opened."
The data file path is the same for both the pop account and the exchange account:
C:\Users\Scott\app data\local\microsoft\outlook\outlook.pst
How do I get this to work?
Help! -
Shared Server mode doesn't work well for no-adm users
hi,
please... my question is...
i put the database in shared server mode, setting the correctly parameters, as follow below:
NAME.......................................VALUE......
max_shared_servers............................
shared_servers....................................3
shared_server_sessions.......................3
dispatchers.........................................(PROT=tcp)(DISP=3)
the listener services show me as below:
LSNRCTL> services
Estabelecendo conexÒo com (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=orcl)))
Resumo de Serviþos...
O serviþo "PLSExtProc" tem 1 instÔncia(s).
InstÔncia "PLSExtProc", status UNKNOWN, tem 1 handler(s) para este serviþo...
Handler(s):
"DEDICATED" estabelecido:0 recusado:0
LOCAL SERVER
O serviþo "orcl" tem 1 instÔncia(s).
InstÔncia "orcl", status READY, tem 4 handler(s) para este serviþo...
Handler(s):
"D002" estabelecido:0 recusado:0 atual:0 mßx.:1002 estado:ready
DISPATCHER <machine: WINXP, pid: 1372>
(ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2509))
"D001" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
DISPATCHER <machine: WINXP, pid: 3384>
(ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2508))
"D000" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
DISPATCHER <machine: WINXP, pid: 3396>
(ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2507))
"DEDICATED" estabelecido:0 recusado:0 estado:ready
LOCAL SERVER
O serviþo "orcl_XPT" tem 1 instÔncia(s).
InstÔncia "orcl", status READY, tem 4 handler(s) para este serviþo...
Handler(s):
"D002" estabelecido:0 recusado:0 atual:0 mßx.:1002 estado:ready
DISPATCHER <machine: WINXP, pid: 1372>
(ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2509))
"D001" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
DISPATCHER <machine: WINXP, pid: 3384>
(ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2508))
"D000" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
DISPATCHER <machine: WINXP, pid: 3396>
(ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2507))
"DEDICATED" estabelecido:0 recusado:0 estado:ready
LOCAL SERVER
O comando foi executado com Ûxito
LSNRCTL>
are the parameters correctly, aren't they ?
when i connect by scott user for example, i have the follow result below, accessing the informations by V$SESSION view:
USERNAME............STATUS........SERVER.........SCHEMANAME
SCOTT....................INACTIVE......DEDICATED ....SCOTT
SYS........................ACTIVE.........SHARED..........SYS
SYS........................INACTIVE......SHARED..........SYS
SYS........................INACTIVE......DEDICATED.....SYS
why the SCOTT username show me that it's connection is by DEDICATED server ?
thanksno Legatti,
it isn't in my tnsnames.ora. The content is:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK
\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL_IPC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(Key = orcl))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = orcl)
(HS = OK)
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = WinXP)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = WinXp)(PORT = 1522))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
Maybe you are looking for
-
Hi, We have created one document for plant to plant STO within same company code.Here we have two separate profit center for two plant.When I will do PGI inventory account entry is generated and value is moving from one profit center to another but
-
Expdp error with query parameter
i am trying to use datapump and using query parameter in there as below... but when i use the below, its exporting some system "repcat$" tables and nothing realted to scott.audit table or anything realted to my query where clause...what am i doing wr
-
HT2534 im trying to create id without using creditcard
i have created an apple id but when i try to sign in it says that the apple id has not yet been used with the itunes store
-
Instead of downloading BIRDS OF STEAL ... I tunes download PROJECT X.. ... I payed 4.99
-
How do I delete items on my mac so that i have more memory on my mac, I have tried moving it to the trash and i have secured empty trash but it don't work, I am using Macbook Air OSX Mavericks. Thank You.