Setting sga_max_size and memory_target

what happens when i set
sga_max_size = 4500
memory_target = 5000M
memory_max_target=5000M
sga_target=0
can / will oracle use more than 4.5GB for sga ?
can pga grow more than 500M ?
startup;
ORACLE instance started.
Total System Global Area 4710043648 bytes
Fixed Size 2234376 bytes
Variable Size 3925870584 bytes
Database Buffers 771751936 bytes
Redo Buffers 10186752 byt

user9198889 wrote:
g777 wrote:
hi
DB and OS version would be nice to see...
look here
http://www.dba-oracle.com/oracle11g/oracle_11g_memory_target_parameter.htm
SGA_MAX_SIZE & SGA_TARGET
linux 5.5
db 11.2.0.2 rac GI 11.2.0.2thanks for the links,
"When using AMM (by setting memory_target, and/or sga_target, the values for the “traditional” pool parameters (db_cache_size, shared_pool_size, &c) are not ignored. Rather, they will specify the minimum size that Oracle will always maintain for each sub-area in the SGA.
so that means PGA wont grow more than 500MB and SGA be set to minimum of 4.5GB?
actually if you carefully read the above comment it doesnt mentiond sga_max_size it only says traditional pools such as db_cache_size etc...
does this also include sga_max_size?
I had a look at the other link to a thread but the question is slightly diffrent, they are discussing relation of sga_target to memory_target, I am intrested to know about sga_nax_size inrelation to memory_target

