云数据库 GAUSSDB-连接设置:service_reserved_connections

时间:2025-06-03 09:33:14

service_reserved_connections

参数说明:为后台运维用户(带有persistence属性)预留的最少连接数,不建议设置过大。该参数和max_connections参数配合使用,运维用户的最大连接数等于max_connections + service_reserved_connections。

参数类型:整型

参数单位:

取值范围:0 ~ 262143

默认值:10

设置方式:该参数属于POSTMASTER类型参数,请参见表1中对应设置方法进行设置。

设置建议:推荐使用默认值。

设置不当的风险与影响:如果设置过小,会导致在max_connections占满的情况下,运维用户(带有persistence属性)无法连接数据库,作业无法正常执行。如果设置过大,则会有过多的空闲资源。

support.huaweicloud.com/distributed-devg-v8-gaussdb/gaussdb-10-0259.html