What is PolarDB-X Lightweight Edition

Updated at:

PolarDB-X Lightweight Edition is software that you can deploy in your own environment. PolarDB-X Lightweight Edition inherits deep kernel optimizations from the cloud-native database PolarDB-X Edition and maintains high performance while significantly reducing costs.

Technical architecture

PolarDB-X Lightweight Edition uses an integrated centralized and distributed architecture. This architecture allows for smooth upgrades to suitable configurations as your business expands, which helps you avoid the high costs of replacing databases or purchasing large-scale databases upfront. It leverages cloud resources and containerization capabilities. The overall system uses a shared-nothing architecture that separates storage and compute. This architecture lets you perform tiered capacity planning as needed.

image

PolarDB-X Lightweight Edition product capabilities:

Product series

Form

PolarDB-X Standard Edition (Centralized)

PolarDB-X Enterprise Edition (Distributed)

Basic Edition (bare process)

Pure kernel form (RPM Package Manager (RPM))

Supported

Not supported

Premium Edition (with management)

Software stack form (MyBase One)

Supported

Supported

Product features

PolarDB-X Lightweight Edition is developed with a focus on independent control and an open ecosystem. It builds distributed capabilities on the MySQL open source ecosystem to minimize the learning curve for users. The product is fully compatible with the MySQL open source ecosystem, including SQL syntax, transactional behavior, and ecosystem tools. As a result, applications can migrate from a single-node MySQL database to PolarDB-X Lightweight Edition with minimal code changes.

Core features

Description

Financial-grade high availability (RPO=0)

Transparent distribution

PolarDB-X Lightweight Edition provides simple and easy-to-use transparent distribution capabilities:

  • Automatic sharding by default. This frees data and services migrated to PolarDB-X Lightweight Edition from the dependency on designing partition keys.

    Note

    The automatic sharding feature simplifies data migration. However, you still need to design primary keys based on your service characteristics to avoid performance bottlenecks.

  • PolarDB-X Lightweight Edition uses the self-developed X-Paxos protocol to ensure an RPO of 0 for data storage during a failover. It also uses TSO policies and distributed Multi-Version Concurrency Control (MVCC) capabilities to guarantee the isolation and consistency of distributed transactions.

  • Distributed linear scalability. PolarDB-X Lightweight Edition uses a partition policy based on consistent hashing for effective load balancing and hot spot suppression. During scaling, it maintains computation pushdown and data consistency with zero impact on services. Parallel processing and throttling capabilities ensure business continuity during expansion.

  • Global binary logging (Binlog) and globally consistent backups. These features solve the challenges of streaming data from each node of a distributed database to downstream systems and address consistency issues in recovery caused by different backup times across nodes.

Integrated centralized and distributed architecture

  • PolarDB-X Lightweight Edition offers a Standard Edition that is 100% compatible with native MySQL and an Enterprise Edition that is highly compatible with native MySQL. For more information, see MySQL compatibility.

  • When business growth requires distributed scaling, you can perform an in-place (lossless) upgrade from the Standard Edition to the Enterprise Edition. After the upgrade, distributed components can seamlessly connect to the original data nodes for expansion without data migration or application-side modifications.

  • Integrated kernel. It uses distributed technology to optimize the centralized architecture.

Security and stability

  • PolarDB-X Lightweight Edition has passed multiple national-level security certifications. It has a proven track record of successful deployments in the core systems of industries with high security requirements, such as finance and telecommunications.

  • For database security, PolarDB-X Lightweight Edition provides comprehensive security protection. This includes IP whitelists, Secure Sockets Layer (SSL) encryption, transparent data encryption (TDE) at rest, backup encryption, always-encrypted databases, full SQL Audit and link tracing, a three-role mode, and tag-based permissions.

  • PolarDB-X Lightweight Edition provides financial-grade high-availability disaster recovery, ensuring an RPO of 0. It offers a three data centers across two regions architecture to meet Level 5 disaster recovery requirements for the financial industry.

Scenarios

Scenario

Description

Applicable PolarDB-X Lightweight Edition features

High-load, low-latency transactions

Transaction scenarios are common in internet business systems and are a critical component. Business continuity, transactional consistency, and system security are fundamental to the operation of transaction systems. In the internet era, the trend for these systems is toward sustained high-load, low-latency performance.

Centralized data storage

This scenario, also known as data aggregation, corresponds to the operation data store (ODS) layer in an enterprise data architecture. It consolidates data from various business data sources. The main requirements for this scenario are high-concurrency writes, large storage capacity, multi-dimensional queries, and low-cost data egress.

Application-side sharding

In this scenario, a business uses open source components to implement a sharding architecture. This core scenario is characterized by large data volumes, high concurrency, and a strong need for stability. However, the limitations of open source components mean that effective distributed operations and maintenance (O&M) capabilities, such as distributed DDL and scaling, are unavailable.

Transparent distribution.

Rapid distributed transformation

When business volume is about to exceed the capacity of a single-node database, large single tables can cause performance degradation and maintenance difficulties. A distributed transformation, which involves changes to application code and data migration, is required.

Unitized disaster recovery transformation

In industries such as finance and telecommunications, once business volume reaches a certain level, core services must be continuously available to prevent interruptions. These industries are gradually adopting distributed service-oriented transformations to implement a unitized architecture. Each unit is active and handles its own service traffic. This provides data center-level fault isolation and achieves active geo-redundancy.

Cost reduction and efficiency improvement

When business volume stabilizes, the goal is to reduce overall costs through database optimization, such as one-click migration from MySQL and data compression.

Multicloud disaster recovery

Businesses may need to build their own cross-cloud disaster recovery solutions. This need can arise from concerns about vendor lock-in, a desire for controllable technical capabilities, or the ability to recover from failures. The goal is to have a single database solution that can adapt to various scenarios.

Open source and multicloud.