tencent cloud

TDSQL Boundless

max_connections

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-03-27 15:03:04

Feature Description

max_connections is used to set the maximum number of connections allowed for SQL Engine. When the number of concurrent connections on the server exceeds the value of max_connections, the server will reject new connection requests.
When adjusting the max_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_connections can be appropriately increased to improve the system's concurrent processing capacity. In the case of resource shortage, the value of max_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_connections may need to be increased to meet concurrent requirements. For low-concurrency applications, the value of max_connections can be reduced to save system resources.
Database performance: Set appropriate values based on the actual performance of the database. For databases with good performance, the value of max_connections may need to be increased to improve their concurrency processing capability. For databases with poor performance, the value of max_connections needs to be reduced to avoid database overload.

Attribute Description

Required
Description
Parameter Type
ULONG
Default Value
151
Value Range
1 ~ 100000
Effective Scope
GLOBAL
Restart Required
No

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック