Distributed Database Middleware

Distributed Database Middleware (DDM) removes the capacity and performance bottlenecks of databases and solves distributed expansion issues. DDM supports sharding, read/write isolation, and elastic scaling, enabling high concurrent access to mass data and improving database read/write performance.

Starting from ¥1.77/hour

Learn more
Product Advantages
  • High-Performance

    Experience PB-level data access with 10 times as many database connections as single-node databases, millions of concurrent connections supported, and better read/write performance improvement than is possible with single-node.

  • Elastic

    Enjoy improved application processing capabilities through read/write isolation, linear horizontal sharding, automatic data rebalancing, and hitless smooth scale-out.

  • Reliable

    Secure your data with cross-AZ clusters with automatic second-level fault recovery and multiple security policies for databases and user privacy.

  • Ease-to-Use

    Manage your database with ease with MySQL compatibility and read/write isolation that requires no code modification. The DDM console makes O&M and monitoring simple and easy.

Application Scenarios
  • Internet

  • IoT

  • Indexing

  • Cloudification

Internet

Internet

DDM improves the processing efficiency of databases, overcoming performance bottlenecks caused by increasing traffic from e-commerce, financial, gaming, and social applications.

Advantages

Linear Horizontal Scale-Out

Automatic horizontal sharding; linear improvement of application processing capabilities.

Smooth Scale-Out

Addition of RDS DB instances with ease; automatic data rebalancing.

High Read/Write Performance

PB-level data access; 10 times more database connections than single-node databases; millions of concurrent connections.

Related Services

ecs

elb

mysql

IoT

IoT

DDM provides mass storage but reduces storage costs by improving database concurrency and access rates.

Advantages

High Concurrent Write

DDM meets mass data storage and real-time data write requirements.

Quick Query

Optimized sharding rules improve the query rate by many times.

Cost-Effective

Data is evenly distributed on multiple RDS DB instances, lowering data storage costs.

Related Services

dms

dcs

mysql

Indexing

Indexing

DDM enables you to manage real-time data at the 100-million to trillion level by using indexes, such as photos, documents, and videos.

Advantages

Quick Retrieval

Quick retrieval of data at the trillion level; less data for sharding; improved service efficiency.

Elastic Scaling

Automatic horizontal sharding; hitless smooth scale-out.

Related Services

ecs

dcs

mysql

Cloudification

Cloudification

DDM provides governments, large enterprises, and banks with the optimal solution for mass data storage and high concurrent connections.

Advantages

Reliable

Cross-AZ HA clusters with automatic second-level fault recovery.

Secure

Multiple security measures, including using VPCs, subnets, security groups, SSL connections, and audit logs.

Online Expansion

Automatic horizontal sharding; linear improvement of application processing capabilities.

Related Services

vpc

cts

mysql

Functions

  • Horizontal Sharding

    Automatically completes horizontal sharding of databases and tables.

  • Smooth Scale-Out

    Supports online expansion of database storage capacity.

  • Read/Write Isolation

    Supports database read/write isolation.

Horizontal Sharding

  • Flexible choice of sharding

    You can choose whether to distribute data across a pool of databases (or called shards) using horizontal sharding. Horizontally sharded databases achieve higher scalability and availability than unsharded databases.

  • Custom sharding rules

    Sharding is user-defined. You can choose a sharding key and sharding rules after creating a DDM instance.

Smooth Scale-Out

  • Online expansion

    You can migrate data on existing RDS DB instances to newly added RDS DB instances.

  • Data rebalancing

    DDM automatically rebalances data without interrupting services.

Read/Write Isolation

  • No impact on applications

    With just a few clicks on the DDM console, you can isolate read and write operations. No changes to application code are required.

  • Unique Global Sequence

    Provides unique, distributed, and ascending global sequences.

  • Distributed and HA

    Supports online expansion of database storage capacity.

  • Monitoring and O&M

    Monitors instances online and simplifies O&M, saving costs.

Unique Global Sequence

  • Adding a primary key

    You can add the primary key auto_increment to automatically generate unique integer numbers for columns in a distributed database.

Distributed and HA

  • Cluster-based

    DDM and RDS can be deployed in clusters and provide HA capabilities.

  • HA

    Cross-AZ HA clusters support automatic second-level fault recovery.

  • Distributed

    Data can be read from and written into different cluster nodes.

Monitoring and O&M

  • Online monitoring

    DDM helps you discover resource and performance bottlenecks by monitoring the read/write ratio and slow SQL in real time.

  • Easy O&M

    With just a few clicks on the DDM console, you can manage and maintain DDM instances, schemas, logical tables, and sharding rules.

Recommended Configurations

Basic

4C8G

Basic

4C8G

Features

  • Multi-specification options
  • Millisecond-level response
  • Special pricing

Scenarios

  • Startups
  • Microservice transformation
¥1.77 /hour

Advanced

32C64G

Advanced

32C64G

Features

  • Cost-effectiveness
  • Hundreds of thousands of concurrent connections
  • Fast large-scale data querying

Scenarios

  • Comprehensive enterprise services
¥16.08 /hour

Premium

64C128G

Premium

64C128G

Features

  • Ultra-large specification options
  • Fast SQL response
  • PB-level data volumes

Scenarios

  • Refined services for mass data
¥31.34 /hour
Quick Configuration

Create a DDM Instance

Steps

1. Log in to the DDM console. 2. Click Create DDM Instance. On the displayed page, configure basic information and network parameters. 3. Click Apply Now to create a DDM instance.

Note

The DDM instance must belong to the same Virtual Private Cloud (VPC) and subnet as the RDS and the Elastic Cloud Server (ECS) where the application using DDM runs.

Import an RDS DB Instance

Steps

1. Log in to the DDM console. 2. Click Import RDS DB Instance to select the RDS DB instance that will be used for DDM. 3. Click OK to import the RDS DB instance.

Note

Only imported RDS DB instances can be monitored by DDM and used to create schemas.

Access a DDM Instance

Steps

1. Log in to the DDM console and obtain the access address, port number, and account information of the chosen DDM instance. 2. Access the DDM instance through a client or program driver. 3. Run SQL commands to initiate database operations.

Note

The DDM instance and the ECS where the application using DDM runs must belong to the same VPC and subnet.

Migrate Data

Steps

1. Install the data migration tool on the chosen ECS. 2. Export data files and upload them to the ECS. 3. Import the data to DDM.

Note

If source data is stored in RDS, you can migrate the source data to DDM and release some RDS resources to reduce waste.

Usage Guides

Create an Account and Experience HUAWEI CLOUD for Free

Register Now