PolarDB for MySQL  Play Video

Alibaba Cloud PolarDB for MySQL is a cloud-native relational database service 100% compatible with MySQL. PolarDB for MySQL supports various features (such as multiple primary nodes, active geo-redundancy for disaster recovery, and HTAP). Compared with open-source MySQL databases, PolarDB for MySQL is up to five times higher in transaction performance, up to about 400 times higher in analysis performance, and 50% lower in total cost of ownership (TCO).

Always Free PolarDB Instance

We are introducing an Always Free PolarDB campaign for all variations to support the developer community. After successful participation, one resource of the specified specification can be used for free. Regional resource availability is subject to change. When resources are unavailable in certain regions, you can switch your free tier instance to a different region or to a paid plan in any specific region. Please read the "Offer Terms & Conditions" for more information.
See Guide > to learn how to get started.


PolarDB for MySQL

Each user can participate once a month and is allowed to launch one PolarDB instance for free each time.

Specifications of the free PolarDB instance

  • Node Specification: 2C8G (General-Purpose)
  • Storage Capacity: 50 GB

Available Regions

China (Hong Kong) | Germany (Frankfurt) | Indonesia (Jakarta) | Japan (Tokyo) | Singapore | Thailand (Bangkok) | UK (London)

Step 2: Get It for Free


Super MySQL

PolarDB for MySQL is 100% compatible with MySQL and provides various in-house enterprise-class capabilities. Compared with open-source MySQL databases, PolarDB for MySQL is up to five times higher in transaction performance.


PolarDB for MySQL is built based on Serverless architecture. You are charged based on the actual workloads and storage capacity used. The secondary nodes of a PolarDB for MySQL cluster can handle read-only requests to maximum resource utilization.

All-in-One HTAP Experience

PolarDB for MySQL supports IMCIs and parallel queries and can ensure the consistency of column-based and row-based data within each real-time transaction. In complex queries, PolarDB for MySQL can execute operations more than 100 times faster than traditional MySQL databases.

Multiple Primary Nodes

PolarDB for MySQL allows you to write data to up to 32 primary nodes within a cluster at the same time. You can add primary nodes as the workloads of write operations increase and configure data backup across multiple nodes to reduce costs.


Flexible billing methods to meet different cost requirements

PolarDB for MySQL supports pay-as-you-go and subscription billing methods.


The pay-as-you-go billing method is used to deduct fees from the balance of your Alibaba Cloud account based on the specifications of the compute instances or the actual storage usage when the order is generated. This billing method applies to scenarios when the instances are used for a short period or only small amounts of data are involved. The compute instances can be automatically scaled up or down during use and can be released as soon as they are used up.


The subscription billing method requires you to pay fees for compute instances or storage before using them. This billing method applies to scenarios when the instances are used for a long period or large amounts of data are involved. This billing method is more cost-effective than pay-as-you-go. A subscription compute plan with a longer validity period or a subscription storage plan with a larger capacity is more cost-effective.

Enterprise-class capabilities for various business requirements

PolarDB for MySQL provides various enterprise-class capabilities, including automatic backup, one-click restoration, Global Database Network (GDN), parallel queries, and fast DDL operations. The read and write capabilities of PolarDB for MySQL clusters can be expanded within minutes.

Elastic Scaling

PolarDB for MySQL supports the following three types of scaling: vertical scaling of computing capacity (the upgrade or downgrade of cluster specifications), horizontal scaling of computing capacity (the adding or removing of read-only nodes. A maximum of 16 computing nodes can be added), and the horizontal scaling of storage capacity (the automatic scaling of storage capacity based on data volume changes. The maximum storage capacity for a single instance is 100 TB). The specification changes of your cluster take effect within a few minutes.

Backup and Restoration

PolarDB for MySQL supports custom backup policies and the following three backup types: Level-1 backups are stored on a distributed storage cluster and are fast to restore. Level-2 backups are level-1 backups that are compressed and stored in on-premises storage. Level-2 backups require a longer time to restore. Log backups are redo logs uploaded to OSS in parallel in real-time. You can back up a PolarDB for MySQL database that stores 1 TB of data within ten seconds and restore the data sets within ten minutes.


