PolarDB-X 1.0 service architecture

Updated at:

PolarDB-X 1.0 is the online core database for Online Transaction Processing (OLTP) workloads. It integrates with data integration, data transmission, caching, and big data ecosystems.

This page describes the internal structure of PolarDB-X 1.0—how its layers are organized and how it is deployed on Alibaba Cloud. It is intended for architects and engineers who want to understand how PolarDB-X 1.0 works before adopting it.

Service architecture diagram

1

Kernel architecture

A PolarDB-X 1.0 instance separates compute from storage: the compute layer handles query processing, while the storage layer uses custom ApsaraDB RDS for MySQL instances to persist data. Data is distributed across multiple ApsaraDB RDS for MySQL instances as table shards and database shards.

The architecture of a PolarDB-X 1.0 database is similar to that of a traditional standalone relational database. The database engine is structured into five layers:

Layer

Purpose

Network layer

Handles incoming client connections and traffic

Protocol layer

Interprets the MySQL wire protocol

SQL parsing layer

Parses and validates SQL statements

Optimization layer

Rewrites and optimizes queries using logical optimization and physical optimization

Execution layer

Executes query plans using single-node two-phase execution, single-node parallel execution, or cross-node parallel execution

The execution layer also supports the optimization and execution methods used by traditional standalone databases.

2

Deployment architecture

PolarDB-X 1.0 runs on Alibaba Cloud with production-grade security and availability.

Network and data security

  • Virtual private cloud (VPC): PolarDB-X 1.0 supports virtual private clouds (VPCs).

  • IP address whitelist: Only explicitly allowed IP addresses can connect to an instance.

  • Asymmetric encryption and Transparent Data Encryption (TDE): Protect data service security.

Resource isolation and availability

  • Instances run on dedicated high-performance physical resources.

  • PolarDB-X 1.0 supports cross-zone deployments.

  • Data is fully isolated between instances.

Operational stability

PolarDB-X 1.0 deploys the Operations and Maintenance (O&M) system across multiple regions. Core data Service Level Agreement (SLA) management is separate from O&M SLA management, so operational activities do not affect the guarantees that apply to your data services.