Setting Minimums for Automatically Sized SGA Components (100)

本文介绍如何通过设置Oracle初始化参数来手动控制SGA组件的最小值,确保应用程序在特定内存组件中获得足够的资源。这种方式有助于避免因内存分配不足导致的应用程序异常。

You can exercise some control over the size of the automatically sized SGA components by
specifying minimum values for the parameters corresponding to these components. Doing so
can be useful if you know that an application cannot function properly without a minimum
amount of memory in specific components. You specify the minimum amount of SGA space
for a component by setting a value for its corresponding initialization parameter. Here
is an example configuration:
■ SGA_TARGET = 256M
■ SHARED_POOL_SIZE = 32M
■ DB_CACHE_SIZE = 100M

In this example, the shared pool and the default buffer pool will not be sized smaller
than the specified values (32 M and 100M, respectively). The remaining 124M (256
minus 132) is available for use by all the manually and automatically sized
components.

The actual distribution of values among the SGA components might look like this:
■ Actual shared pool size = 64M
■ Actual buffer cache size = 128M
■ Actual Java pool size = 60M
■ Actual large pool size = 4M
■ Actual Streams pool size = 0

The parameter values determine the minimum amount of SGA space allocated. The
fixed views V$SGA_DYNAMIC_COMPONENTS and V$SGAINFO display the current
actual size of each SGA component. You can also see the current actual values of the
SGA components in the Oracle Enterprise Manager memory configuration page.

Manually limiting the minimum size of one or more automatically sized components
reduces the total amount of memory available for dynamic adjustment. This reduction
in turn limits the ability of the system to adapt to workload changes. Therefore, this
practice is not recommended except in exceptional cases. The default automatic
management behavior maximizes both system performance and the use of available
resources.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-996266/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-996266/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值