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.

Yearly/monthly billing available for replica sets. Enjoy 50% off with a 3-year subscription.

Product Advantages
  • Secure

    Provides multiple layers of security protection (including VPC, subnet, security group, DDoS protection) and SSL secure access for complete protection against network attacks.

  • Scalable

    Provides smooth scaling without interrupting your services or need to modify code. Distributed architecture scales up storage with easy addition of more nodes to meet your in-the-moment requirements.

  • Reliable

    Provides two HA architectures: replica set and cluster. Automatically creates multiple copies of your data for fast and assured recovery. Restores data with just a few clicks to avoid data loss caused by operator error.

  • Effective O&M

    Allows you to restart, back up, and restore DB instances with just a few clicks on the DDS management console and monitor CPU utilization and IOPS in real time.

Application Scenarios
  • Gaming Applications

  • Mobile Apps

  • IoT Industry

  • Big Data

Gaming Applications

Gaming Applications

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 the need to use SQL JOIN statements, reducing database processing loads and application development complexity. Flexible schemas also facilitate rapid development and iteration.

Easily Copes with Service Pressure

Sharded clusters provide enough capacity to store data into the TB range.

Mobile Apps

Mobile Apps

Mobile apps, including those for shared ride services, live TV, and social media platforms, need to collect user 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.


Stores Location Data

DDS can store geographical location data.

Supports 2D Geospatial Indexing

DDS provides 2D geospatial indexes to calculate geographical locations, text indexes to support text search, and TTL settings to limit the lifespan of 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

Many organizations need to process and store data into the TB range, requiring data to be written to databases in real time and dynamic analysis capabilities in big data computing.



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

Excellent Scalability

DDS DB instances can be scaled up to support growing services and data volumes in content management systems.


  • Various Data Types

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

  • Three Architectures

    Provides cost-effective single nodes. 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.

Three Architectures

  • Single Node

    The single node architecture is suitable for storing non-core data, and is often the preferred choice for environment testing, learning and training, and certain non-critical 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. This design helps you efficiently cope with scenarios that require high concurrency.

  • 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 becomes 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 enables higher levels of security over in-transit 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

Provides Scalable, On-demand Computing Resources

Learn More