Similar Messages

  • SGA_MAX_SIZE and AMM

    Hi, all,
    I've been testing using AMM in our newly-upgraded 11gR2 databases. All databases (Prod and non-Prod) are running 11.2.0.3 on AIX 5.3 (64-bit).
    I noticed that despite me explicitly setting the following to 0:
    alter system set db_cache_size = 0 scope=spfile;
    alter system set log_buffer = 0 scope=spfile;
    alter system set pga_aggregate_target = 0 scope=spfile;
    alter system set sga_max_size = 0 scope=spfile;
    alter system set sga_target = 0 scope=spfile;
    alter system set shared_pool_size = 0 scope=spfile;
    alter system set shared_pool_reserved_size = 0 scope=spfile;
    And allowing Oracle 'full control' how it manages all parts of the memory (SGA and PGA)
    -- The 'big' database
    alter system set memory_max_target = 24G scope=spfile;
    alter system set memory_target = 24G scope=spfile;
    -- The 'small' database
    alter system set memory_max_target = 3G scope=spfile;
    alter system set memory_target = 3G scope=spfile;
    I bounce both databases and things seem to come up OK. The only exception is that sga_max_size seems to be set to a specific value:
    For the 'big' database, it's 16Gb (2/3rds of the total memory_target)
    For the 'small' database, it's 1536Mb (1/2 of the total memory_target)
    I don't really understand why this is happening. I've double-checked my SPFILE, I've queried v$spparameter and I've read MOS 443746.1
    +"If MEMORY_TARGET is set to a non-zero value:+
    +If neither is set, they will be auto-tuned without any minimum or default values. We will have a policy of distributing the total memory set by MEMORY_TARGET parameter in a fixed ratio to the the SGA and PGA during initialization. The policy is to give 60% to the SGA and 40% to the PGA at startup."+
    BUT I presume that sga_max_size works in the same way that it did when we weren't using AMM - it's the upper limit of the SGA. Not ideal, to be honest, as I can definitely see times when the SGA needs a LOT of buffer cache in Production (and, therefore, lots of SGA)
    I do see this in the alert.logs whenever I restart the system:
    Using parameter settings in server-side spfile /opt/oracle/product/11.2.0.3/db/dbs/spfilebigdb.ora
    System parameters with non-default values:
    processes                = 600
    sessions                 = 928
    timed_statistics         = TRUE
    resource_limit           = TRUE
    event                    = "10262 trace name context forever, level 160000"
    sga_max_size             = 16G
    So it's suggesting that it's querying the SPFILE and determining that sga_max_size should be set. But I've double-double-checked and that isn't the case.
    Now, I know I can get around this by explicitly setting sga_max_size at memory_target. But I was wondering if anyone else had seen this before too?
    Mark

    Another workaround is to remove the memory components entirely from the SPFILE (instead of having them set to 0, don't have them in the file at all). This seems to also set the sga_max_size to the memory_target - which is expected behaviour given the MOS note.

  • Memory_max_target and memory_target on 11.2

    Hi gurus,
    after an upgrade from DBMS10g to 11.2 our DBA changed manually parameters about memory in the following way:
    *.db_cache_size=2113929216
    *.hash_area_size=101310720
    *.java_pool_size=83886080
    *.log_buffer=5097152
    *.memory_target=0
    *.pga_aggregate_target=838860800
    *.sga_max_size=12884901888
    *.sga_target=0
    *.shared_pool_reserved_size=61331648
    *.shared_pool_size=1677721600
    Is this the right way to configuree parameters on 11g? or is better to set only the  .memory_max_target and memory_target and allow Oracle to manage dynamically the other memory size?
    Thanks in advance.

    Hi DDF,
    It is simple to use SGA_TARGET with SGA_MAX_SIZE (Need to allocate PGA) or Memory_target witn memory_max_target (not need to define PGA).
    But make sure your applications are running ok with that setup. Sometimes you may need to define other memory parameters.
    Cheers
    M

  • Sga_max_size and sga_target values

    I have an 11g database on windows with 4GB RAM, I have set the MEMORY_MAX_TARGET and MEMORY_TARGET, what should I do with the pre-existing sga_max_size and sga_target values

    memory_target = sga_target + max(pga_aggregate_target, maximum PGA allocated)
    MEMORY_MAX_TARGET = sum of the SGA and instance PGA sizes.
    For Automatic memory management
    set
    ALTER SYSTEM SET SGA_TARGET = 0;
    ALTER SYSTEM SET PGA_AGGREGATE_TARGET = 0;
    Note:
    In a text initialization parameter file, if you omit the line for MEMORY_MAX_TARGET and include a value for MEMORY_TARGET, the database automatically sets MEMORY_MAX_TARGET to the value of MEMORY_TARGET. If you omit the line for MEMORY_TARGET and include a value for MEMORY_MAX_TARGET, the MEMORY_TARGET parameter defaults to zero. After startup, you can then dynamically change MEMORY_TARGET to a nonzero value, provided that it does not exceed the value of MEMORY_MAX_TARGET.
    Note:
    The preceding steps instruct you to set SGA_TARGET and PGA_AGGREGATE_TARGET to zero so that the sizes of the SGA and instance PGA are tuned up and down as required, without restrictions. You can omit the statements that set these parameter values to zero and leave either or both of the values as positive numbers. In this case, the values act as minimum values for the sizes of the SGA or instance PGA.
    Reference

  • Increase the SGA_MAX_SIZE and SGA_TARGET parameters

    HI ,
    I am using oracle 10g R2 and windows server 2003 .
    My server is having 8 GB RAM .
    I want to increase the SGA_MAX_SIZE and SGA_TARGET parameters .
    I am using the below command , but getting the error
    SQL> alter system set sga_max_size=2000M scope=spfile ;
    alter system set sga_max_size=2000M scope=spfile
    ERROR at line 1:
    ORA-32001: write to SPFILE requested but no SPFILE specified at startup
    Can someone please help ..

    hi
    connect as sys user and then try...
    first make folder as backup and then copy the old SPFILEorcl to the same folder(backup)
    now you can easily modify the files otherwise you will get error..
    you will find here..
    C:\ORACLE_HOME\database
    SQL>  alter system set sga_max_size=2000M scope=spfile ;
    System altered.OR.
    connect as sys user.
    and do the following...
    1).SQL>create pfile from spfile;
    2).modify the pfile and decrease\increase the size of pools.
    3).shutdown database.
    4). Startup database using created pfile.
    if it start ok then.
    5.) Recreate the Spfile with the created Pfile.
    SQL>create spfile from pfile;sarah

  • Increase SGA_MAX_SIZE and SGA_TARGET

    Hi all,
    I want to increase SGA_MAX_SIZE and SGA_TARGET in 10g. Currently we have
    SQL> sho parameter sga
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 2384M
    sga_target big integer 2384M
    And we have 16GB RAM in redhat linux 4(32 bit).Oracle 10.2.0.3 DB.
    Because of 32 bit OS, I was not able to increase shmmax more than 4GB.
    In this situation how and how much SGA_MAX_SIZE and SGA_TARGET I can increase?
    Thanks in Advance,
    Sunil

    Hi sunilgln,
    Given the present state of things, you have to take a meassure of how many RAM is used with nothing running but the OS, that will give you the Linux footprint.
    Take note of the amount of physical free memory (using <strong>top</strong> command)
    Later you have to estimate how much swapping are you willing to accept, the SGA you define may be within the ranges of
    FREE MEM*90% and FREE MEM*90+(OS FOOTPRINT*%SWAP MEMORY WILLING TO USE)
    <em>This is a proposal for setting this up, you need to tune and balance load depending on usage.</em>
    Another recommendation, SGA_TARGET is <strong>dynamic</strong>, SGA_MAX_SIZE is not...but you may set SGA_MAX_SIZE to a full allocation and set SGA_TARGET to a percentage that allocation and gradually use it.
    What happens is: the OS will "allocate" a chunk(or chunks) the size given by SGA_MAX_SIZE, but the real usage by the database will be determined by SGA_TARGET.
    Hope this helps you
    Ignacio
    Regards
    http://oracledisect.blogspot.com

  • SGA_MAX_SIZE and SGA_TARGET

    DBAs,
    can any one tell me in brief how SGA_MAX_SIZE and SGA_TARGET helps to tune the instance?
    i have gone through with vairous link but still confuse.
    Regards,
    BK

    hi BK,
    SGA_MAX_SIZE is the maximum sizeof the shared global area (system global area), and SGA_TARGET is set when you want to use ASSM (automatic shared memory management) which is a 10g feature.
    You are alos adviced to post oracle version and os.. SGA_TARGET when set, then oracle automatically manages the memory and if not set then you have to set SGA_MAX _SIZE and manually set others memory components accordingly and tune them.
    I hope this helps you in a small manner
    Thanks and Regards
    VD

  • Unable to set sga_max_size parameter through spfile

    My 10g db running in spfile. I am trying to decrease sga_max_size to 1024M where i have 1504 now ...
    Do i am not doing in a right way ? Please suggest me
    i am trying like this .....
    SQL> sho parameter sga
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 1504M
    sga_target big integer 0
    alter system set sga_max_size =1020M scope= spfile;
    SQL>system altered
    SQL> sho parameter sga
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 1504M
    sga_target big integer 0

    SCOPE=SPFILE would not change the in-memory value. So a SHOW PARAMETER would still show the previous value.
    You must compare the SPFILE before and after the ALTER SYSTEM. (Don't copy the spfile in a text editor but make a copy of the spfile to view OR use the "strings" command on Unix/Linux . If you accidentally write to the spfile with a text editor you will corrupt it. So, the best way to check the value is to run a CREATE PFILE FROM SPFILE and view the pfile which would be the initSID.ora file.

  • I am very annoyed at the Creative Cloud set up and the non-stop issues and problems

    I am very annoyed at the Creative Cloud set up and the non-stop issues and problems!  I am paying monthly for this service and it is constantly failing in some way!  So far in three months I have had to uninstall and re-install Photoshop THREE times because it stopped working properly and Illustrator I have had to do that same to TWICE!  That isn't including the other apps that have had issues!  I don't have the time to constantly be un-installing and re-installing all or some of the Creative Cloud because your developers are not making a product that works consistently for the money you are charging!  It is costing me more than just this monthly fee!  And I am even less impressed with the fact that I cannot email someone for assistance in resolving these issues.  Really Adobe?

    Adobe contact information - http://helpx.adobe.com/contact.html may help

  • How To set Header and Footer in MIDlet screen

    Hi Friends,
    How can i set header and footer in my screens .
    My need is that in header part ,my company's name shuld be display and in footer section "any thing".
    How can i achieve this things plz advice me.
    karan

    Hi Supareno,
    Can u tell me in details with small code, If it's
    possible for you .
    regards
    karandefine an header (coordinate 0,0)
    optional {
    a CustomItem? (coordinate 0, 0+header.getHeight() )
    another CustomItem ? (coordinate 0, CustomItem.getY() + CustomItem.getHeight() )
    etc...
    define footer (coordinate 0, getHeight() - footer.getHeight() )
    Message was edited by:
    supareno

  • How to set-up and use FAMILY Sharing

    Can someone please explain to me in detail how to set-up and use FAMILY Sharing, none of the information I have so far found in the documentation helps at all, in fact it puts you in a constant loop giving the same information over and over again
    We have quite a few devices from ipads, iphones and ipods and I need to set-up Family Sharing.
    We have our main Apple ID which is linked to our Payment method, I have now got my son a new iPad, I have created his Apple ID and set-up a link via FAMILY Sharing to our main Apple ID.
    From what I read we should be able to share our purchased Apps between family members.
    So I figured I would be able to get the Apps now via iTunes that are part of the FAMILY Sharing, however when I go into ITunes (latest version downloaded yesterday) I can only see the Home sharing menu item not FAMILY Sharing, so I cannot work out in Itunes how to get Apps that are FAMILY shared.  So ok I will try and get Apps directly via the Ipad using the App Store.  To test it is working I look for a known paid for App, I then go to download it and it is now asking me to pay for it again. 
    Can someone please explain to me in detail how FAMILY Sharing is supposed to work and how I get it to work please.
    Thanks for your help
    Greg

    Hey GregWr,
    Thanks for the question. The following resources provides some of the best information regarding Family Sharing. Included, you’ll find information on making sure the accounts are set to "Share my purchases”, as well as information on downloading Family Member purchases from the iTunes Purchased section. Please note that some applications are not shareable.
    Sharing purchased content with Family Sharing - Apple Support
    http://support.apple.com/en-us/HT201085
    Which purchased content can I share using Family Sharing - Apple Support
    http://support.apple.com/en-us/HT203046
    If you don't see your family's shared content - Apple Support
    http://support.apple.com/en-us/HT201454
    Thanks,
    Matt M.

  • HT1386 I have a new iPhone and want to purchase a ringtone on iTunes.  It keeps asking for answers to a question that I did not set up and don't have the answer for.  How do I get pass this dilemma?

    I have a new iphone and want to purchase ringtones from itunes.  Itunes is asking answers for security questions I did not set up and I can't answer them.  How do I get past this to be able to purchase.  I can purchase songs on my MAC and sync but itunes doesn't give the option to purchase ringtones on the MAC, just the iphone.

    If the email hasn't arrived after a few hours and isn't in a spam filter, you need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106007)

  • HT204407 my 2 daughters and I are sharing one icloud.  I am trying to set up and use find my friends with them, but it won't let me.  It says I can't send a request to myself when I send one to her email address, which is different than mine.  What am I d

    my two daughters and I have iphones.  I am trying to set up and use find my friends with them. We have 1 icloud, but different emails.  When I send a request it states that I can't send a request to myself.  What am I doing wrong

    Sharing an Apple ID is never recommended for these reasons.
    They can create their own: http://appleid.apple.com and you can add them at the addresses they use for their ID.
    Sharing an Apple ID is not recommended because all of your data gets merged and when it gets deleted from one device, it deletes from them all, such as Contacts.
    iCloud Guide

  • SET PARAMETER AND GET PARAMETER

    What is the difference between Set parameter and Get parameter?

    Hi,
    Set parameter is used to put some value into ABAP memory area, get paramter is used to retrive values form ABAP memory.
    refer the below sample code.
    here i am taking one material number and i am passing that mateial number by using 'set parameter id', the material number will be stored in ABAP-memory area 'MAT', and then i am calling the Tcode 'MM03', after executing the Tcode  (from program) automatically 'MM03' will reads that material number from that ABAP-memory area and it will displays the 'MM03' tcode along with material number.
    you can find the parameter-id's from data element of that field.
    parameters: p_matnr like mara-matnr.
    set parameter id 'MAT' field p_matnr.
    call transaction 'MM03'.
    Reward if useful.
    Thanks,
    Sreeram.

  • HT201304 It would be tremendously helpful to be able to access, set restrictions, and make changes from the parents device to all devices under the same iTunes account, so that I could make changes to my kids devices without physical access.

    Please help!
    It would be tremendously helpful to be able to access, set restrictions, and make changes from the parents device, to all devices under the same iTunes account, so that I could make changes to my kids devices without physical access.
    I understand that I can set up a different Apple ID for the kids devices, or take physical control of the device and make the changes myself. However, my teenage son is technically savvy enough to have a job in Silicon Valley, as are most young people these days. However, in order to access his devices the current way, I first have to bypass the four digit pass code. This starts a fight of why I need in the device and continues to escalate. The argument that I am the parent will gain access but the fight is simply exhausting, and quite frankly shouldn't have to happen at all. He is not yet an adult, he did not pay for his iPad or iPhone and I, as a parent, should have not only have the right to change options at will, and from anywhere, but look at history or current activity when I feel like it.
    I currently have the settings where app and in-app purchases require my password to be put in, and he must come to me to type it in, but I need more control and would like, and should be able to access any of our six devices and make individual changes simply by logging in to my account, with my password.
    If I can see all my devices on the "Lost My iPhone" app, this technology should be easy to make happen.
    C'mon parents! I have a pretty good kid, given all things that they can get into, but I am not stupid. For everything I see has been done, there is much more I haven't seen. I want my children to be kept safe and be able to know what they are looking at or listening to. We parents are the only ones who know our beliefs and what our kids can handle and when.
    Thanks for any support or information that I may be missing in order to fulfill my request.

    There are mobile device management solutions that can do this, including in Apple's OS X Server system, but most parents generally find that setting this up is more work than it's worth. If you're interested, though, there are a couple that at least purport to be free (I don't know if there are any hidden "gotchas"):
    http://www.unwireddevicelink.com/features/
    https://meraki.cisco.com/products/systems-manager
    and Apple's system:
    http://www.apple.com/osx/server/features/#profile-manager
    I don't think any, however, allow you to see current activity or browser history. iOS doesn't expose those to access from MDM solutions, to the best of my knowledge.
    Regards.

