The db connection takes too long with connection of shared servers

Hi all

Operating system: Solaris SPARC 64-bit 11
DB: 2 node RAC Oracle 11.2.0.3.5

After a migration from a database of 40GBs of a 9i database to an 11g database, he is takin too long to connect to the db, which uses the shared server. At present, it is not all applications using the Pb, just me. Do a few tests, I saw that when I use a dedicated connection, I can connect almost instantly, but by using the shared connection, it takes almost 4 seconds to connect via sqlplus. Here are a few shared server settings:
shared_server_sessions               integer
shared_servers                          integer     1
max_shared_servers                   integer     20
dispatchers                               string      (protocol=TCP)(disp=5)
max_dispatchers                        integer     5

lsnrctl service


  Instance "INSTANCE", status READY, has 6 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:5 refused:0 state:ready
         LOCAL SERVER
      "D004" established:93 refused:0 current:0 max:1022 state:ready
         DISPATCHER <machine: orahml01, pid: 4073>
         (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=65402))
      "D003" established:85 refused:0 current:0 max:1022 state:ready
         DISPATCHER <machine: orahml01, pid: 4070>
         (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=44055))
      "D002" established:90 refused:0 current:2 max:1022 state:ready
         DISPATCHER <machine: orahml01, pid: 4066>
         (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=41277))
      "D001" established:89 refused:0 current:1 max:1022 state:ready
         DISPATCHER <machine: orahml01, pid: 4062>
         (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=61887))
      "D000" established:91 refused:0 current:0 max:1022 state:ready
         DISPATCHER <machine: orahml01, pid: 4060>
         (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=44222))

  INSTANCE =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-scan)(PORT = 1521))
      (CONNECT_DATA =
        (SERVER = SHARED)
        (SERVICE_NAME = INSTANCE)
      )
  )
  
INSTANCE1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-vip)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = INSTANCE)
      (INSTANCE_NAME = INSTANCE1)
    )
  )  
  

INSTANCE2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-vip)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = INSTANCE)
      (INSTANCE_NAME = INSTANCE2)
    )
  ) 
The alert.log doesn't show anything wrong.

It can be the cause of this problem with shared server?

Thanks in advance.

Published by: Fabricio_Jorge on 03/27/2013 06:14

You have five dispatchers/dispatchers and a shared server. A Dispatcher and five servers shared would be a more normal setting. Try to launch a few servers more shared, perhaps

alter system set shared_servers=20;

--
John Watson
Oracle Certified Master s/n
http://skillbuilders.com

Tags: Database

