ORACLE
SGA=((db_block_buffers * block size)+(shared_pool_size+large_pool_size+log_buffers)+
ORACLE
SGA=((db_block_buffers * block size)+(shared_pool_size+large_pool_size+java_pool_size+log_buffers)+
理論上SGA可占OS系統物理內存的
我推薦SGA=
假設服務器運行ORACLE
這樣SGA合計約為
設shared_pool_size
設database buffer cache
initorasid
shared_pool_size =
#
db_block_buffers =
#
log_buffer =
#
large_pool_size =
#
java_pool_size =
#
sort_area_size =
#
sort_area_retained_size =
# MTS 時 sort_area_retained_size = sort_area_size
SUN Solaris裡/etc/system文件裡的幾個參數同樣跟內存分配有關ORACLE安裝時缺省的設置: 建議修改的設置:
set shmsys:shminfo_shmmax=
set shmsys:shminfo_shmmin=
set shmsys:shminfo_shmmni=
set shmsys:shminfo_shmseg=
set semsys:seminfo_semmns=
set semsys:seminfo_semmni=
set ulimit=
set semsys:seminfo_semmni=
set semsys:seminfo_semmsl=
set semsys:seminfo_semmns=
set semsys:seminfo_semopm=
set semsys:seminfo_semvmx=
set shmsys:shminfo_shmmax=
set shmsys:shminfo_shmmni=
set shmsys:shminfo_shmseg=
set shmsys:shminfo_shmmin=
其中這些參數的含義
shmmax
shmmin
shmmni
shmseg
shmall
semmns
semmsl
From:http://tw.wingwit.com/Article/program/Oracle/201311/18668.html