Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
In estimating the parameters required in init.ora file, I will do a heuristic approach. I assume that I have 1GB of RAM and I will be installing one Oracle instance on the hardware!
I will allocate somewhere in the region of 60-75% of RAM to my SGA i.e. Total SGA = RAM x 0.7 = 1000MB * 0.7 = 700MB
For a multi purpose database I will opt for a database block size "db_block_size" of 8192 bytes (see notes below)
I will give database buffer cache "db_buffer_cache" 45% share of SGA i.e. 700MB * 0.4 =315 MB.
Remember db_buffer_cache = db_block_buffers x db_block_size
For 315MB of db buffer cache, using the above formula I will have 315*1024*1024/8192 = 40320 "db_block_buffers".
I will give "shared_pool" 45% of SGA = 315MB and 5% to "shared_pool_reserved_size" = 16MB.
For "large_pool_size" I will choose initial value of 20MB. This should be large enough for RMAN etc.
For "java_pool_size" size I will allocate 20MB to start with.
I will allocate 512KB to "sort_area_size" and will set "sort_area_retained_size" = 0.
For "log_buffer, I will consider a range of 512KB-1MB max (see notes below). I will go for 512KB to start with.
So in summary I will have
db_block_size =8192
shared_pool_size =330301440 # 315MB
shared_pool_reserved_size =16515072 # 15M
large_pool_size =20971520 # 20MB
java_pool_size =20971520 # 20MB
log_buffer =524288 # 512KB
sort_area_size =524288 # 512KB
sort_area_retained_size =0 # 0 K
db_block_buffers =40320