Oracle 参数 PARALLEL_MIN_SERVERS 官方解释,作用,如何配置最优化建议

本站中文解释

PARALLEL_MIN_SERVERS参数用于控制在并行操作时最少启动的并行服务器的数量。如果需要使用多个CPU进行并行操作,可以设置该参数值,以确保下次并行操作时有足够的并行服务器可用。

正确设置Parallel_Min_Servers参数:
最佳状态下, Oracle 会按照给定的最小并行服务器数量启动对应的并行服务器,因此,正确设置Parallel_Min_Servers参数非常重要,有几点要注意:
1、在合理范围内,Parallel_Min_Servers参数值越大,查询性能越好;

2、Oracle在并行查询中,每个并行服务器的数据处理量,一般和任务的大小以及数据块大小有关;

3、Parallel_Min_Servers参数值必须小于 PARALLEL_MAX_SERVERS参数设定的最大值;

4、如果在实际环境中,出现并行查询因资源限制而无法执行,可以适当减小Parallel_Min_Servers参数值;

5、在优化数据库性能时,Parallel_Min_Servers参数值可以根据应用程序的特点进行适当修改。

官方英文解释

PARALLEL_MIN_SERVERS is the number of parallel execution processes Oracle creates when the instance is started. These processes will be kept alive to service parallel statements.

Property Description

Parameter type

Integer

Default value

CPU_COUNT * PARALLEL_THREADS_PER_CPU * 2

Modifiable

ALTER SYSTEM

Modifiable in a PDB

No

Range of values

Default value to the value of PARALLEL_MAX_SERVERS

Basic

No

Oracle RAC

Multiple instances can have different values.

Note:

This parameter applies to parallel execution in exclusive mode as well as in an Oracle Real Application Clusters environment.

Note:

When the PROCESSES initialization parameter is set to a value that is lower than the documented default value for the PARALLEL_MIN_SERVERS parameter in the table above, the database sets the default value of PARALLEL_MIN_SERVERS to a value that is lower than the documented default value. The lower default value enables the database to start service processes and allows user processes to connect to the database.

See Also:

Oracle Database
Administrator’s Guide
for more information about parallel execution servers


数据运维技术 » Oracle 参数 PARALLEL_MIN_SERVERS 官方解释,作用,如何配置最优化建议