對(duì)Oracle SGA區(qū)大小進(jìn)行修改解剖
我們今天是要和大家一起討論的是修改Oracle SGA區(qū)大小 ,我前兩天在相關(guān)網(wǎng)站看見修改Oracle SGA區(qū)大小的實(shí)際應(yīng)用資料,覺得挺好,就拿出來供大家分享。以下就是正文的相關(guān)內(nèi)容的描述。
1、備份數(shù)據(jù)庫(kù);
2、關(guān)機(jī),拔下電源和各種連接線,抽出機(jī)箱,打開機(jī)箱上蓋,增加內(nèi)存;
3、完成后按原樣將各個(gè)部件及連接線恢復(fù)好,電開機(jī),系統(tǒng)正常運(yùn)行;
4、進(jìn)入系統(tǒng)查看,發(fā)現(xiàn)內(nèi)存已經(jīng)順利安裝;
5、修改數(shù)據(jù)庫(kù)Oracle SGA參數(shù):
- SQL> show sga
- Total System Global Area 2602007792 bytes
- Fixed Size 740592 bytes
- Variable Size 335544320 bytes
- Database Buffers 2264924160 bytes
- Redo Buffers 798720 bytes
- SQL> alter system set sga_max_size=5000m scope=spfile;
- System altered.
- SQL> shutdown immediate;
- SQL> startup
- SQL> show sgaTotal System Global Area 5252811728 bytes
- Fixed Size 744400 bytes
- Variable Size 2986344448 bytes
- Database Buffers 2264924160 bytes
- Redo Buffers 798720 bytes
6、檢查系統(tǒng)和數(shù)據(jù)庫(kù)完全無誤后,備份系統(tǒng)
上述的相關(guān)內(nèi)容就是對(duì)修改Oracle SGA區(qū)大小的相關(guān)實(shí)際操作步驟的描述,希望會(huì)給你帶來一些幫助在此方面。
【編輯推薦】