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
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 VALUEWHAT 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 -
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=2GBIf 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 -
Trying to understand blocksize and the correct sizing requirements..
I'm getting the following error after migrating a cube from a 9.3 environment to an 11 environment while running a calc script - which by the way works fine in 9.3 with identical cache settings.
Error: 1012704 Dynamic Calc processor cannot lock more than [2] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
When applying the following formula to our environment I get 122.84 Allocateable blocks, if my math is correct. The error is stating "[2] ESM" blocks so I must be doing something wrong?
Data Cache in K
______________ = Number of blocks that can be allocated
Block Size in K
block size 1651392/1024=1612.6875
Cache 198107
# of allocateable blocks 122.8427702
The settings from our config file are as follows:
CALCLOCKBLOCKHIGH 5500
CALCLOCKBLOCKDEFAULT 3500
CALCLOCKBLOCKLOW 100
CalcCacheHigh 199229440
CalcCacheDefault 104857600
CalcCacheLow 52428800
So what am I missing here, why the [2] ESM error? Is that a bogus error for a problem with the calc script I'm trying to run?
Thanks for your help.
Adam,OK, so even though I "thought" the setting survived a server restart I wen ahead and stopped and started the database and the settings applied and all seems to be good.
Thanks for the feedback. -
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
SagarThe 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 fileIf 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.... -
AE CS6 - 3D Compositing and Color Correction workflow
AE CS6 - 3D Compositing and Color Correction workflow
Hello everybody,
I have some questions about work flow in AE concerning compositing and Color Correction. I saw many tuts about (f.e. Lynda.com Premiere Pro Color Correction and Enhancement... and tuts by Andrew Davis here in creative.cow).
Essentially, he have this CC work flow:
GRADING (primary and secondary)
Adjusting Tonality (Brightness and Contrast)
Adjusting Colors (White balance and fix color dominance)
MATCHING
Conforming colors of different clip shoted with different camera and lighting set up.
ENANCHING LOOK
Giving to all clips a unique "look"
But what does it happen if we have NOT just some clips but ALSO a 3D object (rendered in a 3d sw or, actually also a 3d object inserted by 3D Element by videocopilot)
or/and
a keyed clip from a green screen shot?
How does this footage (3d object and green screen keyed shot) transform
the aforementioned work flow?
We have to consider that this footage (3d object and green screen keyed shot) must to be pre-multiplied to make a right compositing but when you make CC it must be again "straight"... (NOT pre-multiplied)
Is really hard also understand how dale this work flow between AE and Pre Pro if you want to make CC in Pre Pro after compositing in AE.
I try to present a work flow for this (very common) situation:
I have a landscape clip as a background
a keyed clip (pre-multiplied) with a Character watching sky
and a 3d (pre-multiplied) object U.F.O. on sky.
When I have done compositing, how make I a right CC of all footage if I have two clip (3d object and green screen keyed shot) still pre-multiplied?
I think, but I'm not sure, that should be a good idea to send to Pre Pro a composited Comp with separate layers (by dynamic links) to have all single separate layers (Background, 3d object and green screen keyed shot.. but also the Color Warping...!). Than, in Pre Pro you should make a CC (Grading) just for a BG and than try to Match (Matching) this color corrected BG with 3d obj and keyed shoot. But we have a problem at this point cause our 3d object and green screen keyed shot are still pre-multiplied, and before make matching we have to re- multiplied theme, but how? And if we re pre-multiplied them, compositing will be also right?
Or maybe, before exporting comp from AE to Pre Pro, he have to create both layers for 3d object and green screen keyed shot, one pre-multiplied and one "Stright"? But, again, how to combine them to have a right compositing and a a right CC?
Anybody can help me to understand or maybe suggest any tuts to dale this common issue in AE- Pre Pro?
Many, many thanks!Dave is correct. (And so is Mylenium. No need to be rude, when he was jsut trying to explain that you were introducing unnecessary complexity.)
The color matting is removed to interpret the alpha channel when you import the footage. After that, any color correction that you do to a layer based ont hat footage item doesn't have anything to do with whether the channels were straight or premultiplied for the source item.
You color-correct your individual items to amke them match as part of the compositing process in After Effects. Then, if you want to do a color grade of the shot in Premiere Pro along with other shots, you'd be working on the single rendered/flattened composite, so the details of the original elements that went into the composite are irrelevant. -
I am having sporadic issues after new hard drive install and recovery using Time Machine. The same sluggish response, start up screen pixelating...If I reinstall Lion will it wipe out other applications? My HD was formatted and partitioned correctly, I have a late 2009 iMac.
Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps. -
Odd Issue Editing in Photoshop with color and lens corrections
First off, I'm on LR 4.4 and PS CS6 (Camera Raw 7.4.0.137) using ProPhoto RGB as my LR colorspace and have my PS color settings as Working Space: ProPhoto RGB and my color management policies to preserve embedded profiles.
When I right click on a DNG in LR and choose "Edit in Photoshop", LR sends it to PS and PS does its "Reading in Camera Raw Format" and opens the image. However, the colors are off (very muted) and any lens corrections I've applied in LR are missing. My monitor (iMac on OSX 10.8) is calibrated with a Spyder. I've also noticed that if I choose to edit in another application, it renders the tiff fine and the color and lens corrections are correct in the tiff.
Anyone have any ideas what my issue is?
Thanks,
Matt
ETA: After some experimenting, it seems that the "Adobe Standard" profile is what gets sent to Photoshop. The rest (Camera Landscape, Portrait, etc.) are ignored. What's going on here?Sounds like you need to reset your warning dialog. Preferences>General>Prompts [Reset all warning dialogs]
Then try it again and make certain of the three choices you are Editing a Copy with Lightroom Adjustments. -
Repairing permissions for “MacIntosh HD”
Determining correct file permissions.
Permissions differ on ./Library/Widgets, should be drwxr-xr-x , they are drwxrwxr-x
Owner and group corrected on ./Library/Widgets
Permissions corrected on ./Library/Widgets
Permissions differ on ./System/Library/User Template, should be drwx------ , they are drwxr-xr-x
Owner and group corrected on ./System/Library/User Template
Permissions corrected on ./System/Library/User Template
Group differs on ./usr/bin/fetchmail, should be 0, group is 6
Permissions differ on ./usr/bin/fetchmail, should be -rwxr-xr-x , they are -rwxr-sr-x
Owner and group corrected on ./usr/bin/fetchmail
Permissions corrected on ./usr/bin/fetchmail
Permissions differ on ./usr/lib/php/build/Makefile.global, should be -r--r--r-- , they are -r-xr-xr-x
Owner and group corrected on ./usr/lib/php/build/Makefile.global
Permissions corrected on ./usr/lib/php/build/Makefile.global
Permissions differ on ./usr/lib/php/build/acinclude.m4, should be -r--r--r-- , they are -r-xr-xr-x
Owner and group corrected on ./usr/lib/php/build/acinclude.m4
Permissions corrected on ./usr/lib/php/build/acinclude.m4
Permissions differ on ./usr/lib/php/build/mkdep.awk, should be -r--r--r-- , they are -r-xr-xr-x
Owner and group corrected on ./usr/lib/php/build/mkdep.awk
Permissions corrected on ./usr/lib/php/build/mkdep.awk
Permissions differ on ./usr/lib/php/build/phpize.m4, should be -r--r--r-- , they are -r-xr-xr-x
Owner and group corrected on ./usr/lib/php/build/phpize.m4
Permissions corrected on ./usr/lib/php/build/phpize.m4
Permissions differ on ./usr/lib/php/build/scan_makefile_in.awk, should be -r--r--r-- , they are -r-xr-xr-x
Owner and group corrected on ./usr/lib/php/build/scan_makefile_in.awk
Permissions corrected on ./usr/lib/php/build/scan_makefile_in.awk
Permissions differ on ./usr/lib/system/libmathCommon.A.dylib, should be -r-xr-xr-x , they are -rwxr-xr-x
Owner and group corrected on ./usr/lib/system/libmathCommon.A.dylib
Permissions corrected on ./usr/lib/system/libmathCommon.A.dylib
Permissions differ on ./usr/libexec/dumpemacs, should be -r-sr-xr-x , they are -r-xr-xr-x
Owner and group corrected on ./usr/libexec/dumpemacs
Permissions corrected on ./usr/libexec/dumpemacs
Permissions repair complete
The privileges have been verified or repaired on the selected volume
Then I sometimes get the brown screen that states,You must re-start your computer.
I have already zeroed out the hard drive and re-installed Panther and the upgrade Tiger disc.
I repair permissions using the Tiger disc upgrade.
Can anyone help me with this??> I repair permissions using the Tiger disc upgrade.
One thing to note... When running Repair Disk Permissions, it is best to run it while started up normally, from your normal startup disk, not from a Mac OS X installation disc. The only time you should run it while started up from an installation disc is if some problem is preventing you from starting up normally. OTOH, Repair Disk can only be used when starting up from a different disk (such as an installation disc).
So, I would start up normally, run Disk Utility, and use Repair Disk Permissions on your normal startup disk.
NOTE: Repair Disk Permissions often gives alerts messages that can be ignored. They are more "informational," not serious errors.
http://support.apple.com/kb/TS1448
You should still run it periodically. When you run it, what needs to be repaired has been repaired; consider the rest of it an FYI. I've never experience a problem, where a Repair Disk Permissions message actually caused a problem. But, if you ever get an error while running Repair Disk (or Verify Disk), that is usually a serious problem. -
I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!
Try asking in the Premiere Pro forum seems to be an Adobe Lab for Premiere Pro
-
I do not understand iPhoto and/or Photo Stream, help me?
I do not understand iPhoto to say the least. I've imported my photos which I have stored on an external networked hard drive. However after they've been uploaded to the iPhoto library, I've got NUMEROUS duplicates which seem to be showing as different events even though they are the same photo.
Another thing is that in Photo Stream which I have turned on my iPhone 4, I seem to have photos showing up in there that have nothing to do with a photo I've taken on my iPhone or manually dragged them to Photo Stream. They are mostly some old photos that I've NEVER had on my iPhone at all. How did they get there. My photos that I've taken with the phone or saved on my Iphone are there just like I was expecting but most of these photos, and this is while I'm on my iMac, are just a bunch of random photos. I don't even know how to delete these photos in Photo Stream to try and start over.
Could someone help me understand iPhoto and/or Photo Stream, these are two different questions please!Is there a specific file that iPhoto makes and stores on my computer or the external drive that has the iPhoto library? I want to delete all instances of it and try reloading my library.
Also, how do I reload or start fresh a Photo Stream library on my computer? What's weird is that the photos on my iMac are not what's on my iPhone. I mean I have the ones that are on my iPHone are within the iPhoto's Photo Stream but then there is also a bunch of other photos that I have no idea how they got there. -
The update "iTunes" could not be verified and expanded correctly.
Hi all,
I was tryng to upgrade to the latest version of iTunes and I got this message
*The update "iTunes" could not be verified and expanded correctly.*
*It also says: Make sure you have permission to write*
*to /tmp/501/TemporaryItems.com.apple.SoftwareUpdate, then try again.*
Any ideas what that means?
Thanks,
Anariehttp://docs.info.apple.com/article.html?artnum=106712
Maybe you are looking for
-
How to create a search all value on list
I am trying to create a form which will enable user to select an item on a list to filter records, or allow him to not select anything and see all records. I created a generic form with one list on it and a submit button. Values are: Item Label Value
-
When I try to access help in my 2011 MacBook Pro I get an error message that I'm not connected to the internet. But I know I am connected to the internet because I'm getting email and surfing the web at the same time. Any ideas?
-
My iTunes is now saying cannot find file after uploading new iTunes update
After downloading the new iTunes update my iTunes is now saying it cannot find my music files???
-
Hi Experts, Is it possible to create a report in BI which holds only Sales orders completed and invoice is not created. Can we do this. Regards, Sri Edited by: srikanth on Aug 12, 2009 1:40 PM Edited by: srikanth on Aug 12, 2009 1:44 PM
-
My iPod does not have search feature
Hello. I bought a 60 GB iPod last September. I have it full of music, and I need the search feature for the music menu that I have seen in this web. Am I doing somethig wrong? It is not in my iPod Menu. WHy could be possible? I have updated the iPod