You need to enable JavaScript to run this app.
RDS for PostgreSQL

RDS for PostgreSQL

Copy page
Download PDF
Managing connections
ModifyDBEndpointProxyConfig
Copy page
Download PDF
ModifyDBEndpointProxyConfig
Call the ModifyDBEndpointProxyConfig API to modify the number of read/write separation proxy connections for the connection endpoint.​
Request type​
Asynchronous request.​
Precautions​
Ensure the connection endpoint’s read/write separation function is enabled before calling this API to modify the number of proxy connections.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameter​
Type​
Required?​
Example​
Description​
InstanceId​
String​
Yes​
postgres-0af11cd4****​
Instance ID.​
EndpointId​
String​
Yes​
postgres-0af11cd4****-cluster​
ID of the connection endpoint with the instance enabled for read/write separation.​
tip​
Currently, only the default endpoint supports read/write separation.​
ReadWriteProxyConnection​
Integer​
Yes​
200​
After enabling read/write separation on a connection endpoint, the number of proxy connections set for the endpoint.​
tip​
  • The minimum value for the number of proxy connections is 20.​
  • The maximum number of proxy connections depends on the specification of the instance primary node. Different specifications support different maximum numbers of proxy connections. For details, refer to Product specification.​
​
Response parameter​
null​
Sample​
Sample request​
​
POST /?Action=ModifyDBEndpointProxyConfig&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-postgresql.cn-beijing.volcengineapi.com​
X-Date: 20231002T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"InstanceId": "postgres-f511b775****",​
"EndpointId": "postgres-f511b775****-cluster",​
"ReadWriteProxyConnection": 100​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "ModifyDBEndpointProxyConfig",​
"Version": "2022-01-01",​
"Service": "rds_postgresql",​
"Region": "cn-beijing"​
},​
"Result": null​
}​
​
Last updated: 2026.03.31 10:45:19