You can create a Global Database Network (GDN) by using an existing cluster or purchasing a new one. A GDN enables cross-region disaster recovery and active geo-redundancy.
Limits
Cluster versions
-
Database engine: PostgreSQL 14 and PostgreSQL 16
-
Edition: Enterprise Edition
-
High-availability Mode: Single zone (with hot standby storage cluster disabled)
Supported regions
GDN is available in 10+ regions worldwide, including the Chinese mainland, China (Hong Kong), and overseas regions.
|
Primary cluster region |
Secondary cluster region |
|
All regions in the Chinese mainland |
Any region in the Chinese mainland, including the primary cluster's region. Example: If the primary cluster is in China (Hangzhou), secondary clusters can be in any Chinese mainland region, including Hangzhou. Note
For other region requirements, submit a ticket. |
|
Regions outside the Chinese mainland |
China (Hong Kong), Japan (Tokyo), South Korea (Seoul), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Philippines (Manila), Germany (Frankfurt), US (Silicon Valley), US (Virginia), and UK (London). |
For regions outside the Chinese mainland, sign the Cross-Border Data Transfer Compliance Agreement before creating a secondary cluster.
Feature limits
-
Clusters in a GDN do not support the serverless feature or In-Memory Column Index (IMCI).
-
Clusters in a GDN do not support the database and table restoration feature.
Other limits
-
A GDN supports one primary cluster and up to four secondary clusters.
-
Primary and secondary clusters must have the same database engine version: PostgreSQL 14 and PostgreSQL 16.
-
Secondary cluster specifications must match or exceed the primary cluster's.
-
A cluster can belong to only one GDN.
Billing
Cross-region data transfer traffic for a GDN is free of charge. You are charged only for the PolarDB clusters.
Create a global database network
-
Log on to the PolarDB console. In the left-side navigation pane, click Global Database Network (GDN).
-
On the Global Database Network (GDN) page, click Create GDN.
-
In the Create GDN dialog box, configure the following parameters.
Parameter
Description
Compatibility
Select PostgreSQL or .
Edition
Set to Single-active Version.
Name
Enter a descriptive name to help you identify the GDN. The name does not need to be unique.
Primary Region
Select the region of the primary cluster.
NoteBefore you proceed, determine which cluster to use as the primary cluster and select its region here.
Primary Cluster
Select an existing cluster to serve as the primary cluster of the GDN.
Global domain name
This feature is not currently supported. Keep it disabled.
-
Click OK. You can view the created GDN in the Global Database Network (GDN) list. You can then add a secondary cluster to the GDN.
Delete a global database network
-
You can delete a GDN only if it contains no secondary clusters.
-
A GDN cannot be restored after it is deleted. Proceed with caution.
-
After you delete a GDN, applications that are connected to it can no longer access the database. You must promptly update the connection strings in your applications.
-
Log on to the PolarDB console. In the left-side navigation pane, click Global Database Network (GDN).
-
On the Global Database Network (GDN) page, find the target GDN, and click Delete in the Operation column.
NoteA grayed-out Delete button indicates that the GDN contains secondary clusters, which you must delete first.
-
Read the warnings in the dialog box that appears. After you confirm that the information is correct, click OK to delete the GDN.
Related documents
-
Global Database Network (GDN): Provides an overview of GDN, its architecture, and application scenarios.
-
Add and manage a secondary cluster: Describes how to add a secondary cluster to a Global Database Network (GDN).
-
Connect to a Global Database Network: Describes how to connect to a Global Database Network (GDN).
Related APIs
|
API |
Description |
|
Creates a Global Database Network. |
|
|
Deletes a Global Database Network. |
|
|
Queries the information about a specified Global Database Network. |
|
|
Queries information about all Global Database Networks. |
|
|
Modifies the information about a Global Database Network. |