Similar Questions

  • Should I keep plugging my iphone to the computer during the update download process? especially the download will take too long because it is more than 2 GB and my internet speed is not fast, I can unplug my iphone until the full download?

    I am a new user of Iphone, I must he keep plugging my Iphone to the computer during the update download process? especially the download will take too long because it is more than 2 GB and my internet speed is not fast, I can unplug my Iphone until the full download?

    Without doubt, but why not just make the day downloading overnight?

  • "Unable to configure windows update, changes the way back" takes too long...

    My PC just newly formatted and now I can see a problem when I turn it off, he just starts to day and after that it fails... I'm worried about what it takes too long... from 10:00 until 16:00? I read an article on them, she'll just take up to 20-30 minutes, but watch?

    Is there something I can do? Can normally on my return from PC? or what I need to reformat?

    Hi Andrei,

    Thanks for posting your query in Microsoft Community.

    I understand your concern, and we as a community will try to help you in the best possible way we can.

    Here are solutions to some common problems with installing updates. You might be able to fix some problems automatically by running the Windows Update Troubleshooter.

    I suggest you check out the link below and check if it helps.

    "Configuration of the Windows updates failed. Restoration of the changes. Do not turn off your computer"error when you try to install Windows updates

    https://support.Microsoft.com/en-us/KB/949358

    Hope the information helps, if you have any additional questions, feel free to post. We are here to help you.

    Kind regards

    Guru Kiran

  • Inserting data in the remote table takes too long

    Hello

    I have a table in the remote database and insert the data into this particular table... takes too long.

    Could you please advice me some tips for the DML can quickly...

    Concerning
    DAS

    That takes a lot of time, then don't you have an idea how can we send the data fast

    Buy more band witdth?

    No, honestly. As you can see, the quality of my answers match the quality of your question.

    You must locate the bottleneck, where is - this "too much" time has passed.

    Is it
    collection of data on the local side?
    net send?
    Actual insertion on remote site?
    Maybe you have a condition on the remote site, which causes the data sent to the remote side to local?

    Impossible to give advice without knowing anything about what is happening.

    Concerning
    Peter

  • Why it takes too long to open attachments of the e-mail account?

    It takes forever to download attachments from my mail account. I tried to do the following tasks explained on the vista forum: http://windowshelp.microsoft.com/Windows/en-US/help/6b046ae9-1434-4423-9303-400ff6fe686b1033.mspx#ESD, but none of the fixed work possible.

    After clicking on open on the box pop up asking if I want to open or save the attachment, it takes too long to download. The transfer window remains open to showing that he is ready to download, but rest in this window of bhox. I press cancel and try to open once again, if the chance that it opens this file, otherwise it takes forever forceing me to cancel. Very small files most of the time, usually between 50 KB should take seconds.

    I even tried to save the files, but once again the same process. The transfer case remains open but does not download.

    One of the ideas.

    Thanks in advance.

    Hello

    It is not easy to tell exactly what is happening, but it must be something with the e-mail account provider and their page. For me, this case is not a typical problem of Vista, but you can try to find the solution on Vista from Microsoft IT Pro forum.

    By the way: you have an alternative email by another provider address? Is it the same situation?

  • How to find the lock and more information why the prg conc taking too long

    Oracle Apps R12-Orader management

    Hi all

    I am new to Oracle Apps, we I run my simultaneous program
    its taking too long to complete. How to find that there is a lock to produce in the table while that simultaneous execution of the program, another way to find why the simultaneous program takes too long to run and how can you speed up the process.

    Yesterday we made a few changes to speed up the process with our DBA to accelerate the simultaneous program

    The first simultaneous program takes 2 h 30 and after these changes taking 1 h 45. Please suggest it's okay

    Connected with the responsibility of the system administrator.

    Manager - set - Manager of the standard.

    Set the value of PROCESS like 15 (instead of 10).

    Set the value of SECONDS of SLEEP as 10 (Changed from 30).

    Manager - set - Manager2 Standard.

    Set the value of PROCESS like 15 (instead of 10).

    Set the value of SECONDS of SLEEP as 10 (Changed from 60).


    Any suggestion on how to find why it takes too much time.

    Any help is highly appricatable

    Thanks and greetings
    Srikkanth.M

    Hello

    I suggest you draw the simultaneous program and analyze the trace file. To do this, mark the simultaneous program as Trace enable (RESP system administrator, Menu simultaneous > program > define) and then run the program and download the trace file after dealing with tkprof. Check which are the staements who take most of the time and try to optimize them.

    It will be useful.

  • query takes too long

    Hello

    The following query takes too long (more than 30 minutes), work with 11g.
    The table has three columns RID, ida, geometry and index has been created on all of the columns.
    The table has about 5,40,000 documents of point geometries.

    Please help me with your suggestions. I want to select the geometry in double point where ida = STRING.


    SQL > select a.rid, b.rid from totalrecords, totalrecords b where a.ida = 'CORD' and b.idat = 'CORD' and
    sdo_equal (a.geometry, b.geometry) = 'TRUE' and a.rid! = b.rid order of 1,2;

    concerning

    Hello

    Just glad it helped, don't forget to award points ;-).

    The SDO_JOIN will use the spatial index for a spatial comparison.
    First of all, it will use the index to check which geometries MBR interact, it is the primary filter: http://docs.oracle.com/cd/B28359_01/appdev.111/b28400/sdo_intro.htm#g1000087

    Secondly, you should apply a space MASK, pair of geometries that comes out of the primary filter is then compared according to the MASK, MASK for example = EQUAL, will check these pair of geoms are equal.

    Now, because you have points, the members are the points themselves, so that if their MBR interact, points to interact, which means they are equal.
    This means that the result of the SDO_JOIN points, in this case even a self-join, will give you all the points that are equal.

    But as points are also equal in their car, the join join reflexive sdo, will give you: a = b & one = one but also a b.
    To this effect, you set the a.rowid< b.rowid,="" to="" avoid="" a="a" but="" also="" b="">

    I hope this explains it a little, again read and read great literature (early!), will have a better understanding.

    Good luck

    Luke

  • Data dictionary query takes too long.

    Hello
    I'm using ORACLE DATABASE 11 g.

    The following query takes too long to run and not give the result. As I've tried a few tricks SQL Oracle but it forces developed.
    SELECT 
    distinct B.TABLE_NAME, 'Y' 
      FROM USER_IND_PARTITIONS A, USER_INDEXES B, USER_IND_SUBPARTITIONS C
     WHERE A.INDEX_NAME = B.INDEX_NAME
       AND A.PARTITION_NAME = C.PARTITION_NAME
       AND C.STATUS = 'UNUSABLE'
        OR A.STATUS = 'UNUSABLE'
        OR B.STATUS = 'INVALID';
    Please guide me what to do? to run this query in a fast paced mode...


    Thanks in advance...

    Your query is incorrect. It returns all tables if A.STATUS = "UNUSABLE" or B.STATUS = "INVALID". Most likely, you meant:

    SELECT
    distinct B.TABLE_NAME, 'Y'
      FROM USER_IND_PARTITIONS A, USER_INDEXES B, USER_IND_SUBPARTITIONS C
     WHERE A.INDEX_NAME = B.INDEX_NAME
       AND A.PARTITION_NAME = C.PARTITION_NAME
       AND (C.STATUS = 'UNUSABLE'
        OR A.STATUS = 'UNUSABLE'
        OR B.STATUS = 'INVALID');
    

    But the above will return sous-partitionnee tables not valid/no usable index. He ain't no non-sous-partitioned tables partitioned index/index not valid/not usable with same partitions in the form of tables not partitioned with valid/no unusable indexes. If you want to get any table with indexes not valid/not usable, you outer join that's going to hurt even more performance. I suggest you use the UNION:

    SELECT  DISTINCT TABLE_NAME,
                     'Y'
      FROM  (
              SELECT INDEX_NAME,'Y' FROM USER_INDEXES WHERE STATUS = 'INVALID'
             UNION ALL
              SELECT INDEX_NAME,'Y' FROM USER_IND_PARTITIONS WHERE STATUS = 'UNUSABLE'
             UNION ALL
              SELECT INDEX_NAME,'Y' FROM USER_IND_SUBPARTITIONS WHERE STATUS = 'UNUSABLE'
            ) A,
            USER_INDEXES B
      WHERE A.INDEX_NAME = B.INDEX_NAME
    /
    

    SY.

  • LaserJet pro m401dne: fatal error, takes too long to connect with the printer

    Downloaded the driver of HP software, started installation and got to the point where it says to connect the printer, did, he recognizes it, start the data transfer and just takes forever. After ten minutes, I get fatal error takes too long to communicate with the printer, if aging persists restart the computer and try again.

    I've made this 3 times now and same result.

    Since my laptop doesn't have a cd drive, I copied the cd to a flash drive and installed the software from that. Worked perfectly. Something must be missing or corrupted download. Anyway problem solved

  • My daughter Air2 IPad takes too long to save. It is connected to wifi, connected and the screen is locked.mAny advice?

    My daughter Air2 IPad takes too long to save. It is plugged in, connected to wifi and the screen is locked. Any tips?

    How long is too long? If it lasts for more than a few hours - and even that is too long in my humble OPINION - then something is wrong. Completely backup, because it will not terminate in any case if its been so long, forced to reboot the device and try again.

    To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

    This may not work either. The backup may be damaged and you will need to remove and start over. However, its easy starting point and it will not hurt anything. If the backup will not end, he has nothing to lose.

  • Windows update takes too long to find the updates

    I had just installed a new hard drive on my laptop Dell inspiron N5050. I did a reinstall of system clean of my operating system to windows 7. After that, I started to run windows update to get all the necessary updates that I need to update completely from the computer. He has worked for a very long time with no result. In addition, at least 2 hours. all the settings for windows update is set to the settings recommended. but for some reason, in my view, takes too long to get updates. can someone help me please this possible issue

    Hello Darrin,

    Thanks for posting your query on the Microsoft Community.

    According to the description, the Windows updates take a long time to find the updates.

    I suggest to follow the methods below and check if that helps.

    Method 1: If your computer is experiencing problems find and install updates of the operating system, try using the troubleshooter.to of update of Windows the problem fix. He makes sure your computer is connected to the Internet and checks to see if your network card and Windows Update services are running properly.

    Reference:

    Open the Windows Update troubleshooting tool

    If the problem persists, try Method 2,

    Method 2: run the clean boot: Place your system in the clean boot state helps determine if third-party applications or startup items are causing the problem. Check this question in the clean boot state.

    Reference: How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135

     

    Note: After the boot minimum troubleshooting step, read the sections "How to reset the computer to start as usual after a clean boot troubleshooting" in the link provided to return the computer to a Normal startup mode.

    See also:

    Problems with installing updates

    Hope this information is useful. Let us know if you need more help, we will be happy to help you.

  • After the upgrade of RAM it take too long to begin and start windows.

    Original title: laptop

    Hello

    I have (HP compaq presario V6615EN)
    Core 2 duo 1.83 GHz
    2 GB OF RAM
    Windows vista Home premium 32-bit
    It took 20 seconds to start and windows boot
    (Yes, only 20 seconds)
    When I upgraded my ram to 4 GB it takes too long to start and windows boot
    nearly 160 seconds

    Hello

    1 - is the operating frequency of the matches with the 'old' RAM newly installed?
    2. how many RAM sticks are there?

    Let's try the following steps:

    Also launch memory diagnostic tool. How will I know if my computer has a memory problem?

    http://Windows.Microsoft.com/en-in/Windows-Vista/how-do-i-know-if-my-computer-has-a-memory-problem

    If there are 2 RAM sticks, remove one RAM Strip and check the speed. You can also try to swap the RAM sticks and check.

    For more help, I suggest that you post your question in the HP support forum.

    http://h30434.www3.HP.com/PSG/

  • Try to copy a folder with subfolders, some don't copy, get the message that the folder names are too long under Windows 7

    Hi, when you try to copy a folder with lots of subfolders, some files don't copy.  I get a message that the folder names are too long, and the only option is to ignore these files.  Anyone know the maximum folder (and also) name length that will copy windows 7?

    Thank you

    Steve M

    Hello
     
     
    a. What are the data you're trying to move?
    b. what operating system (for example Windows files) files?
    c. What is the method that you use to copy data?
     
     
    Windows 7 supports filename up to 260 characters. I would ask you to decrease the characters in the file name and then try to copy the files.

    Let us, run disk checking hard disk utility and then check.
    Here's how:
    1. open the computer by clicking the Start button, click computer.
    2. click on the drive you want to check, and then click Properties.
    3. click on the Tools tab and then, under check for errors, click Find now. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    To automatically repair problems with files and folders that the scan detects, select automatically fix file system errors. Otherwise, the disk check will be a problem, but not to fix them.
    To perform a thorough check, select search and attempt to recover bad sectors. This analysis tries to find and repair physical errors on the disk itself, and it may take much longer to complete.
    To check for errors file and the physical errors, select both automatically fix errors in file system and search for and attempt recovery of bad sectors.
    4. click on start.
     
     
    Depending on the size of your drive, it may take several minutes. For best results, do not use your computer for any other tasks while it checks errors.
     
    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I have problem with a .iso file that when I want to use I face the error "the file name is too long.

    Original title: name of a file

    Hello

    I have problem with a file .iso that when I want to use I'm dealing with error "the file name is too long" and I can't use this file anywhere for example: vmvare ' untraiso and even if I cannot write to cd or make a boot USB.

    I don't know how fix it.how I rename the file iso, shorter that I can use?

    Please help me.

    Thank you.

    Right-click on the ISO > rename > give a short name

  • Windows 7 take too long to the mouse and keyboard anable.

    Hello

    I have replace my SSD HARD drive (2 hard drives 120 GB each RAID 0) w / Windows 7 Pro 64 bit. After the replacement windows take longer time to activate the mouse and the keyboard - 5/10 seconds.
    I've updated the drivers for the two, but still have the same question. The boot is faster, but the mouse and keyboard take longer to wake up.

    Any help?

    Thank you

    M. Vilela

    Hi MVilela,

    Thanks for asking this question to Microsoft Community!

    I understand that after the replacement of the hard disk of the computer takes too long to turn on the mouse and the keyboard.

    Your Windows 7 is better suited in the TechNet forums. I suggest you to send your query there.

    Here is the link: http://social.technet.microsoft.com/Forums/en-us/w7itproperf/threads

    It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

    Kind regards!

Maybe you are looking for