Recovery Group Overview (Beta)

A TiDB Cloud recovery group allows you to replicate your databases between TiDB Cloud Dedicated clusters for protection against regional disasters. You can orchestrate the failover of databases from one cluster to another. After a failover to the secondary cluster, if the original primary cluster becomes available again, you can re-establish replication in the reverse direction to reprotect your databases.

Architecture

A recovery group consists of a set of replicated databases that can be failed over together between two TiDB Cloud Dedicated clusters. Each recovery group is assigned a primary cluster, and databases on this primary cluster are associated with the group and are then replicated to the secondary cluster.

Recovery Group

  • Recovery Group: a group of databases that are replicated between two clusters
  • Primary Cluster: the cluster where the database is actively written by the application
  • Secondary Cluster: the cluster where replicas of the database are located

Key features and limitations

  • Currently, only TiDB Cloud Dedicated clusters hosted on AWS support recovery groups.
  • Recovery groups are established between two clusters.
  • Bi-directional replication of a database is not supported with recovery groups.

What's next

Was this page helpful?