Document Database Service

Document Database Service (DDS) is a MongoDB-compatible database service that is secure, highly available, reliable, scalable, and easy to use. It provides a variety of functions including DB instance creation, scaling, redundancy, backup, restoration, monitoring, and alarm reporting. Currently, DDS provides three DB instance types: cluster, replica set, and single node.

Replica sets support the yearly/monthly billing mode. 50% off with a 3-year subscription  

Product Advantages
  • Secure

    Provides multi-layer security protection systems, including VPC, subnet, security group, DDoS protection, and SSL secure access, to defend against network attacks.

  • Scalable

    Uses the distributed architecture. Scales up storage by adding nodes to meet your service requirements. Provides smooth scaling without interrupting your services or modifying code.

  • Reliable

    Uses two types of the HA architecture: replica set and cluster. Automatically creates multiple copies for data recovery. One-click recovery avoids data loss caused by misoperations.

  • Easy O&M

    Provides a management console. You can restart, back up, and restore DB instances with just a few clicks and monitor CPU utilization and IOPS in real time.

Application Scenarios
  • Gaming Application

  • Mobile Apps

  • IoT Industry

  • Big Data

Gaming Application

Gaming Application

With DDS, you can store game data for millions of players and use distributed DDS clusters to cope with high loads during peak gaming hours.


Supports Embedded Documents

Embedded documents eliminate JOIN, reducing the complexity of application development. Flexible schemas also facilitate rapid development and iteration.

Easy to Cope with Peak Pressure

Sharded clusters are suitable for storing TB-level data.

Mobile Apps

Mobile Apps

Mobile apps, including those for shared taxis, live TV, and social media platforms, need to collect users' location information, and store, query, and analyze various types of complex data. DDS is compatible with MongoDB, which supports unstructured data models and provides powerful query capabilities.


Supports Location Data Storage

DDS can store geographical location.

Supports 2D Geospatial Indexes

DDS provides 2D geospatial indexes to calculate geographical locations, text indexes to support text search, and TTL indexes to expire documents.

IoT Industry

IoT Industry

Intelligent IoT terminals need to collect various types of data, store device logs, and analyze information in multiple dimensions. In recent years, IoT services have grown rapidly, with huge volumes of data and increasing access traffic that require horizontal expansion capabilities for data storage.


High Write Performance

DDS sharded cluster provides high write performance to meet the requirements of terabyte-scale databases.

High Performance and Scalability

DDS supports applications with high QPS rates, and its sharding architecture can be scaled in or out to flexibly cope with application changes.

Big Data

Big Data

The big data industry needs to process TB-level data and has requirements for data storage, real-time online writing of data to databases, and big data computing and dynamic analysis.



With a complete data analysis utility, you can query statements or scripts, and distribute requests to DDS.

Excellent Scalability

DDS can be scaled up to support content management systems with growing services and data.


  • Various Data Types

    Stores unstructured and complex types of data and provides powerful query capabilities.

  • Three Architectures

    Single nodes are cost-effective. Three-node replica sets ensure high availability. Distributed clusters support horizontal scaling.

Various Data Types

  • DDS is compatible with MongoDB and supports JSON/BSON data, regular query, array query, and embedded document query to meet various query scenarios.

Three Architectures

  • Single Node

    The single node is suitable for storing non-core data, and is preferred for environment testing, learning and training, and internal enterprise systems.

  • Cluster

    A DDS sharded cluster consists of mongos, config, and shard. Data read and write requests are forwarded by mongos, while mongos reads configuration settings from config and allocates the read and write requests to shards, making it easy to cope with high concurrency scenarios.

  • Replica Set

    A replica set consists of three nodes: primary, secondary, and hidden. If the primary node is faulty, the secondary node assumes its role. If the secondary node is unavailable, a hidden node will take over services to ensure high availability.

  • Visualized O&M Platform

    Provides a visualized database management and monitoring platform.

  • Security and Backup

    Provides multi-layer protection for data security and works with OBS to restore data quickly.

Visualized O&M Platform

  • Instance Management

    DDS provides DB instance creation, backup, and restoration functions, and log and parameter management.

  • Visualized Monitoring

    DDS provides real-time monitoring information about CPU utilization, IOPS, the number of active connections, and disk usage, and allows you to customize alarm rules.

Security and Backup

  • VPC Access

    VPCs allow you to create private, isolated virtual networks

  • Security Group

    Security groups define IP address and port rules, enhancing the security of access between DDS and other services.

  • SSL Access

    SSL encryption ensures the security of transmitted data.

  • Backup and Restore

    The automated backup policy is enabled by default. Data is automatically backed up every day and stored in OBS. You can restore backups to a new instance quickly.

Usage Guides

Create an Account and Experience HUAWEI CLOUD for Free

Register Now