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

本站中文解释

PROCESSES参数是ORACLE服务器实例中可以同时连接数据库的进程数量。它也代表着ORACLE实例可以处理的并发活动的最大数量,直接影响到数据库处理的最大容量。

如何正确设置PROCESSES参数:

1. 首先,确定系统可以支持的大致连接进程数,包括服务器硬件性能,可分配的内存,并发的用户的数量等等。通常情况下,系统可以支持的连接进程数受运行操作系统和数据库可分配系统内存大小的限制,可根据操作系统和数据库性能计算出合理值。

2. 根据监控当前系统访问量,计算系统当前使用的连接进程数量,并根据未来预期访问量调整PROCESSES参数。正常情况下,PROCESSES参数应该大于当前使用的连接进程数量,但是要预留一些额外的占用空间,以使系统能够应付将来的访问需求。

3. 定期监控当前系统资源利用情况,确保系统能够持续使用当前的资源利用率,同时又不至于容量过大,影响系统的整体性能。

官方英文解释

PROCESSES specifies the maximum number of operating system user processes that can simultaneously connect to Oracle.

Property Description

Parameter type

Integer

Default value

The value is derived, and it typically depends on the number of cores reported in the alert log.

Modifiable

ALTER SYSTEM

Modifiable in a PDB

No

Range of values

6 to operating system dependent

Basic

Yes

Oracle RAC

Multiple instances can have different values.

The value for this parameter should allow for all background processes such as locks, job queue processes, and parallel execution processes.

The default values of the SESSIONS and TRANSACTIONS parameters are derived from this parameter. Therefore, if you change the value of PROCESSES, you should evaluate whether to adjust the values of those derived parameters.

See Also:

  • Your operating system-specific Oracle documentation for the range of values

  • Oracle Database
    Concepts
    for an introduction to Oracle database instance processes


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