Oracle 参数 RESOURCE_MANAGER_CPU_ALLOCATION 官方解释,作用,如何配置最优化建议
本站中文解释
RESOURCE_MANAGER_CPU_ALLOCATION:这个参数控制着分配CPU的百分比,即给予每个用户因为使用优先级而得到的CPU资源,其参数值依据是根据优先级值进行设置,优先级值范围为1 – 10 ,其中:
1. 参数值为TRUE时,表示开启资源管理器功能;
2. 参数值为FALSE时,表示关闭资源管理器功能。
正确设置:
1. 为需要有意义的优先级值设置RESOURCE_MANAGER_CPU_ALLOCATION参数;
2. 参数值应该按照期望的分配比重来设置,即:
例如:优先级1的用户可以被分配50%的CPU,参数值应该为0.5;
3. 优先级值相加应该能得到1,或者接近1;
4. 参考oracle文档,定义健康的控制水平;
5. 根据最新的性能数据,进行分析以确定资源分配水平。
官方英文解释
RESOURCE_MANAGER_CPU_ALLOCATION
specifies the number of CPUs that the Resource Manager should use. The Resource Manager controls how a system’s CPUs are utilized by its database’s sessions.
Property | Description |
---|---|
Parameter type |
Integer |
Default value |
The number of logical CPUs reported by the operating system. |
Modifiable |
|
Modifiable in a PDB |
No |
Range of values |
|
Basic |
No |
Note:
The RESOURCE_MANAGER_CPU_ALLOCATION
parameter is deprecated. It is retained for backward compatibility only. Use the CPU_COUNT
parameter instead.
The Resource Manager schedules database sessions on the CPUs according to a resource plan that has been configured and enabled by the DBA. Normally, the Resource Manager schedules enough database sessions to keep all CPUs utilized. However, in some scenarios, a DBA may only want to schedule enough database sessions to keep a subset of the CPUs utilized.
See Also:
“CPU_COUNT”