tencent cloud

TDSQL Boundless

max_user_connections

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-03-27 17:46:53

Feature Description

max_user_connections is used to set the maximum number of connections for a single user (0 means no limit on the number of connections). When the number of concurrent connections for a user exceeds the value of max_user_connections, the server will reject new connection requests from that user.
When adjusting the max_user_connections parameter, you need to consider the following factors:
System resources: Set appropriate values according to the actual resource situation of the server. When resources are sufficient, the value of max_user_connections can be appropriately increased to improve the system's concurrent processing capacity. In the case of resource shortage, the value of max_user_connections needs to be reduced to avoid resource exhaustion.
Application requirements: Set appropriate values according to the actual needs of the application. For high-concurrency applications, the value of max_user_connections may need to be increased to meet concurrent requirements. For low-concurrency applications, the value of max_user_connections can be reduced to save system resources.
User management: Set appropriate values according to the actual needs and permissions of users. For users with special permissions, the value of max_user_connections may need to be increased to meet their special needs. For ordinary users, the value of max_user_connections can be reduced to limit their resource usage.

Attribute Description

Required
Description
Parameter Type
UINT
Default Value
0
Value Range
0 ~ 4294967295
Effective Scope
GLOBAL
SESSION
Restart Required
No

Ajuda e Suporte

Esta página foi útil?

comentários