Increasing the SGA Size to Reduce CPU Run Queues?

I got the following e-mail message from one of our UNIX admins and wanted to know if anyone can shed some light on this:
I was just talking to [a consultant] about the problems on [the database server] and he pointed out that he has seen extremely high CPU run queues on this server, despite the fact that average CPU usage is not hitting 100%. We did some more digging and memory is being poorly utilized on this server. There is a lot of available memory that is not being used. We think that the run queues are running up because we have multiple reports coming in and sitting on the individual CPUs but they aren't able to fully utilize the available CPU. We were wondering if it would be possible to adjust the database to use more of the available memory and see if that allows the queries to use the CPU more effectively.

jdurst wrote:
I got the following e-mail message from one of our UNIX admins and wanted to know if anyone can shed some light on this:
I was just talking to [a consultant] about the problems on [the database server] and he pointed out that he has seen extremely high CPU run queues on this server, despite the fact that average CPU usage is not hitting 100%. We did some more digging and memory is being poorly utilized on this server. There is a lot of available memory that is not being used. We think that the run queues are running up because we have multiple reports coming in and sitting on the individual CPUs but they aren't able to fully utilize the available CPU. We were wondering if it would be possible to adjust the database to use more of the available memory and see if that allows the queries to use the CPU more effectively.First, [read these comments.|http://prodlife.wordpress.com/2008/05/06/newsflash-100-cpu-is-worse-than-you-think/#comments]
So, there are a lot of things that could be happening, and your post doesn't even begin to point in the right direction. Is your system heavily batched? You might speed report things up by slowing down the batch and letting other things use the cpu's. What does Oracle think it is waiting on?
As the comments cited above suggest, Cary's book addresses how to figure these things out. Big CPU run queues are certainly an indication of tuning necessity, perhaps on both the Oracle and OS side. It could even be something silly like I/O being too slow so the CPU's are waiting on that stuff. There are enough variables involved it can very quickly become like squeezing balloon animals if you don't use a structured approach.
So, what all hardware is involved? What are your init.ora parameters? What exact versions of everything? What do OS utilities show?

