This topic describes how to create and modify a custom cluster endpoint. You can enable or disable features such as read/write splitting, transaction splitting, and consistency level when you create or modify a custom cluster endpoint.
Create a custom cluster endpoint
When you create a custom cluster endpoint, you can enable or disable read/write splitting, transaction splitting, and consistency level.
ProcedureModify a custom cluster endpoint
When you modify a custom cluster endpoint, you can enable or disable read/write splitting, transaction splitting, and consistency level.
Procedure- Log on to the PolarDB console.
- In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
- Find the cluster and click the cluster ID.
- In the Endpoints section, find the custom cluster endpoint that you want to modify, and choose Modify next to the cluster endpoint.
- In the Configure Nodes dialog box, you can set relevant parameters. For more information about the parameters, see Parameters for creating a custom cluster endpoint.
- Click OK.
Delete a custom cluster endpoint
Note
- You can delete only custom cluster endpoints. The default cluster endpoint cannot be deleted.
- The deleted custom cluster endpoint cannot be recovered. You must change the endpoint for connecting the client to the cluster at the earliest opportunity.
- Log on to the PolarDB console.
- In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
- Find the cluster and click the cluster ID.
- In the Endpoints section, find the cluster endpoint that you want to modify, and choose on the right side of the cluster endpoint.
- In the message that appears, click OK.
Related API operations
Operation | Description |
---|---|
CreateDBClusterEndpoint | Creates a custom cluster endpoint for a specified PolarDB cluster. |
DescribeDBClusterEndpoints | Queries the cluster endpoints of a PolarDB cluster. |
DeleteDBClusterEndpoint | Deletes a custom cluster endpoint of a PolarDB cluster. |