Distributed Database MiddlewareDistributed Database Middleware

Compute
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
Domain Name Service
VPC Endpoint
Cloud Connect
Enterprise Switch
Security & Compliance
Anti-DDoS
Web Application Firewall
Host Security Service
Data Encryption Workshop
Database Security Service
Advanced Anti-DDoS
Data Security Center
Container Guard Service
Situation Awareness
Managed Threat Detection
Compass
Cloud Certificate Manager
Anti-DDoS Service
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GaussDB NoSQL
GaussDB(for MySQL)
Distributed Database Middleware
GaussDB(for openGauss)
Developer Services
ServiceStage
Distributed Cache Service
Simple Message Notification
Application Performance Management
Application Operations Management
Blockchain Service
API Gateway
Cloud Performance Test Service
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
DevCloud
ProjectMan
CodeHub
CloudRelease
CloudPipeline
CloudBuild
CloudDeploy
Cloud Communications
Message & SMS
Cloud Ecosystem
Marketplace
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP License Service
Support Plans
Customer Operation Capabilities
Partner Support Plans
Professional Services
enterprise-collaboration
Meeting
IoT
IoT
Intelligent EdgeFabric
DeveloperTools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Updated at: May 11, 2022 GMT+08:00

Core Functions

Table 1 DDM main functions

Function

Description

Horizontal sharding

Select a sharding key when creating a schema. DDM will generate a sharding rule and horizontally shard data.

Flexible shards configuration

DDM supports both compute and storage scaling. You can add nodes to a DDM instance or scale up its node class. Alternatively, increase shards or data nodes to distribute data from one large table to multiple tables or scale out storage resources. Compute scaling is undetectable to your applications. Storage scaling minimizes service interruption to seconds.

Distributed transactions

DDM processes three types of transactions, including single-shard, FREE, and Extended Architecture (XA).

  • Single-shard: Transactions cannot be committed across shards.
  • FREE: Transactions are committed across shards. A transaction is not rolled back when it fails to be executed by any shard, causing data inconsistency.
  • XA: Transactions are committed in two phases. If a transaction fails to be executed by any shard, all work done will be rolled back to ensure data consistency.

Data import and export

External data can be imported into DDM instances to help you migrate databases to the cloud, and DDM instance data can be exported based on service requirements.

For details, see Data Migration.

Highly compatible SQL syntax

DDM is highly compatible with the MySQL licenses and syntax.

Read and write splitting

Read and write requests can be split without modifying the application code, and this is totally transparent to applications. You only need to create read replicas for a MySQL instance associated with your DDM instance and configure a read policy, so a large number of concurrent requests can read data from those read replicas.

Global sequence

DDM allows you to use globally unique, distributed, and ascending SNs as primary or unique keys or to meet your requirements in specific scenarios.

Online monitoring

The read/write ratio and slow query logs are monitored on the console, helping you detect resource and performance bottlenecks as fast as possible.

DDM console

The DDM console enables you to manage and maintain DDM instances and schemas.

Related Services

  • VPC

    DDM instances are deployed in an isolated VPC and you can configure IP addresses and bandwidth for accessing these DDM instances and use a security group to control access to them.

  • ECS

    You can access your DDM instance through an ECS.

  • Relational Database Service (RDS)

    After buying a DDM instance, you can associate it with RDS for MySQL instances in the same VPC to obtain separated storage resources.

  • GaussDB(for MySQL)

    After buying a DDM instance, you can associate it with GaussDB(for MySQL) instances in the same VPC to obtain separated storage resources.

  • Cloud Eye

    Cloud Eye monitors DDM metrics and sends notifications in the event of an alarm or event.

  • Cloud Trace Service (CTS)

    CTS records operations on DDM resources for later query, audit, and backtrack.

  • Elastic Load Balance (ELB)

    ELB distributes incoming traffic to multiple backend servers based on the forwarding policy to balance workloads. So, it can expand external service capabilities of DDM and eliminate single points of failure (SPOFs) to improve service availability.

Figure 1 Relationship among DDM, VPC, ECS, and data nodes

Did you find this page helpful?

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel