All Products
Search
Document Center

PolarDB:Clone a cluster

Last Updated:Mar 28, 2026

Cloning creates an independent copy of a PolarDB for MySQL cluster without manually exporting and reimporting data. Common use cases include:

  • Test and staging environments: Validate schema changes, parameter tuning, or workload-intensive operations on production data without risking the source cluster.

  • Development copies: Give development teams an isolated cluster that mirrors production.

  • Pre-migration validation: Verify data integrity and application compatibility before a major migration.

Only data that exists in the source cluster before the clone operation starts is cloned. Data written to the source cluster after the operation begins is not included.

Limitations

Both editions:

  • Secure Sockets Layer (SSL) configurations are not cloned.

PolarDB for MySQL Enterprise Edition only:

DataCloned
Cluster account informationYes
Transparent data encryption (TDE) configurations (if TDE is enabled on the source cluster)Yes
Parameter settingsNo
Whitelist configurationsNo

PolarDB for MySQL Standard Edition only:

DataCloned
Cluster account informationYes
Parameter settingsYes
Whitelist configurationsYes
TDE configurations (if TDE is enabled on the source cluster)Yes

Clone a cluster

Prerequisites

Before you begin, ensure that you have:

  • A virtual private cloud (VPC) and a vSwitch in the region where you want to deploy the new cluster

Steps

  1. Log on to the PolarDB console. In the left-side navigation pane, click Clusters. In the upper-left corner, select the region of the source cluster, and then find the cluster in the list.

  2. In the Actions column, click More > Clone Data to New Cluster.

  3. Configure the parameters for the new cluster.

    If you select ESSD AutoPL, you can configure Provisioned IOPS for AutoPL disks to increase IOPS beyond the initial maximum of 50,000. The configurable maximum is an additional 50,000, bringing the theoretical maximum to 100,000 IOPS.

    Billing

    ParameterDescription
    Product typeBilling method for the new cluster. Select Subscription (pay upfront for a fixed period) or Pay-as-you-go (charged hourly based on actual usage).
    Purchase planSubscribeSubscription duration. Available only when Product type is set to Subscription.
    NumberNumber of clusters to create. Valid values: 1–50. Default: 1.

    Infrastructure

    ParameterDescription
    Clone source typeSource of the clone. Defaults to Current Cluster. Keep the default.
    RegionRegion where the new cluster is deployed. Defaults to the same region as the source cluster. Keep the default.
    Primary zoneAvailability zone within the region. You can place the new cluster in the same zone as your Elastic Compute Service (ECS) instance or in a different zone.
    Network typeOnly VPC is supported. Keep the default.
    VPC / vSwitchSelect the VPC and vSwitch for the new cluster. Make sure the cluster and your ECS instance are in the same VPC so they can communicate over the internal network. If you don't have a VPC, create one on the VPCs page.

    Cluster configuration

    ParameterDescription
    CompatibilityMySQL version. Defaults to the same version as the source cluster.
    EditionCluster edition. Defaults to the same edition as the source cluster.
    Node specificationCompute specification for each node. Affects maximum storage capacity and performance. For available specifications, see Compute node specifications of PolarDB for MySQL Enterprise Edition.
    NodesNumber of nodes. For Cluster Edition (Recommended) clusters, the default is one primary node and one read-only node. You can select one primary node plus one read-only node, or one primary node only. For Multi-master Cluster (Limitless) clusters, two primary nodes are created by default.
    PolarProxy typeProxy type for the new cluster. Standard Enterprise Edition (shared CPU, elastic scaling, available for General-purpose clusters) or Dedicated Enterprise Edition (dedicated CPU, better stability, available for Dedicated clusters). PolarProxy Enterprise Edition is currently free of charge but may be charged in the future.
    Enable hot standby clusterDeploys a hot standby storage cluster in a secondary zone or a different data center. When the primary zone fails, the hot standby cluster takes over read and write operations. For details, see High availability modes (hot standby clusters).
    Note

    You cannot change a cluster from Double Zones (Hot Standby Storage Cluster Enabled) or Double Zones (Hot Standby Storage and Compute Clusters Enabled) to Single Zone (Hot Standby Storage Cluster Disabled) after creation. To make this change, create a new cluster with the target mode and migrate data using Data Transmission Service (DTS). The Three Zones mode can only be selected at creation and cannot be changed to other modes or vice versa later.

    Cluster nameName for the new cluster. Must be 2–256 characters and cannot start with http:// or https://. If left blank, a name is generated automatically.

    Storage

    ParameterDescription
    Storage typeSelect a storage type compatible with the source cluster. If the source cluster uses ESSD, only ESSD is available. If the source cluster uses PSL4 or PSL5, you can select either. See the storage type reference below.
    Storage engineInnoDB (InnoDB only) or InnoDB & X-Engine (both engines). If you select InnoDB & X-Engine, specify the X-Engine memory usage ratio. For details, see X-Engine Edition.
    Storage billing methodPay-as-you-go (serverless, auto-scales with data volume, charged by actual usage) or Subscription (purchase a fixed storage capacity upfront). If Product type is Pay-as-you-go, storage billing is fixed at Pay-as-you-go.
    Storage capacityAmount of storage to purchase. Ranges from 50 GB to 500 TB in 10 GB increments. Available only when Storage billing method is Subscription.
    Storage costDisplay-only field showing estimated storage cost. You do not need to change this value. You are charged on an hourly basis based on actual storage usage.
    Enable binary loggingEnables binary logging for the new cluster. For details, see Enable binary logging.

    Storage type reference

    Storage typeDescriptionBest for
    ESSDEnterprise SSD with up to 1 million random read/write input/output operations per second (IOPS). Available at PL0, PL1, PL2, and PL3 performance levels, plus ESSD AutoPL (which decouples IOPS from capacity and reduces total cost of ownership (TCO)).High-performance workloads requiring low latency.
    PSL5Default storage type for clusters purchased before June 7, 2022. High performance, reliability, and availability.Finance, e-commerce, and large-scale internet services.
    PSL4Uses Smart-SSD technology to compress and decompress data at the SSD level, reducing storage costs.Cost-sensitive workloads.
  4. Read and accept the Terms of Service, then complete the purchase based on your billing method:

    • Pay-as-you-go: Click Buy Now.

    • Subscription: Click Buy Now, confirm the order and payment method on the Purchase page, then click Subscribe.

Result

The cluster is created within 1–5 minutes. Once it appears on the Clusters page with a Running status, it is ready to use. If the cluster is no longer needed, delete it to avoid ongoing charges.

What's next