tencent cloud

TDSQL Boundless

net_retry_count

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

Feature Description

net_retry_count is used to set the maximum number of retries when the server tries to reconnect to the client. If consecutive failures reach the value of net_retry_count, the server will abandon the reconnection and close the connection with the client.
When adjusting the net_retry_count parameter, you need to consider the following factors:
Network environment: Set appropriate values according to the actual network environment and bandwidth. In a stable network environment, the value of net_retry_count can be reduced appropriately to improve server performance. In an unstable network environment, you need to increase the value of net_retry_count to improve the success rate of reconnection.
Client response speed: Set appropriate values based on the client's response speed. If the client responds slowly, the value of net_retry_count may need to be increased to improve the success rate of reconnection. If the client responds quickly, the value of net_retry_count can be reduced to improve server performance.
Server load: Set appropriate values based on the actual load on the server. In case of high load, the value of net_retry_count may need to be increased to improve the success rate of reconnection. In case of low load, the value of net_retry_count can be reduced to save system resources.

Attribute Description

Required
Description
Parameter Type
ULONG
Default Value
10
Value Range
1 ~ 18446744073709551615
Effective Scope
GLOBAL
SESSION
Restart Required
No

ヘルプとサポート

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

フィードバック