This topic provides answers to frequently asked questions about how to connect to PolarDB clusters.
- Am I charged for data traffic if my application uses a public endpoint to connect
to a PolarDB cluster?
No, you are not charged for data traffic that is incurred by using public endpoints of PolarDB clusters.
- What is the maximum number of single-node cluster endpoints that I can create for
a cluster?
You can create up to six custom cluster endpoints for a cluster. The custom cluster endpoints can be single-node cluster endpoints. For more information about how to create a single-node cluster endpoint, see Create a custom cluster endpoint.
Warning If you create a single-node cluster endpoint for a read-only node and the read-only node becomes faulty, the single-node cluster endpoint may be unavailable for up to 1 hour. We recommend that you do not create single-node cluster endpoints in your production environment. - If a single-node cluster endpoint is created for a read-only node, can the read-only
node be used as the new primary node after a failover?
The read-only node for which a single-node cluster endpoint is created cannot be automatically used as the new primary node after a failover. However, you can manually promote the read-only node as the new primary node. For more information, see Automatic failover and manual failover.
- What is the maximum number of cluster endpoints for a cluster?
A cluster can have a maximum of seven cluster endpoints. One cluster endpoint is the default cluster endpoint and the other endpoints are custom cluster endpoints.
- Can I modify a cluster endpoint?
Yes, you can modify the default cluster endpoint and custom cluster endpoints. For more information, see Modify an endpoint.
- Can I delete a cluster endpoint?
Yes, you can delete only custom cluster endpoints. However, you cannot delete the default cluster endpoint. For more information, see Delete an endpoint.