Similar Messages

  • How to Increase the SGA Size.

    Hi Guru's
    I want to Know
    How to Increase the SGA Size in Database 8.1.7.4.1
    My Ram Size is 6 GB
    When I query the Below Script
    select name, value
    from v$parameter
    where name in ('shared_pool_size', 'java_pool_size', 'streams_pool_size',
    'log_buffer', 'db_cache_size', 'db_2k_cache_size', 'db_4k_cache_size',
    'db_8k_cache_size', 'db_16k_cache_size', 'db_32k_cache_size',
    'db_keep_cache_size', 'db_recycle_cache_size', 'large_pool_size');
    Result
    shared_pool_size     300000000
    large_pool_size     0
    java_pool_size     50000000
    log_buffer     10485760
    Please Suggest Me the How Much Value also to increase the SGA
    My RAM SIZE is 6 GB
    Regards
    ***SBJ***

    SGA size on 8i is static , and for increasing the size you have to make the changes in the pfile and bounce the database
    First thumb rule is that your SGA should not exceed more than 40% of your PHYSICAL RAM in oracle <= 8i version. You can go around 80% from oracle 9i onwards
    http://mohamedazar.wordpress.com/2010/08/30/can-i-increase-sga-target-size-greater-than-sga-max-size/
    Edited by: Amigo on Dec 18, 2010 1:31 AM

  • Increase the SGA size!

    Hi,
    We are using EBS 12.0.6 and DB 10.2.0.3.
    Currentlly My SGA is 2 GB and we have 8 GB of RAM, and Swap area is 10 GB.
    Please recommemded us to SGA size and related DOC ID.
    thx.

    Hi again;
    In addition to my previous post also check
    Oracle Database 10g Automated SGA Memory Tuning Doc ID: 257643.1
    How To Use Automatic Shared Memory Management (ASMM) In Oracle10g Doc ID: 295626.1
    Hope it helps
    Regard
    Helios

  • Increase the SGA Memory

    Hi,
    Iam using oracle 9i OS Solaris version 9.2.0.6
    I am new to Oracle Database and i learn DBA any help me.
    My Database Ram Size is 16 Gb
    Now the SGA Size is below
    Total System Global Area 3747585360 bytes
    Fixed Size 736592 bytes
    Variable Size 1593835520 bytes
    Database Buffers 2147483648 bytes
    Redo Buffers 5529600 bytes
    Now i want to increase the SGA size to 5 Gb
    How to increase the SGA Size and give the examples SGA Based parameters also i want to increase so Kindly Help.
    Regards,
    Suresh Kumar

    Hi.It is correct that you must look into the documentation as the first-point-of-resource.It will be more quicker than to wait for the reply here.Not to say that don't post your question but do a search, get some thing in your hand,read it and when you dont understand it than post the question here.It will be more better approach of learning.
    For your question , in 9i you can't increase the total memory for your SGA on the fly as like you can (to some extent).If you want to increase the total memory allocated to your SGA than you need to change the parameters which constitute the total memory for the SGA in 9i.REad here.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#998095
    SGA_MAX_SIZE parameter controls the total memory allocated to your SGA in 9i.You need to change its value in the parameter file/spfile and bounce your db to reflect teh changes.
    Aman....

  • How to increase the heap size of the container in whioch BPEL is running ?

    Hi All,
    I recently raised an SR they have asked me to do the following,
    Can you please try and start the container running the BPEL process with max
    heap space (-Xmx) of 2 GB and the eden space (-Xmn) at about 60% of 1228m and
    the option -XX:+AggressiveHeap set. (even though this option is recommended for
    multi processor machines say 4)
    can anyone kindly explain me how to increase the Heap size and Eden size of BPEL container ?
    Thank You

    Hi Deepak I cant see any attribute or element in the oc4j_opmn.xml file regarding heap memory. In the server properties I changed the size of heap memeory how can I rollback.
    I am getting the following error
    Configuration information
    Running in C:\product\10.1.3.1\OracleAS_1
    Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
    Oracle home:C:\product\10.1.3.1\OracleAS_1
    Oracle home name:Unnamed
    Instance name:SOA.01hw117905.India.TCS.com
    Instance type:allProducts
    Version:10.1.3.4.0
    Uses infrastructure:false
    Not an infrastructure instance, no infrastructure information available
    Components:[j2ee, apache, orabpel, oraesb, owsm, Wsil]
    2009-08-19 09:08:51.863--Begin log output for Mid-tier services (SOA.01hw117905.India.TCS.com)
    2009-08-19 09:08:51.863--Processing Step: starting OPMN
    2009-08-19 09:09:00.394--Processing Step: starting OPMN managed processes
    2009-08-19 09:09:35.19--End log output for Mid-tier services (SOA.01hw117905.India.TCS.com)
    An unknown OPMN error has occured
    oracle.appserver.startupconsole.model.ConsoleException: An unknown OPMN error has occured
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:121)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    Caused by: oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         ... 6 more
    Exception caused by
    Error from opmn during process control operation
    oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    <?xml version='1.0' encoding='WINDOWS-1252'?>
    <response>
    <msg code="-82" text="Remote request with weak authentication.">
    </msg>
    <opmn id="01hw117905:6200" http-status="206" http-response="2 of 3 processes started.">
    <ias-instance id="SOA.01hw117905.India.TCS.com">
    <ias-component id="default_group">
    <process-type id="home">
    <process-set id="default_group">
    <process id="172" pid="2176" status="Alive" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log" operation="request" result="success">
    <msg code="0" text="">
    </msg>
    </process>
    </process-set>
    </process-type>
    <process-type id="oc4j_soa">
    <process-set id="default_group">
    <process id="173" pid="5556" status="Stopped" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~oc4j_soa~default_group~1.log" operation="request" result="failure">
    <msg code="-21" text="failed to start a managed process after the maximum retry limit">
    </msg>
    </process>
    </process-set>
    </process-type>
    </ias-component>
    <ias-component id="HTTP_Server">
    <process-type id="HTTP_Server">
    <process-set id="HTTP_Server">
    <process id="171" pid="2724" status="Alive" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\HTTP_Server~1.log" operation="request" result="success">
    <msg code="0" text="">
    </msg>
    </process>
    </process-set>
    </process-type>
    </ias-component>
    </ias-instance>
    </opmn>
    </response>

  • Is there a way to increase the font size in the sidebar of Mac mail and the Finder when running OS 10.6.8?

    Is there a way to increase the font size in the sidebar of Mac mail and the Finder when running OS 10.6.8?

    The only way to increase the size of the onscreen text in the Finder Menu Bar and in the Side bar in Finder Windows is to change the screen resolution in the OS X Preferences Pane under the Displays icon.
    What Mac and screen size are you using?

  • Increase the SGA and PGA size

    Hello Guru,
    How do i check what is my SGA and PGA..I am using TOAD..
    I need to increase the SGA and PGA size...Please help..
    I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
    So i believe, I need to increase the SGA and PGA size...
    Thanks,
    Haraprasad...

    805936 wrote:
    Hello Guru,
    How do i check what is my SGA and PGA..I am using TOAD..
    I need to increase the SGA and PGA size...Please help..
    The current size for both SGA and PGA can be shown depending on the version of the db. For 10g, the SGA size is shown by sga_target parameter and PGA size is shown by pga_aggregate_target parameter. For 11g, the parameter memory_target sets them both.
    I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
    So i believe, I need to increase the SGA and PGA size...No, IMO, your believe doesn't hold much base as the evidence that you have used is insufficient. What is the debugging mode or compile mode ? For what purpose you are using these modes? 200 million is not a very large number if you ask me. Tell us your db version and based on it, generate a Statspack or AWR report and post here.
    HTH
    Aman....

  • I recently downloaded and installed OS X Mavericks. The font size on the display is smaller. How can I increase the font size. Also everything seems to be running a tad slower. Will this speed up?

    How can I increase the font size in all my displays after it shrank after installing OS X Mavericks?
    How can I increase the speed after installing OS X Mavericks? It is slower now.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    See http://kb.mozillazine.org/Zoom_text_of_web_pages
    Your plugins list shows outdated plugin(s) with known security and stability risks.
    * Shockwave Flash 10.0 r45
    * Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How  to increase the database size

    Hi All ,
    Our Client is going to increase their customers from 3.5 million to 5 millions
    (12 millions in future ) and there is no increase in the existing licenses..
    At present we have very less space in Data base server. We are Going Live at the End of the Month.
    How to increase the database size to meet the Client requirements.
    we have to increase the No of Processerors etc...
    Below are the details of Servers:
    System Model: IBM,7040-681
    Machine Serial Number: 830D5BF
    Processor Type: PowerPC_POWER4
    Number Of Processors: 2
    Processor Clock Speed: 1904 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    LPAR Info: 4 bgl-svr-biap
    Memory Size: 4096 MB
    Good Memory Size: 4096 MB
    Note : Server is IBM P690.
    1)  System Lansdcape --> Two System Landsacpe ( Dev to Prod )
    2)  BW Version --> 3.5
    3)  SAP Basis --- > 6.4
    4)  No of Application servers currently having --> Only  One  Server
    Can any body suggest me how to solve this.....
    Thanks in Advance..
    Kasi Chukka

    Hi Kasi,
    Your question is not very clear, from the looks of it, the load on your client's system will be doubling soon.
    You need to look at the system stats on how the system is handling the current load, use transactions ST06, ST04 and ST02 to check if the DB hit ratios are as expected, the cpu idle time, the busy periods. Identify if there is large amounts of paging on the server(candidate for increase in real memory).
    On AIX level, you will need to look at CPU / Memory usage.
    On SAP Application server, you need to look at SAP Buffers.
    On Oracle end, look at SGA stats, if it need to increase, the data growth that is current and estimated growth (DB02).
    You will not get an exact answer to it, you will need to analyze the existing load and then estimate (guess). The hardware upgrade will also depend on what the client is willing to spend, its always a good practise to add 20% to what you have estimated as these figures are never accurate.
    All the best.
    Cheers,
    Nisch

  • In previous versions of Firefox I was able increase the display size on Flickr which remained unless I altered it again. Does any one know how to do this on Firefox 4?

    Question
    In previous versions of Firefox I was able increase the display size on Flickr which remained unless I altered it again. Does any one know how to do this on Firefox 4

    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"
    You can use one of these extensions to adjust the default font size and page zoom on web pages:
    * Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • Cannot increase the stack size

    Hi,
    We have a program which gives a StackOverflowError. Trying the increase the stack size using command line options does not work. A simple program shows that the stack is the same size, whatever option we set.
    This is the program:
    class StackOverflowTest
    public static int counter = 0;
    public static void main(String[] a)
    try {
    sub();
    } catch (StackOverflowError e)
    System.out.println("recursive calls: "+counter);
    public static void sub()
    counter++;
    sub();
    We tried several -Xss (and -Xoss) settings: 600K, 2048K, 4M but got the same recursion deep: 16683 (with Eclipse), or 16689 (command line).
    We used Windows XP.
    Do you have any clue?
    Many thanks,
    Zsolt

    Oh good, they seem to have broken the forum formatting again.
    ====================================================================================================================
    Bug ID:     4362291     Stack size argument ignored (-Xss and -ss)
    ====================================================================================================================
    public class StackOverflowTest {
        public static int counter = 0;
        public static final void main(String[] a) {
            new Thread(new Runnable() {
                public void run() {
                    try {
                        sub();
                    } catch (StackOverflowError e) {
                        System.out.println("recursive calls: "+counter);
            }).start();
        public static final void sub() {
         counter++;
         sub();
    /code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I increase the thumbnail size when using Safari to upload an image to a website?

    I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?

    Delete all unused, invisible layers.
    Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
    Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
    Post a preview of your pdf and we can comment further on how to reduce the file size.

  • How do you increase the volumne size of a hard drive partition?

    how do you increase the volumne size of a hard drive partition? the drive is set up into 3 partitions C, HP_tools and, recovery, C has space and would like to move some to HP_tools that is full. when I run backup I get drive full. I have run backup now to an external drive so that is not an issue.

    Hi,
    Firstly please don't keep anything in HP_TOOLS except things have been there. You can use Windows systems tool called Disk  Management. Please use the following tutorial:
      http://www.howtogeek.com/howto/windows-vista/resiz​e-a-partition-for-free-in-windows-vista/
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HT1338 Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    That's between you and your internet service provider.  By the way, you posted to the 10.3 forum.  10.3 can't run on your MacBook Pro. Don't forget the following facts:
    b= bit
    B = Byte
    8 bits in a byte
    A typical DSL connection has 1 Mbps speed or 128 kBps speed.
    At that speed
    1 minute gives you 7.5 MB
    10 minutes gives you 75 MB
    100 minutes gives you 750 MB
    A typical cable connection can be 5 times faster although some are 30 times faster.
    A typical fiber connection is 15 times faster and some are 50 times faster.
    Ask what your speed is rated at.

  • Increase the font size

    I just got my new mac mini about 2 months ago running Lion .. I love it but the font size is so small I am having trouble reading the movies and songs on it.  I have increased the size insided Itunes to the max .. with no improvement.  If I try to increase the font size using the keyboard no luck ..
    My windows machine is just fine in Itunes.    Is there a solution to this problem ?

    Hi sreelatha,
    Yes it is possible to increase the font on the screen painter goto se51->layoutscreen->there we hav options like utilities-> in tht we hav menu painter there u can give text length size. Check this it will work..
    Reward points if useful.
    Regards,
    swetha.

Maybe you are looking for

  • Won't print to my old DesignJet 220 C3187a from XP Pro

    I have an original DesignJet 220 C3187a inkjet A1 plotter in as new condition ( I purchased it new ). I have autocad running on Windows XP pro on a Mac Pro laptop in a virtual environment (parallels) and I cannot get the computer to talk to the plott

  • Sqlplus: Error while loading shared libraries: libsqlplus.so:

    Hi The Error is as follows: sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory Installed R12 with RUP2. User Oracle already exists. I tried to create a user appsdev as follows: #add

  • I can't make a video-chat on Facebook?!?!

    Hi ! I can't have a video-chat on Facebook.. It seems like FB can't find my webcam. All other programs are closed, så it's not because the camera is busy .. I have had that problem since October 2013 i think. Appel doesn't seem to help me. Their answ

  • How to get swatch color changes to update in gradients?

    When I drop a swatch color on a gradient, it doesn't link to the swatch color like in a solid fill. Nevermind the UI inconsistency with this behavior, since Adobe probably doesn't care, but how do I get around this? Creating a Swatch from the gradien

  • Lumia 920 - speakerphone calls with audio cable pl...

    I'm not sure if this is a bug or by design but if I have my 920 plugged into my car audio AUX and I take a call using the speakerphone the call audio droppes to the phone.  If I take it off speakerphone the audio then comes out through my car system.