Maybe you are looking for

  • Can I use the disk on my time machine 2TB to store data from iPhoto.  I want to take 250 GB and make it a disk

    I have a time machine 2TB that is backing up my system.  Attached to the time machine is a 1T apple drive.  I would like to move the iPhoto file from my MacBook Air laptop to the time machine and use some of the disk as a storage area.  I plan to kee

  • A Problem about BAPI

    Hi,everyone. Now i want to use JCo and BAPI to execute a function(create sales order ps:transaction code is VA01). How do i to find the BAPI that i need? And where can i find some documents about BAPI? Thx~~ a lot PS:if this topic isn`t suitable in J

  • Chroma key, dv

    I want to make a video with 1-4 musicians. I´d like to have no background (=color white), "chroma key" seems to be the word. I´m using a dv camera. Would this work with the chroma key effect in FCE?

  • Do i need to condition my laptop battery?

    I got a brand new dv7 laptop, do i have to "condition the battery" since its brand new? I cant get a straight answer on this. everything i read is different.they say yes, no, store fully charged, store half charged, fully discharge at least once a mo

  • Latest imac software update seems to have messed up disk utility

    I just performed (as I always do) the latest apple software update that just popped up on my screen. I did the upgrade (for itunes and quicktime) on both my 1.25 GHz G4 imac (system 10.3.9) and my 10.7 GHz G4 (system 10.3.9). For both machines I ran