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

本站中文解释

AUTOTASK_MAX_ACTIVE_PDBS参数是用于限制任务同时并发处理PDB数量的参数。默认值为“文件”,表示使用系统参数设置文件中定义的值;如果没有在文件中定义,则不设置此参数,该参数的有效值从1到128。建议根据系统资源状况适当调整此参数的值。

正确设置此参数要根据实际情况来调整,首先需要确定是否进行了数据库非可用状态的自动任务处理。如果未对非可用状态的PDB进行处理,此参数的值可以设置为1,这可以有效减少内存和CPU的使用。如果系统资源充足,可以将此参数设置为最大值128。

官方英文解释

AUTOTASK_MAX_ACTIVE_PDBS enables you to specify the maximum number of PDBs that can schedule automated maintenance tasks at the same time (during a maintenance window).

Property Description

Parameter type

Integer

Default value

2

Modifiable

ALTER SYSTEM

Modifiable in a PDB

No

Range of values

0 to the number of PDBs in the CDB

Basic

No

Oracle RAC

The same value should be used on all instances.

This parameter only affects PDBs. The CDB$ROOT container (CDB root) for a CDB can always schedule and run maintenance tasks during a maintenance window.

The default value is 2. Therefore, by default, two PDBs and the CDB root can run tasks at the same time during a maintenance window.

This parameter can be set only in the CDB root, not in a PDB.

See Also:

  • “ENABLE_AUTOMATIC_MAINTENANCE_PDB” for information on disabling or enabling the running of automated maintenance tasks for specific PDBs or for all the PDBs in CDB

  • Oracle Database
    Administrator’s Guide
    for more information about managing automated database maintenance tasks


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