- 論壇徽章:
- 0
|
關(guān)于共享內(nèi)存和數(shù)據(jù)庫(kù)總內(nèi)存(total memory) 之間有何關(guān)系。
二者應(yīng)該如何計(jì)算。
因現(xiàn)在客戶的服務(wù)器有如下設(shè)置(文件etc/system):
set shmsys:shminfo_shmmax=10737418240
設(shè)置的總內(nèi)存應(yīng)該是10G吧,10737418240B/ 1024 = 10485760K / 1024 = 10240M = 10G
又有數(shù)據(jù)庫(kù)A、B、C、D、E五個(gè)數(shù)據(jù)庫(kù),其設(shè)置的total memory 分別為:
Parameter Name Default Memory Used Config Value Run Value
-------------- ------- ----------- ------------ ---------
A: total memory 14336 2048000 1024000 1024000
B: total memory 14336 2048000 1024000 1024000
C: total memory 14336 2048000 1024000 1024000
D: total memory 14336 2048000 1024000 1024000
E: total memory 14336 2048000 1024000 1024000
所配置的數(shù)據(jù)庫(kù)其總內(nèi)存是 1G,2G,還是4G?
會(huì)不會(huì)因?yàn)樵O(shè)置太大而導(dǎo)致某個(gè)數(shù)據(jù)庫(kù)無(wú)法正常啟動(dòng)? |
|