A global database network (GDN) consists of multiple PolarDB clusters distributed across regions worldwide. Data in the clusters within a GDN are synchronized using technologies (such as asynchronous replication, physical logs, and parallel processing). It takes less than two seconds to replicate data between two PolarDB clusters with the same specification in different regions. PolarDB clusters in a GDN support cross-region read/write splitting, data reading from nearby clusters, and flexible configurations.

Parallel Queries

PolarDB for MySQL 8.0 supports parallel queries by distributing data to different threads at the storage layer. Multiple threads perform parallel computing and return the results to the leader thread. This way, the time required to respond to complex SQL queries and report queries can be significantly reduced. For example, if 100 GB of data is stored in a PolarDB for MySQL 8.0 cluster that has 88 CPU cores and 710 GB of memory, the response speed of the cluster to queries can be increased up to 30 times after parallel queries are enabled for the primary node.

Fast DDL Operations

PolarDB for MySQL supports DDL physical replication optimization. This feature optimizes the key paths of writing redo logs on the primary node and using redo logs on read-only logs. This way, you can instantly add columns to a table or add indexes in parallel. For example, if 1 TB of data is stored in a PolarDB for MySQL 8.0 cluster that has 16 CPU cores and 128 GB of memory, it only takes one second to add a column to a table in the cluster, which is ten times faster than open-source MySQL databases.


The IMCI feature can be used with the parallel vectorized execution engine for column store data to significantly improve the execution efficiency of complex queries. This way, PolarDB for MySQL implements integrated real-time transaction processing and data analysis features and provides a one-stop hybrid transaction/analytical processing (HTAP) solution. PolarDB for MySQL allows you to use one system to meet the requirements in both OLTP and OLAP scenarios.

Extensive O&M features to significantly reduce O&M costs

PolarDB for MySQL provides O&M features to implement 24/7 anomaly detection based on machine learning and fine-grained data monitoring. This way, the stability, security, and efficiency of your databases can be ensured.


PolarDB for MySQL provides a variety of diagnosis features for you to view the diagnostics and optimization results of databases. These features include the autonomy center, session management, real-time monitoring, storage analysis, deadlock analysis, diagnostic reports, and performance insight.

Monitoring and Alerting

PolarDB for MySQL allows you to monitor a variety of performance metrics and view monitoring data at intervals of seconds. This way, you can detect and solve the exceptions that occur on your PolarDB clusters or nodes based on the monitoring data.

SQL Explorer

SQL Explorer collects all SQL statements executed on databases in real-time and uses powerful analytic and query engines to identify potential performance or security risks. Logs of the SQL statements are retained for up to five years.

Slow SQL Queries

PolarDB for MySQL provides the slow SQL query analysis feature. This feature allows you to view slow log trends and statistics. You can also obtain diagnostic results and suggestions on how to fix slow SQL queries.

Auto Scaling

You can configure the threshold, the specification of nodes, and the number of read-only nodes for auto scaling. If the average CPU utilization is greater than or equal to the specified threshold, automatic scale-up is triggered.


Provides high read/write performance and supports global deployment of highly concurrent services

In gaming scenarios, you need to frequently open new servers or merge existing servers. During peak hours, the servers must process a large number of concurrent operations performed by millions of online players. You often need to deploy gaming services in global regions to expand your business. Similar to gaming scenarios, an e-commerce website may be accessed by a lot of users and must process a large number of transactions every day. During campaigns (such as shopping festivals), the business system of an e-commerce website may be concurrently accessed millions (or tens of millions) of times. PolarDB provides database services with low latency, high stability, and high performance. Therefore, it is ideal for scenarios that require high concurrency (such as gaming and e-commerce).

Solution Effects

  • Great User Experience

    PolarDB clusters of the Cluster Edition provide high-performance read and write capabilities that are ideal when you open new servers and scale up applications. This way, the maintenance window can be significantly shortened when you release new game versions or restart game servers.

  • Convenient Global Deployment

    PolarDB clusters of the Cluster Edition support the global database network (GDN) feature that allows you to synchronize data between multiple PolarDB clusters in different regions worldwide. This helps you easily deploy gaming services in global regions.

  • Reliable Services

    PolarDB stores data in three replicas to ensure data reliability. PolarDB is compatible with various MySQL ecosystems and open-source middleware tools. This facilitates game history queries, top-ups, and the launch of marketing activities.

