oracle9i pre_page_sga=true的问题

dageming 2010-01-12 10:03:00
我在ORACLE9I上设置pre_page_sga=true,结果启动后发现ORACLE所占内存并没有设置的那么大,应该是SGA没完全加载到内存中去吧,用的还是虚拟内存.

在10G上设置这个参数SGA马上就全加到内存中了,我在另外的一台装9I的机器上也试过,还是无效.

我的9I是9.2.0.1,版本有关系吗?
...全文
117 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
wh62592855 2010-01-12
  • 打赏
  • 举报
回复
那就是BUG喽?
Dave 2010-01-12
  • 打赏
  • 举报
回复

PRE_PAGE_SGA can increase the process startup duration, because every process that starts must access every page in the SGA. The cost of this strategy is fixed; however, you might simply determine that 20,000 pages must be touched every time a process starts. This approach can be useful with some applications, but not with all applications. Overhead can be significant if your system frequently creates and destroys processes by, for example, continually logging on and logging off.

The advantage that PRE_PAGE_SGA can afford depends on page size. For example, if the SGA is 80 MB in size and the page size is 4 KB, then 20,000 pages must be touched to refresh the SGA (80,000/4 = 20,000).

If the system permits you to set a 4 MB page size, then only 20 pages must be touched to refresh the SGA (80,000/4,000 = 20). The page size is operating system-specific and generally cannot be changed. Some operating systems, however, have a special implementation for shared memory whereby you can change the page size.



这个参数不单会导致启动的时候变慢,而且会导致建立连接的时候变慢,9i的某些版本可能因为bug导致这个参数没有起到作用


PRE_PAGE_SGA 参数
http://tolywang.itpub.net/post/48/384644


------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
网上资源: http://tianlesoftware.download.csdn.net
相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
Q Q 群:62697716

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