Advice on sga_target and sga_max_size

hi,
a little abt my existing system
HP UX 11.11 oracle 10.2.0.4 EBS11.5.10
memory 4GB
SGA 2 GB
i will be increasing physical emory to 20GB today
i need advice on setting sga_target and sga_max_size
currently my SGA_MAX_SIZE=2GB

If you are increasing the physical memory then set the SGA_MAX_SIZE to max estimated size based on application usage and keep the SGA_TARGET to whatever value you have currently.
This helps to increase SGA dynamically (SGA_TARGET) when ever application needs and you no need to shutdown your database.
It is always advised to keep SGA_MAX_SIZE > SGA_TARGET.
Hope this helps.
Regards.
Satishbabu Gunukula
http://oracleracexpert.blogspot.com
[Click here to learn Install and Configure ASM in 10g|http://oracleracexpert.blogspot.com/2009/08/install-and-configure-asmlib-in-10g.html]
Edited by: Satishbabu Gunukula on Aug 21, 2009 12:20 PM

Similar Messages

  • Need Clarification on sga_target and sga_max_size

    HI,
    I need some clarification in SGA_TARGET and SGA_MAX_SIZE.
    I have the parameter like below.
    SGA_MAX_SIZE=10G
    SGA_TARGET=9G
    And I spread the 9G to all components like (DB_CACHE,SHARE_POOL etc.,).
    My doubt, Incase db need the memory more than 9GB, Whether it automatically take the extra 1G from sga_max_size
    or we have to change the sga_target to 10G.

    Unless and untill, we set the sga_taget=10G, The extra 1G(from sga_max_size) is not used.
    Am i correct?No - its wrong. Any change in the value of SGA_TARGET affects only the sizes of the auto-tuned components. If you increases its value then increased memory will be distributed in only among the components controlled. So, yes 1GB will be used, because have sga_max_size=10G. If you decrease the value then reduced memory is taken back by the auto-tuning policy from one or more of the auto-tuned components.
    If SGA_MAX_SIZE is greater than SGA_TARGET, you can increase SGA_TARGET without restarting the instance. Otherwise, you'd need to shutdown and restart the instance if you wanted to increase SGA_TARGET.
    Regards
    Girish Sharma

  • Diffrence Between SGA_TARGET and SGA_MAX_SIZE

    Can Any one explain me what is the diference between
    SGA_TARGET and SGA_MAX_SIZE
    Thanks In Advance.

    sga_max_size -- This parameter sets the hard limit up to which sga_target can dynamically adjust sizes. At database start time, Oracle will allocate sga_max_size in RAM (or set sga_max_size to the sum of the existing pool sizes), so in order not to waste RAM it may be a good idea to have sga_max_size and sga_target at the same value, but there may be times when you want to have the capability to adjust for peak loads. By setting this parameter higher than sga_target, you allow dynamic adjustment of the sga_target parameter.
    sga_target -- This parameter is new in Oracle Database 10g and reflects the total size of memory footprint a SGA can consume. It includes in its boundaries the fixed SGA and other internal allocations, the (redo) log buffers, the shared pool, Java pool, streams pool, buffer cache, keep/recycle caches, and if they are specified, the non-standard block size caches.

  • WHAT WILL BE SGA_TARGET AND SGA_MAX_SIZE VALUE

    HI ALL
    RAM MEMORY 7360
    swap memory 8704 M
    OS--AIX6
    DATABASE SIZE ---50 GB
    WHAT WILL BE SGA_TARGET AND SGA_MAX_SIZE VALUE

    WHAT WILL BEThe values will be whatever you set them to be. OR sga_max_size will be automatically derived from db_cache_size + shared_pool_size + ............
    yes, I know that you are looking for a "thumb-rule" and your question is "_What *should* be ..."_ You might get many answers.
    The right answer is "what is really required based on the database, i/O pattern, concurrency etc
    Hemant K Chitale

  • Am I understanding SGA_TARGET and SGA_MAX_SIZE correctly?

    Let's say I set SGA_MAX_SIZE to 1024MB and SGA_TARGET to 512MB.
    As I understand it, this means that the total SGA size will never exceed 1024MB (that's the "hard cap"). Oracle will try to keep things around 512MB, but may burst up to 1024MB as needed.
    Is that correct? Otherwise, I don't see the point of SGA_MAX_SIZE vs. SGA_TARGET.
    BTW...I know MEMORY_TARGET and MEMORY_MAX_TARGET are the new 11g params, but Oracle ships XE with those turned off and the 10g SGA_* params and PGA_AGGREGATE_TARGET set...?

    Hi,
    In Oracle 11g MEMORY_TARGET is for automatic SGA and PGA management.MEMORY_MAX_SIZE is the maximum size to which your MEMORY_TARGET can be allocated.As shown below:
    SQL> show parameter %MEMORY%
    NAME TYPE VALUE
    hi_shared_memory_address integer 0
    memory_max_target big integer 1G
    memory_target big integer 1G
    But,When it comes to managing various other memory component like shared_pool,large_pool,Db_buffer_cache,log_buffer_cache,java_pool we still have to manage SGA_TARGET.
    SQL> show parameter %SGA%
    NAME TYPE VALUE
    lock_sga boolean FALSE
    pre_page_sga boolean FALSE
    sga_max_size big integer 1G
    sga_target big integer 0
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/
    Edited by: Rafi (Oracle DBA) on Jun 22, 2011 11:54 PM

  • SGA_TARGET and SGA_MAX_SIZE?

    Dear Professional,
    I have been asked by my client, He wants me to install Oracle 11g software in three servers. One server has  16GB another has 32 GB, and another has 64 GB of RAM? What would be the Best swap size? How memory I need to assign to SGA? what will be the SHmax and Shmin, kernal parameter? Please advice..
    Thanks
    Sagar

    The answer is 16GB, for all the machines.
    See here for reference:
    Oracle Database Quick Installation Guide
    Hope that helps,
    -Mark

  • Sga_target and shared_pool_size

    Hi All,
    I am using 11GR2 on linux box. few days back , we hit the ora-4031 and we reported the issue to MOS, they then suggested to bump up the value of shared_pool_size to 3G, which is currently 1G.
    Here , we are using sga_target and sga_max_size to 30G and also when I checked the current shared pool size, it's shows around 6G.
    Since I am using the Automatic memory memory management along with the shared_pool_size parameter set to 1G. So, Do I really need to bump up the shared_pool_size as per MOS. doesn't this simply
    means that , irrespective of shared_pool_size being set , oracle will ignore this value and size the shared pool according to the load in the database.
    I would really appreciate , if you could offer your expert opinion here.
    SQL>  show parameter sga_
    NAME                                 TYPE                              VALUE
    sga_max_size                         big integer                       30G
    sga_target                           big integer                       30G
    SQL> show parameter shared
    NAME                                 TYPE                              VALUE
    hi_shared_memory_address             integer                           0
    max_shared_servers                   integer
    shared_memory_address                integer                           0
    shared_pool_reserved_size            big integer                       338899763
    shared_pool_size                     big integer                       1G
    shared_server_sessions               integer
    shared_servers                       integer                           0
    SQL> select sum(bytes)/1024/1024 mbytes
                  from v$sgastat where pool = 'shared pool';  2
                  MBYTES
                  6464
    Errors in file /db/prod01/oracle/admin/diag/rdbms/prod01/prod01/trace/prod01_m001_19998.trc:
    ORA-04031: unable to allocate 12312 bytes of shared memory ("shared pool","unknown object","KKSSP^281","kglseshtTable")
    Fri Aug 16 12:49:19 2013
    Process m001 died, see its trace file

    If you are on 11.2(as you have said) , I would recommend that you use AMM only. Also, unsetting the shared pool parameter completely would leave it on the mercy of the AMM and that may go wrong as well. Since you are already hitting 4031, probably the best bet would be to set up a fixed, large sized shared pool as suggested by MOS which, beyond its initial value, would be managed by AMM.
    Just my 2 cents
    Aman....

  • Sga_target_size and sga_max_size

    I noticed our production Oracle Instance sga_target_size configuration might not utilize the host resource very well. The Solaris host has 32G physical memory, it is dedicated host for Oracle Instance, only one instance is running on there, but both SGA_TARGET_SIZE and SGA_MAX_SIZE are configured=2000M which is about 2G.
    I want to increased the SGA_MAX_SIZE and SGA_TARGET_SIZE to 24G so that Oracle can better utilize the memory resource.
    Any advice on this? Anything else I might neglect to check? Thanks in advance!

    Pl post details of OS and database versions.
    >
    I want to increased the SGA_MAX_SIZE and SGA_TARGET_SIZE to 24G so that Oracle can better utilize the memory resource.
    >
    Are there reasons you want to increase SGA ? Are you experiencing any performance issues ? If so, what do AWR / Statspack outputs show ?
    HTH
    Srini

  • Need advice about coalesce and deallocate unused space

    Hi experts;
    Here looking for an advice about coalesce and deallocate unused space.
    I got this tablespace with 87% full, one of the table in that tablespace has 1,150,325 records.  I'm going to delete 500,000 records from that table, but to release the space used by those records I understand that I need to execute other procedure. I was reading about coalesce tablespace and deallocate unused space.
    I found that apparently, both process can help me to free space. If you want to share with me your comments, about  advantages or disadvantages about them, in order I can take the best solution?
    Thanks for your comments.
    Al

    Hi
    after deleted rows, the high water mark is still the same and so the size of the table. you need to bring down the water mark
    here is what you need to do to bring down the high water mark. We do this monthly for performance purpose.
    This is an EBS R12 system  but the procedures are the same for EBS database or non EBS database.
    After you purge or delete data in a table
    1) alter table APPLSYS.WF_ITEM_ATTRIBUTE_VALUES move; <-- this operation will invalidate all indexes attache to the table
    2)select owner, index_name, status from dba_indexes  -- list all invalid object for user APPLSYS
    where table_owner = upper('APPLSYS')
    and
    status NOT IN ('VALID','N/A');
    3)spool idxrebuild.sql --generate script to rebuild indexes.
    select 'alter index ' ||owner||'.'||index_name ||' rebuild online;'  from dba_indexes
    where table_owner = upper('APPLSYS')
    and
    status <> 'VALID';
    4) run idxrebuild.sql   -- to rebuild indexes.  -- at this point if you check spaces on the table, it is still the same, you need to run #5
    5)exec fnd_stats.gather_schema_stats ('APPLSYS');  --fnd_stat is for EBS system you can replace with the database equivalent command.
    use this statement to count the block before and after the operation to see the different.
    select DISTINCT(SEGMENT_NAME), count(blocks) "Total Block" from dba_extents
    where
    owner IN ('APPLSYS')
    AND segment_name = 'WF_ITEM_ATTRIBUTE_VALUES'
    Hope this help.

  • How to generate payment advice in F110 and send it to Vendors Via Email

    Dear SAP Experts
    Could anybody tell me how to generate payment advice in F110 and send it to Vendors Via Email?
    It would be much appreciated if someone can provide the configuration procedure, thanks so much in advance.
    Cheers & Best Regards
    Ray

    Hi Sama,
    Thanks for your post, here I just share some of my idea.
    The following step is to configure the payment advice.
    In OBVU (payment methods in cpy code) I entered my payment advice form
    In OBVU (payment methods in cpy code)  set  "Always pyt advice"
    In OBVCU (payment method by country)  leave the payment medium program (RFFOD__T)
    For the email sending program, should develp some customized program to realize that, Thanks.
    Cheers & Best Regards
    Ray

  • SGA_TARGET and LOG_BUFFER

    Hello guys,
    i am a little bit confused about setting sga_target and sizing log_buffer manually.
    At first the documentation:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams192.htm#sthref792
    The following pools are manually sized components and are not affected by Automatic Shared Memory Management:
    * Log buffer
    * Other buffer caches, such as KEEP, RECYCLE, and other block sizes
    * Fixed SGA and other internal allocations
    Ok.. now my Oracle 10gR2 database:
    - spfile:
    *.log_buffer=1048576
    *.sga_target=3154116608
    Ok now in my opinion, the log_buffer should not be changed by oracle AMM.
    So lets have a look:
    SQL> show parameter log_buffer
    NAME TYPE VALUE
    log_buffer integer 14254080
    SQL> show sga
    Total System Global Area 3154116608 bytes
    Fixed Size 2074600 bytes
    Variable Size 603981848 bytes
    Database Buffers 2533359616 bytes
    Redo Buffers 14700544 bytes
    Oh ok.... why does oracle change my manually sized value log_buffer from 1MB up to 14MB!!! (have a look at the output of show sga!)
    Hmm and now?
    What is right and what is wrong?
    Maybe someone can clear the confusion...
    Thanks and Regards
    Stefan

    Hi Satheesh,
    this forum is amazing :-)
    But... i try to calculate like your information:
    So have a look at my test database:
    SQL> show sga
    Total System Global Area 2097152000 bytes
    Fixed Size 2072576 bytes
    Variable Size 520093696 bytes
    Database Buffers 1560281088 bytes
    Redo Buffers 14704640 bytes
    SQL> show parameter log_buffer
    NAME TYPE VALUE
    log_buffer integer 14258176
    The lgwr.trc shows:
    Maximum redo generation record size = 132096 bytes
    Maximum redo generation change vector size = 124412 bytes
    And the table entry:
    SQL> select name, count(*) from v$latch_children where name='redo allocation' group by name;
    NAME COUNT(*)
    redo allocation 2
    Ok and now 132096 bytes * 2 = 264192 bytes... and not 14704640 bytes like in show sga or parameter log_buffer.
    Regards
    Stefan

  • SGA_TARGET and DB_CACHE_SIZE

    In my oracle 10g database SGA_TARGET has been enabled and DB_CACHE_SIZE also set
    It will take from SGA_TARGET or DB_CACHE_SIZE ?

    Dear user!
    SGA_TARGET and DB_CACHE_SIZE behave like that:
    DB_CACHE_SIZE:
    - Meaning:
    DB_CACHE_SIZE specifies the size of the DEFAULT buffer pool for buffers with the primary block size (the block size defined by the DB_BLOCK_SIZE initialization
    parameter).
    - Defaultvalue:
    If SGA_TARGET is set: If the parameter is not specified, then the default is 0 (internally determined by the Oracle Database). If the parameter is specified, then
    the user-specified value indicates a minimum value for the memory pool.
    If SGA_TARGET is not set, then the default is either 48 MB or 4MB * number of CPUs * granule size, whichever is greater
    SGA_TARGET
    SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
    * Buffer cache (DB_CACHE_SIZE)
    * Shared pool (SHARED_POOL_SIZE)
    * Large pool (LARGE_POOL_SIZE)
    * Java pool (JAVA_POOL_SIZE)
    * Streams pool (STREAMS_POOL_SIZE)
    If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
    The following pools are manually sized components and are not affected by Automatic Shared Memory Management:
    * Log buffer
    * Other buffer caches, such as KEEP, RECYCLE, and other block sizes
    * Fixed SGA and other internal allocations
    The memory allocated to these pools is deducted from the total available for SGA_TARGET when Automatic Shared Memory Management computes the values of the automatically tuned memory pools.
    I hope that these informations will help you to answer you question.
    Yours sincerely
    Florian W.

  • Sga_target  vs  sga_max_size

    Hi,
    I'm using ASMM and sga_target is set to 1000M.
    the sga_max_size parameter should be have the same value as sga_target?
    For example: what's happen if i set sga_max_size to 1200M ?
    Thank's

    Hi,
    I think, that if you set sga_max_size to 1200M and you have SGA_target=1000M, then you could dynamicaly (without restarting instance) increase sga up to 1200M. SGA_MAX_SIZE is only about possibility to increase your sga and oracle DOESN'T allocate whole SGA_MAX_SIZE - it allocate only your sga_target.
    You can test it by decreasing SGA_TARGET by command ALTER SYSTEM SET SGA_TARGET=800M SCOPE=MEMORY; and you can see that memory will be released. You can test it in other direction too - increase sga_target to 1200M and aditional memory will be allocated from free memory.
    Pavel

  • Payment Advice Issue- Print and fax at the same time

    Hi,
    Currently payment advices are being sent to business partners (vendors) thorugh fax/email.   This is because process module Z_SAMPLE_PROCESS_00002040 is active in the system.  
    What I want to do is to be able to also print the payment advices even if vendor has communication data in the master data.  Program RFFoEDI1 is used with a custom form.   IDOCS are sent correctly to bank and remittance advices are faxed to vendor successfully.   With business wanting hard copies of remittance advices, when I try to reprint after first payment run is done and faxes sent running RFFOEDI1 and the payment document number, system says no records selected.   I searched in OSS and all the notes related to this issue are already in our system. 
    I have tried hard to solve this but no luck even I have done this before with other print programs but no RFFOEDI1.  One option is to remove the fax/email addresses from vendor which allows me to print but client does not want to remove fax numbers from vendor master. 
    Any suggestions will be appreciated.
    Dam

    Look into BTE 2050, through which you could possibly e-mail an additional copy to a generic company e-mail as back up electronic filing of RA. And then you can print it if need to print them on Adhoc basis
    Ron

  • Looking for some VPN advice on c7200 and possible serious problem

    Hi all,
    I am looking for some advice on how to figure out few things.
    customer has a c7200 with VPN module and seen the following
    15.2(4)M4, RELEASE SOFTWARE (fc2)
    Vpn7# Show crypto isakmp sa
    Exemple: x.x.x.x  y.y.y.y QM_IDLE 14020 ACTIVE ( repeated around 700 times)
    Vpn7# IKE-Session : 2517 active, 5120 max, 3169 failed
    Hardware Encryption : ACTIVE
    Number of hardware crypto engines = 1
    CryptoEngine VAM2+:7 details: state = Active
    Capability : IPPCP, DES, 3DES, AES, RSA, IPv6, FAILCLOSE, HA
    IKE-Session : 2800 active, 5120 max, 3169 failed
    DH : 55 active, 5120 max, 0 failed
    IPSec-Session : 1628 active, 10230 max, 0 failedhe would like to know whether these messages allude to some kind of serious problem or show the normal operation of vpn routers. because they need  to analyse their business related incidents and do prevent actions
    therefore if someone could give  give me some advice if there is any problem with the hardware i would greatly appreciate it
    thanks in advance
    Lance

    I'd make sure to read the contract and any associated fine print really, really carefully before doing this. But back to your question - this is more of a marketing question and I'd suggest hiring a good marketer (or become one) to make the most of this opportunity.
    And how do you find a good marketer?
    I'd suggest using Seth Godin (http://sethgodin.typepad.com/) as your guide/model. If the person you want to hire knows and follows Seth's good marketing advice, you'll likely do very well. If they don't know who Seth Godin is and are obsessed with SEO rankings and email blasts, I'd be very worried (that's not to say SEO rankings and email blasts are "wrong" but that they shouldn't be the only options in your marketing approach).
    Good luck!

