Escolar Documentos
Profissional Documentos
Cultura Documentos
Client: JP Morgan
Duration: Nov 2008 - till date.
Role: APP�S D.B.A.
51. When a patch delivers java files what extra file u will get when u unzip the
patch, other then u r dirver and readme files?
Ans : j<patch_number>.zip
SQL> startup
ORACLE instance started.
How to calculate the approximate size of the SGA (System Global Area)
It is very difficult and time-consuming process to find the exactly SGA size based
on values of init.ora parameters. It is difficult because of different port
specific sizes of data structures that are allocated in the SGA.
It is time consuming because there are so many parameters that influence the SGA
size.
Here are few examples to find the SGA in various oracle versions.
In Oracle 8.0.X - svrmgrl connect internal show sga In Oracle 8.1.X - svrmgrl or
sqlplus /nolog connect internal show sga In Oracle 9.X - sqlplus connect sys as
sysdba show sga What are different sub-divisions of the SGA?
Total System Global Area : - Total in bytes of all the sub-divisions that makes up
the SGA.
Fixed Size: Fixed size contains general information about the state of the
database and the instance, which the background processes need to access. This
does not store user data. Usually this area is less than 100k in size.
This holds data blocks copies that are read from datafiles and can be calculated
by using following formula. size = db_block_buffers * block size Redo Buffers:
This is another buffer in the SGA that holds information about changes made to the
database.
In 9.X : To approximate size of the SGA (Shared Global Area), use following
formula: db_cache_size + db_keep_cache_size + db_recycle_cache_size +
db_nk_cache_size + shared_pool_size + large_pool_size + java_pool_size +
log_buffers + 1mb