Oracle 参数 AQ_TM_PROCESSES 官方解释,作用,如何配置最优化建议
本站中文解释
AQ_TM_PROCESSES参数的功能是限制Advance Queue(AQ)事务管理进程的最大数量,允许的值范围为1-100,默认值为4,此参数可以让实例支持多个AQ事务进行并行处理,有利于提高性能。一般情况下,可以根据实际情况调整该参数,只要不超过100就可以。
正确设置方法:
1、登录到SQL*Plus中,以SYSDBA权限操作;
2、输入以下语句来检查AQ_TM_PROCESSES参数当前设置值:
show parameter AQ_TM_PROCESSES
3、设置AQ_TM_PROCESSES参数的值:
alter system set AQ_TM_PROCESSES=value;
4、使用以下命令来查看参数在内存中的最新值:
show parameter AQ_TM_PROCESSES
官方英文解释
AQ_TM_PROCESSES
controls time monitoring on queue messages and controls processing of messages with delay and expiration properties specified.
Property | Description |
---|---|
Parameter type |
Integer |
Default value |
|
Modifiable |
|
Modifiable in a PDB |
Yes |
Range of values |
|
Basic |
No |
You do not need to specify a value for this parameter because Oracle Database automatically determines the number of processes and autotunes them, as necessary. Therefore, Oracle highly recommends that you leave the AQ_TM_PROCESSES
parameter unspecified and let the system autotune.
The default value for AQ_TM_PROCESSES
is used if the client does not explicitly set a value for the parameter in the init.ora
file or using the ALTER
SYSTEM
statement.
Note:
If you want to disable the Queue Monitor Coordinator, then you must set AQ_TM_PROCESSES
to 0 in your parameter file. Oracle strongly recommends that you do NOT set AQ_TM_PROCESSES
to 0.
See Also:
Oracle Database Advanced
Queuing User’s Guide for more information about this parameter