1753555 會員
5550 線上
108795 解決方案
發表新文章

reserved memory

 
watermelonyu
教授

reserved memory

oracle 9i on vms 的installation guide步驟有寫到reserved memory的使用

但是在database start的時候就已經會去create 一塊SGA了

假設我的db 都可以正常啟動,我還需要reserved memory嗎

請問實際運用上,你們會建議使用reserved memory嗎?

2則回覆 2
watermelonyu
教授

reserved memory

若您不介意 database start 的時候 create SGA 多花一些時間, 且 SGA 不太會 extend, 可不用 reserved memory.



如其名, "reserved memory" 是 vms 在開機時便預留下來的連續位置 (os 可先建好 global page table entries, initialized all zero). 您可開機時先 reserve 1GB memory, 而 SGA 只用 512MB, 剩下的備不時之需. 缺點是平時有 512MB 不能作其他用途.



第一次 create "reserved memory" 或 更改 "reserved memory" 的大小時, 必須記得執行 autogen/feedback, autogen 會將 "reserved memory" 的大小考慮進去.



Oracle maunal 建議用"reserved memory" , 好處如下



The advantages to reserving memory for an SGA are as follows:

■ You can be certain that the memory is available and that the system is correctly tuned.

■ The memory is reserved at boot time as contiguous aligned physical pages. This allows the system to optimize the mapping of the SGA.

■ The memory is pre-allocated and zeroed. This results in faster SGA mapping and faster instance startup.





watermelonyu
教授

reserved memory

reserved memory如果有用到Swap的話

個人覺得應該就要考慮一下了吧

我的經驗裡是

AP用了最多的reserved memory(應該是oracle fork出來的)

真搞不懂在作啥...