Shared Sever Mode and Total No of Connections  ?

Hello,
Env:Ora 10g on Win2003
The DB is in Shared Server Mode (yes, the application connects with SERVER=SHARED).
During peak hour i could see around 80 connections in v$session from the this username with server = shared.
The count of shared servers in v$shared_server too was around 80+ at that time.
The v$license said the SESSIONS_HIGHWATER as around 85
Is there any way to find out, how many connections would have been there if the connections were DEDICATED ?
TIA,
JJ

J..J wrote:
The DB is in Shared Server Mode (yes, the application connects with SERVER=SHARED).First of all, the fact that the application connects with SERVER=SHARED does not indicate that the DB instance is configured with Shared Server parameters. You need to check and confirm that the instance is setup for Shared Server Mode?
SQL> show parameters shared_server
NAME                                 TYPE        VALUE
max_shared_servers                   integer     5
shared_server_sessions               integer
shared_servers                       integer     1
SQL> show parameters dispatcher
NAME                                 TYPE        VALUE
dispatchers                          string      (PROTOCOL=TCP)(DISPATCHERS=1)(
                                                 LISTENER=LISTENER_TESTDB01)
max_dispatchers                      integer
SQL> show parameters circuit
NAME                                 TYPE        VALUE
circuits                             integer
SQL>One thing to understand is that in any mode (Shared Server or Dedicated), the number of sessions will always be around the connected sessions. Where you see a difference between the two is in the number of server processes created for each mode for those number of sessions. Shared Server mode will create less number of Server processes than dedicated mode.
Here is a quick test check v$process and count number of processes from OS against number of sessions for each mode.
-- Connect 20 sessions with SERVER=SHARED
testdb01@dbmsdirect1:/export/home/oracle:ps -ef|grep testdb0101|grep -v grep|wc -l
      17
testdb01@dbmsdirect1:/export/home/oracle:
SQL> select count(1) from v$session;
  COUNT(1)
        35
SQL> select count(1) from v$process;
  COUNT(1)
        18
SQL>
SQL>  select * from v$shared_server ;
NAME PADDR            STATUS             MESSAGES      BYTES     BREAKS CIRCUIT                IDLE    BUSY      REQUESTS
S000 000000039F25A200 EXEC                   1359     289845          6 000000039C711D50     197651     130           618
SQL>
SQL> select * from v$shared_server_monitor;
MAXIMUM_CONNECTIONS MAXIMUM_SESSIONS SERVERS_STARTED SERVERS_TERMINATED SERVERS_HIGHWATER
                 21               21               3                  3                 3
SQL>
-- Exist 19 sessions out of 20 Sessions
testdb01@dbmsdirect1:/export/home/oracle:ps -ef|grep testdb0101|grep -v grep|wc -l
      17
testdb01@dbmsdirect1:/export/home/oracle:
SQL> select count(1) from v$session;
  COUNT(1)
        16
SQL> select count(1) from v$process;
  COUNT(1)
        18
-- Exit remaining 1 session and  Connect 20 all sessions with SERVER=DEDICATED
testdb01@dbmsdirect1:/export/home/oracle:ps -ef|grep testdb0101|grep -v grep|wc -l
      38
testdb01@dbmsdirect1:/export/home/oracle:
SQL> select count(1) from v$session;
  COUNT(1)
        36
SQL> select count(1) from v$process;
  COUNT(1)
        38
SQL>
SQL> select * from v$shared_server ;
NAME PADDR            STATUS             MESSAGES      BYTES     BREAKS CIRCUIT                IDLE    BUSY      REQUESTS
S000 000000039F25A200 WAIT(COMMON)           1374     291630          7 00                   243613     149           618
SQL>
SQL>
SQL>  select * from v$shared_server_monitor;
MAXIMUM_CONNECTIONS MAXIMUM_SESSIONS SERVERS_STARTED SERVERS_TERMINATED SERVERS_HIGHWATER
                 21               21              11                 11                 3
SQL>
Notice the difference in the number of server processes created by each mode

