This document introduces the complete process and directions for cross-region deployment of the global database (GD).
Deployment Background
An e-commerce enterprise operates across multiple regions (mainly in Hong Kong (China), with expansion into Singapore and Frankfurt). With the rapid growth of its business, the existing local database architecture is facing significant challenges in terms of performance and business continuity, with high latency for users accessing from different regions and difficulty in real-time synchronization of business data within the region. It is required to establish a GD that connects data across different regions, allowing all regions to access the same database, with read requests sent to the local cluster (namely, the cluster in the region where the business is located) and write requests forwarded to the primary cluster for processing.
Deployment Process
Directions
Creating a GD
1. Create a provisioned resource cluster in Hong Kong (China) as the primary cluster for GD (if a cluster exists in this region, there is no need to create it again). For directions, see Creating a Cluster. Adding Secondary Clusters
Add 2 secondary clusters to the GD, and select Singapore and Frankfurt as the regions to form a complete GD. For directions, see Managing Secondary Clusters. Connecting to the GD
Once the GD creation is successful, you can connect to the GD for management by using the connection address of the nearest TDSQL-C for MySQL cluster. For detailed directions, see Connecting to the GD.