PolarDB is designed for business-critical database applications that require fast performance, high concurrency, and automatic scaling. You can scale up the node specification and scale out the number of nodes in a cluster to provide a PolarDB cluster that has millions of QPS and up to 100 TB of storage.
PolarDB provides three editions with different engines: PolarDB for MySQL, PolarDB for PostgreSQL, and PolarDB for Xscale.
PolarDB for MySQL
PolarDB for MySQL is fully compatible with MySQL and supports multiple primary nodes, active geo-redundancy for disaster recovery, and HTAP. It is 5 times better in transaction and 400 times faster in analysis than open source MySQL databases. Additionally, it offers 50% lower total cost of ownership (TCO).
Learn More >
PolarDB for PostgreSQL
PolarDB for PostgreSQL is fully compatible with PostgreSQL and provides secure and reliable database services with high performance, auto scaling capability within seconds, and large storage capacity. It supports both Alibaba Cloud proprietary Ganos engine and the open source PostGIS engine for spatio-temporal data processing.
Learn More >
PolarDB for Xscale
PolarDB for Xscale (PolarDB-X) is a cloud-native high-performance distributed database service developed by Alibaba Cloud. It provides high throughput, large storage capacity, low latency, high scalability, and high availability to meet business requirements in the cloud era.
Learn More >
Always Free PolarDB Instance
To support the developer community, we are introducing Always Free PolarDB campaign for all variations. After successful participation, one resource of the specified specification can be used free of charge. Regional resource availability is subject to change. When resources are not available in certain regions, you can switch your free tier instance to a different region, or switch to a paid plan in any specific region. For more information, please read the "Terms & Conditions" carefully.
Click Apply Now > to get your Always Free PolarDB resource now.
PolarDB for MySQL
Each user can participate once a month and is allowed to launch one PolarDB instance for free each time.
Specification of the free PolarDB instance
- Node specification: 2C8G (General-purpose)
- Storage capacity: 50 GB
Australia (Sydney) | China (Hong Kong) | Germany (Frankfurt) | Japan (Tokyo) | Singapore | UK (London)
PolarDB for PostgreSQL
Each user can participate once a month and is allowed to launch one instance for free each time.
Specification of the free PolarDB instance
- Node specification: 2C8G (Dedicated)
- Storage capacity: 50 GB
Australia (Sydney) | China (Hong Kong) | Germany (Frankfurt) | Japan (Tokyo) | Singapore | UK (London)
Engine Selection Guide
|Item||PolarDB for MySQL||PolarDB for PostgreSQL||PolarDB for Xscale|
|Database ecosystem||MySQL||PostgreSQL and Oracle||MySQL|
|Architecture||A shared-storage architecture in which computing and storage resources are decoupled||A shared-storage architecture in which computing and storage resources are decoupled||A distributed share-nothing architecture|
|Scenario||Build cloud-native applications based on MySQL||Build cloud-native applications based on PostgreSQL or migrate traditional commercial databases to the cloud||Build MySQL-based applications that require ultra-high concurrency|
Compatibility with MySQL and PostgreSQL ecosystems
PolarDB is 100% compatible with the ecosystems of MySQL and PostgreSQL. Your applications or services can connect to and use PolarDB without modifications. You can migrate your databases from an ApsaraDB RDS for MySQL High-availability Edition instance to a PolarDB cluster with the endpoints of your databases unchanged. PolarDB is highly compatible with the Oracle syntax. You can use the tools provided by ADAM to migrate your data from Oracle. This way, the costs and the time required for the migration can be reduced by at least 90%.
Massive storage and high scalability
A PolarDB for MySQL or PolarDB for PostgreSQL cluster supports a maximum of 100 TB of storage. You can configure up to 16 nodes for a PolarDB for MySQL or PolarDB for PostgreSQL cluster. Each node supports up to 88 vCPUs. The storage of PolarDB for MySQL and PolarDB for PostgreSQL is built based on a distributed serverless architecture and can automatically scale up or down based on the data volume. The storage capacity of PolarDB for Xscale clusters can be scaled out to petabytes of data.
PolarDB can execute operations more than 100 times faster than traditional MySQL and PostgreSQL databases. All compute nodes within a PolarDB cluster shares the storage of the cluster. When you scale out a cluster, you need only to pay for the read-only nodes that you want to add to the cluster, which significantly reduces the scale-out costs. The storage capacity of PolarDB is automatically extended as the volume of your data grows. You pay only for the storage capacity that is actually used.
High availability that ensures business continuity
PolarDB can switch over services from the primary node to a secondary node with no data loss when the primary node fails. This resolves the issue of data inconsistency between the primary and secondary nodes caused by asynchronous replication. You need only to take a few minutes to add read-only nodes, back up data, and restore data. PolarDB can be deployed in different modes to implement different disaster recovery capabilities. For example, you can deploy PolarDB in three data centers within the same region or in five data centers across three different regions.
Flexible billing methods to meet different cost requirements
PolarDB for MySQL supports the 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 is applicable to scenarios in which the instances are used for a short period or only small amounts of data is 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 you can use them. This billing method is applicable to scenarios in which the instances are used for a long period of time or large amounts of data is 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.
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 then stored in on-premises storage. Level-2 backups require a longer period of time to restore. Log backups are redo logs that are uploaded to OSS in parallel in real time. You can back up a PolarDB for MySQL database that stores 1 TB of data within 10 seconds and restore the data sets within 10 minutes.
A global database network (GDN) consists of multiple PolarDB clusters that are distributed across regions around the world. Data in the clusters within a GDN are synchronized by using technologies such as asynchronous replication, physical logs, and parallel processing. It takes less than 2 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.
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 by 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 takes only one second to add a column to a table in the cluster, which is 10 times faster than open source MySQL databases.
The IMCI feature can be used together 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 only 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 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 collects all SQL statements that are 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 up to 5 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 the diagnostic results and suggestions on how to fix slow SQL queries.
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.
Compatibility with Oracle for ease of use
PolarDB for PostgreSQL is highly compatible with the Oracle syntax and supports the professional migration assessment tools provided by ADAM. This way, you can migrate your data in Oracle databases to PolarDB PostgreSQL.
High compatibility with the Oracle syntax
PolarDB for PostgreSQL supports all native interfaces of Oracle and almost all database objects in Oracle. PolarDB for PostgreSQL is highly compatible with the Oracle syntax and some key features such as DBLINK, partitioned tables, PL/SQL. PolarDB for PostgreSQL uses similar logical concepts as Oracle, including users, roles, modes, and permissions. In addition, PolarDB for PostgreSQL uses a share-everything storage architecture that uses the same file system structure and ACID concepts as Oracle.
Free migration assessment
You can use ADAM to assess the migration of databases and applications, transform databases online, and access applications free of charge. ADAM can assess the compatibility, association, performance, risks, and required modification methods of databases and applications, and can provide suggestions on how to resolve compatibility issues and how to optimize and convert database engines.
Database Expert Service
PolarDB for PostgreSQL provides the database expert service together with tools to help enterprises implement Oracle features with low cost. The service covers operations within the entire migration process, including schema migration, data migration, consistency verification, and the simulation, playback, cutover, and optimization of SQL statements.
Compute-storage decoupled architecture that exploits the advantages of cloud-native databases
PolarDB for PostgreSQL is designed based on a cloud-native architecture in which storage and computing resources are decoupled. You can scale up the read and write capabilities of PolarDB for PostgreSQL within minutes and can configure up to 16 compute nodes for a PolarDB for PostgreSQL cluster.
PolarDB for PostgreSQL supports the elastic scaling of a cluster within minutes. You can scale up or down the compute capabilities of a cluster by changing the specification of each compute node within the cluster or changing the number of read-only nodes (16 compute nodes in maximum) with in the cluster. You can also scale up the storage capacity of a cluster by adding storage nodes.
Large storage capacity
PolarDB for PostgreSQL uses shared storage whose capacity is automatically adjusted online based on the data volume. A single PolarDB for PostgreSQL cluster provides up to 100 TB of storage. The storage of a cluster is shared by all compute nodes within the cluster. This way, no additional storage costs are incurred when you add compute nodes.
PolarDB for PostgreSQL uses distributed shared storage and physically replicates data. This way, the latency caused by logical data replication is avoided and the global consistency of data can be ensured.
Managed PostgreSQL databases that reduce costs
PolarDB for PostgreSQL provides a fully-managed database service to improve productivity and reduce the total cost of ownership (TCO).
Ease of use
PolarDB for PostgreSQL is fully compatible with PostgreSQL.
PolarDB for PostgreSQL allows you to manually upgate the minor engine version to improve performance, introduce new features, or fix known issues.
SQL Explorer collects all SQL statements that are executed on databases in real time, and uses powerful analytic and query engines to identify potential performance or security risks.
Efficient storage and computing capabilities for large amounts of spatio-temporal data
PolarDB for PostgreSQL is integrated with the spatio-temporal data engine Ganos developed by DAMO Academy. This way, you can use PolarDB for PostgreSQL to store, manage, index, and process spatio-temporal data.
Support on all spatial data
PolarDB for PostgreSQL supports various types of data, including vectors, grids, trajectories, point clouds, meshes, paths, 3D surface models, and 3D body models. Therefore, you can use PolarDB for PostgreSQL to store and process all spatial data in a unified manner, including data indoor and outdoor, data above and below ground, dynamic and static data, and digital twin data.
PolarDB for PostgreSQL allows you to create multi-level parallel spatio-temporal operators to push down computing operations for higher computing efficiency.
Compatibility with spatial data and services
PolarDB for PostgreSQL is compatible with various types of commercial or open source spatial data and services. You can use the spatial data system based on GIS to build a city-level spatial data warehouse that is applicable to multiple platforms.
PolarDB for Xscale Standard Edition
PolarDB for Xscale is fully compatible with MySQL and uses the Paxos-based multi-replica architecture that includes a primary node, a secondary node, and a log node. PolarDB for Xscale has a wide range of specifications and is cost-effective. PolarDB for Xscale Standard Edition can be easily migrated to PolarDB for Xscale Enterprise Edition.
PolarDB for Xscale Enterprise Edition
PolarDB for Xscale is built based on an architecture in which compute and storage resources are decoupled. You can scale out a PolarDB for Xscale cluster online. The storage capacity of a PolarDB for Xscale cluster can be scaled up to petabytes of data. PolarDB for Xscale is applicable to businesses that require high concurrency, high throughput, and the capabilities to process large amounts of data.
Compatibility and easy-to-start features
PolarDB for Xscale databases that are created in AUTO mode support the automatic partitioning feature. When you create a table, you do not need to specify a partition key. Data in the table is automatically and evenly distributed among partitions. You can also use the standard MySQL syntax to partition the table.
PolarDB for Xscale provides parallel computing and auto scaling to support real-time analysis of online data and reporting. PolarDB for Xscale supports intelligent read/write splitting and analysis of read-only replicas. This helps you isolate resources when you perform online transaction processing (OLTP) and online analytical processing (OLAP) queries.
PolarDB for Xscale uses the Paxos protocol to implement a variety of disaster recovery capabilities with a recovery point objective (RPO) of 0. PolarDB for Xscale also provides strongly consistent distributed transactions through read committed (RC) and repeatable read (RR) isolation levels.
Compatibility with native MySQL ecosystems
PolarDB for Xscale is compatible with MySQL and supports binary logs. You can configure data synchronization between a PolarDB for Xscale cluster and a MySQL database node to connect your databases to existing big data ecosystems. PolarDB for Xscale also supports open source partitioning and sharding tools.
Enterprise-class disaster recovery
PolarDB for Xscale can be deployed in different modes for disaster recovery. For example, you can deploy PolarDB for Xscale in multiple zones within the same region or in three data centers across two regions. PolarDB for Xscale complies to the Standards for Financial Distributed Transactional Databases and has passed the Long-term Stability Testing of Distributed Databases issued by China Academy of Information and Communications Technology.
PolarDB for Xscale monitors computing resources, storage resources, and databases, supports custom alerting policies, and provides a comprehensive overview of all instances.
Enterprise-class diagnostics and optimization
PolarDB for Xscale is capable of quickly identifying problematic SQL queries based on the flexible and powerful query syntax, and provides real-time analysis of SQL queries and the out-of-the-box reporting center.
Provides high read/write performance and supports the 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. To expand your business, you often need to deploy gaming services in global regions. 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 even tens of millions 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.
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 around the world. This helps you easily deploy gaming services in global regions.
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-up, and launch of marketing activities.
Transformation and migration of traditional commercial databases
PolarDB is highly compatible with the Oracle syntax. Therefore, you can migrate traditional commercial databases to PolarDB to implement the features of Oracle databases in a cost-effective manner without interrupting your business.
You can implement the features of Oracle by migrating heterogeneous databases to PolarDB in a cost-effective manner without the need to pay license fees. This way, you can optimize the structure of your IT costs and use the highly available service provided by PolarDB to improve cost-effectiveness.
Heterogeneous database transformation with low costs
Creates a migration plan based on the professional database or application compatibility assessment reports provided by ADAM and improves the transformation efficiency by using the compatibility of PolarDB for PostgreSQL with Oracle.
The auto scaling feature ensures the stability of your business during peak hours and frees you from complex database capacity assessment and long equipment procurement cycle.
Service cutover with low risk
The real-time migration and reverse transmission features provided by DTS are used together with Database Expert Service to significantly shorten the time required for service cutover and reduce risks.
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 the compliance and availability requirements in financial scenarios.
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 the need to modify the code of your applications.
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 the asynchronous data replication between the primary and secondary databases.
Offer Terms & Conditions
The offers detailed on this page are valid for as long as the page shows. The offers apply only to purchases of the specific products listed on this page from Alibaba Cloud. All shown below do not apply to purchases made at third-party resellers.
Instance specifications and terms are as follows:
a. When the usage does not exceed 1 PolarDB instance of 2C8G (2-core and 8GB of memory) and the storage usage of that instance does not exceed 50GB, the fee is fully free.
b. Regional resource availability is subject to change. When resources are not available in certain regions, you can switch your free tier instance to a different region, or switch to a paid plan in any specific region.
c. Each user can participate at most once a month, and after each successful participation, the free benefits will be valid for the month, and the benefits will expire if the benefits 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 0-3 business days. If the application is approved, you can use the free benefits immediately. The benefits are only applicable to launch new resources, free renewal of existing resources is not allowed.
These are the terms and conditions that apply to promotions on alibabacloud.com, including ones where you must select 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.
• These offers apply only to products and digital content.
• These 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.
• Each of these offers may not be combined with other offers.
• Each of these offers are non-transferrable and may not be resold.
• Discounts and promotions will apply automatically when you check out if all terms and conditions have been met.
• If you violate any of the offer terms, the offer will be made invalid.