Oracle 184.108.40.206.0 OS : WinNT4.0
Can anybody explain me SGA_MAX_SIZE in Oracle9i. According to my understanding, this parameter defines the Maximum size for SGA that you could ever allocate.
I have seen very strange behaviour by setting this parameter.
First of all, I took out SGA_MAX_SIZE parameter from my init.ora and here is the result of show sga command
Total System Global Area 210531792 bytes
Fixed Size 284112 bytes
Variable Size 197132288 bytes
Database Buffers 12582912 bytes
Redo Buffers 532480 bytes
Now the size of SGA has been changed. How Come ? Why The SGA_SIZE_MAX is changing the size of SGA ?
05-10-2002, 02:15 AM
I read in oraes.com (spanish) that is for the granularity. If value of SGA_MAX_SIZE <= 128M then the granularity is 4M, if the value is > 128M the granularity is 16M.
Hope that help you to understand this
05-11-2002, 08:59 PM
Thanks for your response but I don't agree with this. I know about granularity. I have read in Metalink about this and it does not works as expected. e.g. if you define SGA_MAX_SIZE=500M and suppose, the actual size of SGA is 128MB , but still Oracle will reserve 500M and when you say show sga, it is going to show you 500M.
I have read in Metalink, that in Solaris 8 when you enable DISM (some os feature), then SGA_MAX_SIZE works as expected.