Help Center/ Relational Database Service/ User Guide/ Working with RDS for MySQL/ Database Proxy (Read/Write Splitting)/ Database Proxy Configurations/ Modifying Read/Write Splitting Parameters
Updated on 2025-11-26 GMT+08:00
Modifying Read/Write Splitting Parameters
Scenarios
After read/write splitting is enabled, you can modify proxy parameters, for example, multiStatementType.
Constraints
- To change the value of multiStatementType, the proxy version must be 2.22.11.000 or later. To find the proxy kernel version, go to the proxy instance details page.
- All proxies of your DB instance must be in the Available state.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service. - On the Instances page, click the primary instance name.
- In the navigation pane on the left, choose Database Proxy.
- On the displayed page, click Modify Parameters in the proxy information area.
- Change the parameter value and click OK.
multiStatementType is not available for read-only proxies.
- Strict (default): After a multi-statement request is sent to the primary instance, the read/write splitting of the current connection becomes unavailable and all subsequent requests are routed to the primary instance.
- Loose: After a multi-statement request is sent to the primary instance, the read/write splitting of the current connection still works.
- Parse: After a multi-statement request is sent to the primary instance, the request is parsed to determine whether to split subsequent read and write requests.
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.