Ensures financial-grade data consistency for compliance and availability requirements

In financial scenarios, businesses require high data availability and strong data consistency. PolarDB adopts an architecture in which computing and storage resources are decoupled and supports various features (such as fault recovery within seconds, global data consistency, data backup, and disaster recovery) to meet compliance and availability requirements in financial scenarios.

Solution Effects

  • High Availability and GDN

    The multi-zone architecture used by PolarDB ensures that data replicas are available across multiple zones for database disaster recovery and backup. The GDN feature allows PolarDB to implement geo-disaster recovery. Data is read from or written to all clusters within the same GDN. You can deploy your clusters from a single zone to different regions without modifying the code of your applications.

  • High Security

    PolarDB adopts various security measures (such as IP whitelists, VPCs, and multiple data replicas) to protect your data in terms of access, storage, and management.

  • Strong Data Consistency

    PolarDB clusters of the Cluster Edition adopt an architecture with shared distributed storage. This prevents the issue that data in the primary and secondary databases are not strongly consistent because of the asynchronous data replication between the primary and secondary databases.

Efficient queries for large amounts of data

PolarDB uses an architecture in which computing and storage resources are decoupled. This allows you to quickly scale up the CPU cores and memory of your database cluster. You can add up to 15 read-only nodes for a PolarDB cluster. PolarDB supports various features (such as parallel queries and read/write splitting) to significantly reduce the response time of queries. Therefore, you can use PolarDB to process queries that require lightweight analysis operations (such as queries that require large amounts of compute resources, join queries across multiple tables, and daily report queries).

Solution Effects

  • Parallel Queries

    PolarDB for MySQL 8.0 supports parallel queries by distributing data to different threads at the storage layer. Multiple threads perform parallel computing and return the results to the leader thread. Then, the leader thread merges the results and returns the final result to the user. This way, query efficiency can be significantly improved.

  • Read/Write Splitting

    You can add up to 15 read-only nodes to a PolarDB cluster. You can enable the transaction splitting feature in the PolarDB console to distribute the read requests in the transactions to read-only nodes for load balancing. This way, the response time of queries can be reduced.

  • Resource Isolation

    You can configure multiple endpoints for a PolarDB for MySQL cluster. These endpoints can be used by different businesses to access the cluster. This way, OLAP workloads of multiple businesses are isolated and do not impact the online services.

Offer Terms & Conditions

The offers detailed on this page are valid for as long as the page is displayed. The offers only apply to purchases of the specific Alibaba Cloud products listed on this page. Everything shown below does not apply to purchases made via third-party resellers.

Instance Specifications and Terms:

a. When the usage does not exceed one PolarDB instance of 2C8G (2-core and 8GB of memory), and the storage usage of that instance does not exceed 50GB, there is no fee.
b. Regional resource availability is subject to change. When resources are unavailable in certain regions, you can switch your free tier instance to a different region or to a paid plan in any specific region.
c. Each user can participate once a month (maximum). After each successful participation, the free benefits will be valid for the month. The benefits will expire if they are not used in the same month. If the benefits expire, you can reapply.
d. Applications can only be made through Alibaba Cloud accounts but not through sub-accounts. After the application is submitted, the application result will be sent by email and message to your account within three business days. If the application is approved, you can use the free benefits immediately. The benefits only apply to launching new resources. Free renewal of existing resources is not allowed.


These terms and conditions apply to promotions on alibabacloud.com, including ones that require selecting products as part of the offer. No alternative terms and conditions apply:
• Alibaba Cloud reserves the right to modify or cancel the offer at any time.
• Offers only apply to products and digital content.
• Offers are limited to one per customer and account. If you have multiple accounts, only one account is eligible to participate.
• Only users that have passed our Real Name Registration verification process are eligible to participate.
• Offers cannot be combined.
• Offers are non-transferable and cannot be resold.
• Discounts and promotions will apply automatically when you check out if all terms and conditions have been met.
• If you violate any offer terms, the offer will be invalid.


phone Contact Us