When to use lock_sga

[复制链接]
查看11 | 回复2 | 2007-7-24 13:58:32 | 显示全部楼层 |阅读模式
When to use lock_sga
In practice, the lock_sga parameter is only needed when you have an over-stressed server with RAM paging, and its always a better idea to add more RAM than to lock-in the SGA by making it non-swappable.The lock_sga parameter is also useful in cases with multiple instances on an over-stressed server, where the lock_sga=true instance is to have priority over memory usage, at the expense of the other SGAs.


[ 本帖最后由 zqingfu2008 于 2007-11-20 15:27 编辑 ]
回复

使用道具 举报

千问 | 2007-7-24 13:58:32 | 显示全部楼层
设置 lock_sga=true
是为了防止os将SGA 换到虚拟内存
这个参数对windows无效...windows下可以通过设置pre_page_sga=true
使得数据库启动的时候就把所有内存页装载,这样可能起到一定的作用。
[ 本帖最后由 battleman 于 2007-11-20 16:06 编辑 ]
回复

使用道具 举报

千问 | 2007-7-24 13:58:32 | 显示全部楼层
我在linux下用过这参数,导致我数据库启不来
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行