How Do I Set the Maximum Number of WAL Sender Threads That Can Be Created in GaussDB?
WAL sender threads are occupied when standby DNs connect to primary DNs to obtain physical logs and when logical replication tools connect to primary DNs to obtain logical logs. On the GaussDB console, you can set the maximum number of WAL sender threads that can be created. Specifically, perform the following operations:
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose .
- On the Instances page, click the name of the target instance to go to the Basic Information page.
- In the navigation pane on the left, choose Parameters.
- Search for the max_wal_senders parameter in the search box.
- Change the parameter value and click Save. The value ranges from 8 to 100.
- In the displayed dialog box, click OK.
- If this parameter is set to a value smaller than 20, scale-out may fail.
- The value of this parameter must be smaller than that of max_connections.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot