PolarDB is a new generation of cloud-native relational database developed by Alibaba. With a storage-compute decoupled architecture and integrated software and hardware, it provides database services with auto scaling within seconds, high performance, high availability, mass storage, and reliability. It is 100% compatible with MySQL and PostgreSQL ecosystems, highly compatible with Oracle syntax, and supports both centralized and distributed architectures. Compared with self-managed databases, PolarDB delivers up to 6 times the transaction performance and 400 times the analytical performance of open-source databases at 50% of the total cost of ownership (TCO).
With PolarDB, you can choose the database engine that best suits your application while maintaining compatibility with the underlying database engine.
PolarDB database | Ecosystem compatibility | Architecture | Product type |
100% compatible with MySQL | Shared storage and compute-storage decoupled architecture | Public cloud, Apsara Stack Enterprise Edition, DBStack | |
100% compatible with PostgreSQL, highly compatible with Oracle syntax | |||
| Share nothing and Integration of centralized and distributed architectures |
Benefits
Ecosystem compatibility
| High performance
| High availability
|
Mass storage
| Scalibility
| Security
|
Architecture
PolarDB for MySQL
Designed based on the cloud-native architectural philosophy, PolarDB for MySQL combines the stability, high performance, and scalability of commercial databases with the simplicity, openness, and rapid iteration of open source cloud databases. PolarDB decouples computing from storage and effectively and seamlessly integrates software and hardware to deliver a database service that provides auto scaling within seconds, high performance, massive storage capacity, and robust security and reliability.

PolarProxy
PolarProxy in a PolarDB cluster serves as a proxy between an application and the cluster. It receives and routes all requests from the application, performs authentication, and provides advanced features, such as automatic read/write splitting, load balancing, consistency levels, connection pools, and overload protection.
Compute nodes
PolarDB uses multi-node clusters to provide services. Each PolarDB cluster consists of one primary node that handles both read and write operations and multiple read-only nodes. A Multi-master Cluster contains multiple read/write nodes and multiple read-only nodes.
An active-active failover mechanism is used to enable smooth and automatic role transitions between nodes and ensure high database availability.
Compute nodes primarily provide the database SQL engine and are available in general-purpose and dedicated specifications.
Shared distributed storage
Multiple compute nodes share one copy of data, which significantly reduces storage costs. The new distributed storage system and distributed file system allow the storage capacity to seamlessly and dynamically scale without being constrained by the storage limits of individual database servers. This allows the cluster to handle data volumes of up to hundreds of terabytes.
PolarDB for PostgreSQL
PolarDB for PostgreSQL clusters support both centralized and distributed architectures:
Centralized
Designed based on the cloud-native architectural philosophy, PolarDB for PostgreSQL combines the stability, high performance, and scalability of commercial databases with the simplicity, openness, and rapid iteration of open source cloud databases. PolarDB decouples computing from storage and effectively and seamlessly integrates software and hardware to deliver a database service that provides auto scaling within seconds, high performance, massive storage capacity, and robust security and reliability.
Distributed
Based on the centralized PolarDB for PostgreSQL clusters, distributed databases adopt a compute node/data node dual-layer architecture and provide distributed scaling capabilities with decoupled compute and storage resources. It also supports all features of centralized PolarDB for PostgreSQL clusters and meets the performance and reliability requirements of enterprises.
Centralized (Enterprise Edition and Standard Edition)
| Distributed
|
PolarDB-X
In PolarDB-X, data nodes independently operate in a centralized manner and are fully compatible with the single-node database model (100% compatible with MySQL 5.7 and 8.0). If distributed scaling is required due to business expansion, you can upgrade the architecture to a distributed architecture with ease. The corresponding distributed components integrate seamlessly with the original data nodes to facilitate scaling. This allows you to take advantage of the availability and scalability brought by the distributed architecture without data migration or application modification.
Centralized (Standard Edition)
| Distributed (Enterprise Edition)
|
Tutorial video
How to use PolarDB
You can use the following methods to manage PolarDB clusters:
Console: The PolarDB console is a friendly web-based GUI.
API: You can use the API to perform all operations that are available in the PolarDB console.
SDK: You can use SDKs to perform all operations that are available in the PolarDB console.
CLI: You can use Alibaba Cloud CLI to perform all operations that are available in the PolarDB console.
References
PolarDB database | Billing | User guide | Whitepapers |