Maybe you are looking for

  • Ago and To Date Functions together

    Hi here is my requirement, i wanted to create a column which captures previous year's Period to date. Period To Date gives value from 1st of this Period to today's date for present year 2012, but i want to capture the values from starting date of Per

  • H264 rtmp poor video quality compared to VLC play

    Hi! I have Flash Media Server 4. Video is and MP4 wrapped H264 at 2Mbps 720x576. Playing the video with VLC player or any other player the quality is fine and very good! Same file streamed from FMS4 (same on 3.5) with rtmp protocol has very poor qual

  • IPhoto '09 Keepsake - Large or XL for my camera resolution?

    Hi all, Quick question, I've created a keepsake book in iPhoto '09 but am not sure whether to go for a large (11x8.5) or extra-large (13x11). I used a Canon Digital Ixus 50 for most of the shots with a resolution of either 2048x1536 or 2592x1944 (I h

  • Interfacing MS Project in Labview

    Hi All, I've seen that Labview can interface with Excel, Word, and Powerpoint but can it also interface through MS Project? For instance using an ActiveX control. Any examples welcome Kind Regards Richard

  • Field catalog required between internal table

    Hi firneds My ALV output showing the data like this Consinee consine state Quantity Amount unit. xyz           delhi              10          10.20  UA xyz           delhi              20          10.20  UA xyz           delhi              30