Similar Messages

  • My ipod is in recovery mode and my itunes cannot connect to the server what do i do?

    my ipod is in recovery mode and my itunes cannot connect to the server what do i do?

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • TS3694 my Iphone 4S is stuck in DFU mode and its not responding connected to Itunes for a restore. I keep getting a 3194 error and 9006. Can any one Help?

    my Iphone 4S is stuck in DFU mode and its not responding connected to Itunes for a restore. I keep getting a 3194 error and 9006. Can any one Help?

    What type of jailbreak was used on it?

  • Grey screen with ios 6 written on it with a 'i' button that pops out a blue box.when i go it it looks like recovery mode and tells me to connect to itunes

    This phone was thrown and it looks like this.when i connect to itunes it tells me to put a sim in when i already have one in.

    Hi PeterRin,
    If you are in Recovery Mode and it is not recognizing the SIM card that is in the iPhone, you may want to try the troubleshooting steps outlined in the following article (not all steps may be applicable for a phone in this condition):
    iPhone: Troubleshooting No SIM
    http://support.apple.com/kb/TS4148
    If it is recognizing the SIM card but is having issues activating, possibly with a message about the SIM card not being supported, you may find this article more useful:
    Get help activating your iPhone
    http://support.apple.com/kb/ts3424
    Regards,
    - Brenden

  • My phone is in plane mode and its says "disabled connect to iTunes"

    How can I turn off the plane mode?
    I can't connect to the iTunes, when I try to get in iTunes my phone stills with the blue circle and the charger icon.
    Please Help

    Airplane mode is not relevant. You do not have to use the find my phone app. The answer was given in your previous post - you need a computer running iTunes and follow the directions in iOS: Forgot passcode or device disabled
    The section you need is "Use Recovery Mode" - do exactly what it says there. It WILL wipe all data from the phone, sorry to say.

  • Screen sharing between server and iMac appears to connect but no window opens

    We have been trying to screen share between a server and iMac. Both are running Snow Leopard 10.6.7. It seems like we connect using the share screen app because we don't get any error messages after inputing the username and password but no window opens for the server we are connected to. When I look under the windows tab I can see a checkmark next to our server name and trying 'bring all to front' doesn't do anything. The video card on the server died and was removed by our tech support who said we could still access the computer via screen sharing. Would the server not having a video card be the cause of our problem?
    Thanks.

    Hi,
    A Bit for other reading this thread.
    To change the Login port for any AIM based name you have to obviously Log out first and then Change the port (SSL might need to be selected first) and then Press Enter to "Set" the port.
    This use of the Enter key is the bit that is different to earlier versions of iChat.
    For Gary,
    Which Thomson-Alcatel device do you have ?
    Thomson-Alcatel Speedtouches used to work well when the firmware that ran them was at Version 4.2.5 or less.
    At least at this level you could access the device via Terminal using Telnet and then access the Command Line Interface (CLI) and "Unbind" SIP from port 5060
    Later versions of their Firmware did not allow for a full Unbind of SIP and Video and Audio chats could only be partially successful (about 15 buddies out a list of 50
    Of course using UPnP to open ports for iChat 4 helps with the Screen Sharing as the process is an Screen Share with an Audio Chat along side and both have to work/connect.
    I am surprised to hear that in iChat 5 that Screen Sharing is not working when Video and Audio chats are.
    For this reason I would ask how the ports have been opened in the Thomson device ?
    After that I would keen to know if the Thomson Device or the Time Capsule is doing DHCP to the LAN ?
    (Share an IP on the Time capsule is to Enable DHCP)
    I am not sure how AT&T expect anyone to use their site to gain help or see what they currently offer when you have to type in a phone number or area (ZIP code).
    I did enter the example number and got to this set of pages http://www.att.com/esupport/main.jsp?cv=801#
    I see no reference to any Thomson-Alcatel device.
    8:15 PM Monday; February 15, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Stuck on headphone mode and no headphones are connected

    my phone is stuck on headphone mode there i have no sound unless i plug in head phones

    I'm having the same problem. I have read on a number of forums that plugging and unplugging headphones rapidly solves the issue. I'm yet to be convinced. A friend of mine tells me that if the phone gets too hot then it trips the headphone mode on. There experience was that the fault was current when they visited their local genius bar for help. The advisor took the phone into the back for about 20 mins. He re-imerged saying that there was some debris stuck in the socket. He took the phone away and within 3 hours the same problem happened again. I guess this problem is one that Apple won't own up to and have no fix for. I really wished I had opted for the 3GS as this is my 3rd iPhone 3G since November 2009!!

  • My iPod Touch 5th generation is in recovery mode, and my iPod won't connect to iTunes so I can restore it, any ideas on how to fix it?

    Alright, here are the details: my iPod Touch 5th gen. is stuck in recovery mode, and it won't connect to iTunes so I can restore it. Now, I know I have the latest version of iTunes, I have deleted it & reinstalled it, and even restarted my computer, but it still won't come up in iTunes...What should I do??

    Try:
    - iOS: Not responding or does not turn on
    When it says place the iPod in recovery mode use one of these program
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                         
    RecBoot tip
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                 
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar              

  • 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

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

    Basically 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

  • My Iphone is stuck in recovery mode and Itunes won't help !

    My Iphone 4s is stuck in recovery mode and i tried to connect it to itunes but it would start to restore it then stop and something would pop up saying error what do I do ?

    What are the exact words of the error message?

  • Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?

    Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
    My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Problem with Internet connection sharing between eMac and Powerbook G3

    Hi,
    I seem to be having a slight problem with internet connection sharing.
    My eMac is the main machine with the internet connection, and its running 10.4.6, the Powerbook G3 is running 10.2.8.
    I can connect them all up and get online with both, but I the problem I am having is when I turn the Firewall on on the eMac, the powerbook can't connect.
    Is there anyway I can keep the Firewall enabled and still use internet connection sharing?

    How do I know which ports the Powerbook is using?
    Also I had web sharing enabled on the eMac and it made no difference at all.
    Plus I don't know if this means anything to you, trying to decipher it myself, all I can make out myself on there is port 80.
    May 31 21:26:30 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49743 67.15.24.40:80 in via en1
    May 31 21:26:34 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49531
    May 31 21:26:34 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49532
    May 31 21:26:39 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49533
    May 31 21:26:39 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49534
    May 31 21:26:42 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49743 67.15.24.40:80 in via en1
    May 31 21:26:44 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49535
    May 31 21:26:44 Craigs-Macintosh ipfw: Stealth Mode connection attempt to UDP 10.0.2.1:192 from 10.0.2.2:49536
    May 31 21:29:12 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49746 17.254.0.91:80 in via en1
    May 31 21:29:15 Craigs-Macintosh ipfw: 12190 Deny TCP 10.0.2.2:49746 17.254.0.91:80 in via en1

  • I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    fighter19lisa wrote:
    that only makes it say its synced, when its not.
    No, it does not.  It transfers purchases from the iDevice to the computer.  The computer must be authorized for the Apple ID that the content was acquired with.
    fighter19lisa wrote:
    my playlists wont show up on the phone.
    Are they selected to sync?  Is Manually Manage content on the device selected?
    fighter19lisa wrote:
    i had to change my password for my aol account again and i still cannot get my email on my phone to even work
    What does that have to do with syncing content to the device?  FYI, nothing.

  • TS3274 its almost 10 months,i purchased ipad2 32 3g wifi.itinially i got problem with applications shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs freq

    its almost 10 months,i purchased ipad2 32 3G wifi.itinially i got problem with applications and safari shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs frequently.plz advise.

    If you have followed the standard Apple troubleshooting processes (see user guide )
    probably a trip to the local Apple Store Genius bar is called for before warranty runs out
    Assuming the iPad has been released in your Country if not you may have to take it to a
    neighbouring Country where it is available
    This page will tell you ,via the drop down menu Countries that can support iPad
    http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=ipa d

Maybe you are looking for

  • HP Officejet Pro 8500A Plus stalls displaying "Now Printing".

    Hi, in the office i work in we have 2 HP Officejet Pro 8500 A910 Series. One is networked to 3 PC's running WIndows 7 and the other is connected via wifi to a  PC also running Windows 7. The problem is the printer that is networked often stalls displ

  • Moving Pictures folder to an external hard disk

    In order to have more space on my hard disk, I bought an external HD where I wanted to store my Itunes and Aperture library. Formatted the exteral HD as Mac OS extended journaled, in order to back it up using Time Machine to my Time Capsule. I used I

  • Photoshop CC says up to date in CC Desktop but Camera Raw is still 8.3

    When I look at my CC desktop app it says Photoshop is up to date but I know it's not becaus it's still using Camera Raw 8.3 and the 8.4 has been officially released for a week now. It detected that my Lightroom was needing an update so I think the CC

  • ALV edit (qty field is not convertable)

    in my ALV program i have used one field MENGE (13,3) (QTY field) in the out put it is showing as 1.000, when user going to enter a value (5) it is showing as 0.005 but user need it as 5.000. please solve this question experts..... Regards Prasad.EV

  • TABLE_ENTRIES_GET_VIA_RFC in unicode system

    Hi all, I know this is going to be a long initial post, but please please take the time to read it. Otherwise there would be many unnecessary questions. We are using a middleware for mobile devices that reads connects to SAP for reading table data (v