Re: Oracle Shared Server Implementation

From: Vishal Gupta <vishal_at_vishalgupta.com>
Date: Mon, 1 Aug 2011 22:35:40 +0100
Message-Id: <65AAB9BC-3E74-48F3-8213-2DECC205DC9B_at_vishalgupta.com>


Instead of shared servers, one could use connection pool on the application server or Database Resident connection pool (DRCP) ?

http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/manproc004.htm

On 1 Aug 2011, at 14:29, Goulet, Richard wrote:

> Jeff,
>
>
>
> Is there a reason for Shared Server. Good question and one that should be answered on a case by case basis. I use it on a number of instances where we have between 1 and 2 K sessions at any time and 99% of them are idle 80% of the time. (web based Hibernate app that just wants to stay connected. It also gets around a firewall issue with ports.) Otherwise I do prefer dedicated mainly because it’s easier to set up. As for bugs, Dispatchers have limits especially with the number of sessions they can safely handle which is OS specific. Don’t let them get to 50% of that limit. Second they do become a bottleneck because if their sending data to one session they can’t to a second at the same time. Large reports can cause problems. Lastly a “slow” performing query can get to be harder to troubleshoot, especially if all your servers are busy. And be ready for out of memory issues as the SS pga resides in the shared pool. But for web based, mega connection apps that run fairly simple queries and are idle most of the time they can be a life saver. Small pool I realize, but don’t through it out of the tool box. OH, BTW they do have one more benefit, shorter login times. We have a voice app that needs to connect to the database before replying with its hello message. Dedicated causes problems when the db server is busy (backup times in particular). Shared solves that one too.
>
>
>
> Richard Goulet
> Senior Oracle DBA/Na Team Leader

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Aug 01 2011 - 16:35:40 CDT

Original text of this message