Help Center/
GaussDB/
Developer Guide(Distributed_V2.0-3.x)/
Development and Design Proposal/
Client Programming Specifications/
Connection Control Specifications
Updated on 2025-03-13 GMT+08:00
Connection Control Specifications
- [Rule] Concurrency control is required to avoid exceeding the maximum number of CN connections multiplied by the number of CNs, or the maximum number of connections on a single DN, thus preventing over-limit connection errors on CNs or DNs. If frequent over-limit connection errors occur (more than 10 errors per second), it may lead to service performance deterioration, significantly increased thread pool and CPU usage, potential zombie detection timeout, abnormal cluster status, and even a switchover.
- [Rule] It is recommended to maintain a static connection pool or regulate the frequency of establishing connections to prevent frequent creation of new ones. If the connection frequency of a single CN or DN exceeds 10 times per second, it may lead to a sharp increase in thread pool and CPU usage, thereby significantly impacting service performance.
Parent topic: Client Programming Specifications
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot