Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Notes and Constraints

Updated on 2025-02-06 GMT+08:00

Before using DDS, you must familiarize yourself with the constraints of different types of DDS DB instances to help you select the instance architectures that best suit your business scenarios.

Table 1 Constraints on cluster instances

Function

Constraints

Instance Deployment

Cluster DB instances cannot be deployed in all regions and AZs.

Database Minor Version Upgrade

  • The instance version must be 3.4, 4.0, 4.2, 4.4 or 5.0.
  • If the instance status is abnormal or the instance is being operated, the upgrade cannot be performed.
  • The upgrade cannot be performed if there are abnormal instance nodes.

Instance Modifications

  • Scaling Up Storage Space
    NOTE:
    • Only shard nodes can be scaled up. dds mongos and config nodes cannot be scaled up.
    • Storage space can only be scaled up. It cannot be scaled down.
    • If the storage space is about to be used up, the database is set to read-only, and data cannot be modified.
    • The maximum storage space of a single shard is 5000 GB. If the storage space exceeds 5000 GB, scale-up will fail.
  • Adding and Reverting Instance Nodes
    NOTE:
    • You can add nodes for a DB instance only when the DB instance is normal.
    • You can roll back a node only when the node fails to be added.
  • Changing a DB Instance Class
    NOTE:
    • When the instance class is being changed, a primary/secondary switchover may occur once or twice and the database connection will be interrupted each time for up to 30s. You are advised to change the class during off-peak hours to reduce impacts and ensure that the service system of your client can reconnect to the database if the connection is interrupted.

Data Backups

Physical and snapshot backup methods are supported.

Data Restorations

  • Backup data can be restored to a new DB instance.
  • Backup data can be restored to the original DB instance.
  • Backup data can be restored to a specified point in time.
  • Backup data can be restored to an on-premises database.

Data Security

SSL encryption can be set.

NOTE:

Enabling or disabling SSL will cause instances to restart. Exercise caution when performing this operation.

Data Migration

DDS provides multiple migration schemes to migrate MongoDB databases in different service scenarios. For details, see Migration Scheme Overview.

  • Migrating data using the export and import tools
  • Migrating data from other cloud MongoDB to DDS
  • Migrating data from on-premises MongoDB to DDS
  • Migrating data from ECS-hosted MongoDB to DDS
  • Migrating data from DDS to MongoDB

Logs

Error logs, slow query logs, and audit logs are supported.

Billing

DDS allows you to pay only for what you use. There is no minimum fee requirement. For more information, see Billing.

Connections

  • You can enable shard and config IP addresses.
  • You can change a private IP address of a DB instance.
  • You can change a database port.
    NOTE:

    The shard node port is 8637, and the config node port is 8636, which cannot be changed.

  • You can apply for and modify a private domain name for database connections.

Recycle Bin

  • Instances in the recycle bin are retained for 7 days by default.
  • Up to 100 instances can be moved to the recycle bin. Once the recycle bin is full, you can still delete instances, but they cannot be placed in the recycle bin.
Table 2 Constraints on replica set instances

Function

Constraints

Instance Deployment

Replica set DB instances cannot be deployed in all regions and AZs.

Database Minor Version Upgrade

  • The instance version must be 3.4, 4.0, 4.2, 4.4 or 5.0.
  • If the instance status is abnormal or the instance is being operated, the upgrade cannot be performed.
  • The upgrade cannot be performed if there are abnormal instance nodes.
  • Read replicas do not support minor version upgrade.

Instance Modifications

  • Scaling Up Storage Space
    NOTE:
    • Storage space can only be scaled up. It cannot be scaled down.
    • If the storage space is about to be used up, the database is set to read-only, and data cannot be modified.
  • Adding and Reverting Instance Nodes
    NOTE:
    • You can add nodes for a DB instance only when the DB instance is normal.
    • You can roll back a node only when the node fails to be added.
  • Deleting Instance Nodes or Read Replicas
    NOTE:
    • Nodes cannot be deleted from instances that have abnormal nodes.
  • Changing a DB Instance Class
    NOTE:
    • When the instance class is being changed, a primary/secondary switchover may occur once or twice and the database connection will be interrupted each time for up to 30s. You are advised to change the class during off-peak hours to reduce impacts and ensure that the service system of your client can reconnect to the database if the connection is interrupted.

Data Backups

Physical and snapshot backup methods are supported.

Data Restorations

  • Backup data can be restored to a new DB instance.
  • Backup data can be restored to the original DB instance.
  • Backup data can be restored to a specified point in time.
  • Backup data can be restored to an on-premises database.

Data Security

SSL encryption can be set.

NOTE:

Enabling or disabling SSL will cause instances to restart. Exercise caution when performing this operation.

Data Migration

DDS provides multiple migration schemes to migrate MongoDB databases in different service scenarios. For details, see Migration Scheme Overview.

  • Migrating data using the export and import tools
  • Migrating data from other cloud MongoDB to DDS
  • Migrating data from on-premises MongoDB to DDS
  • Migrating data from ECS-hosted MongoDB to DDS
  • Migrating data from DDS to MongoDB

Logs

  • Error logs, slow query logs, and audit logs are supported.
  • Read replicas do not support slow query logs and error logs.

Billing

DDS allows you to pay only for what you use. There is no minimum fee requirement. For more information, see Billing.

Connections

  • You can configure access across CIDR blocks.
  • You can change a private IP address of a DB instance.
  • You can change a database port.
    NOTE:

    The default port is 8635. You can change the port after the instance is created.

  • You can apply for and modify a private domain name for database connections.

Recycle Bin

  • Instances in the recycle bin are retained for 7 days by default.
  • Up to 100 instances can be moved to the recycle bin. Once the recycle bin is full, you can still delete instances, but they cannot be placed in the recycle bin.
Table 3 Constraints on single node instances

Function

Constraints

Instance Deployment

Single node DB instances cannot be deployed in all regions and AZs.

Database Minor Version Upgrade

Not supported.

Instance Modifications

  • Scaling Up Storage Space
    NOTE:
    • Storage space can only be scaled up. It cannot be scaled down.
    • If the storage space is about to be used up, the database is set to read-only, and data cannot be modified.
  • Changing a DB Instance Class
    NOTE:
    • When the instance class is being changed, the database connection will be interrupted for 5 to 10 minutes. You are advised to change the class during off-peak hours to reduce impacts and ensure that the service system of your client can reconnect to the database if the connection is interrupted.

Data Backups

Logical and snapshot backup methods are supported.

Data Restorations

  • Backup data can be restored to a new DB instance.
  • Backup data can be restored to the original DB instance.
  • Backup data can be restored to an on-premises database.

Data Security

SSL encryption can be set.

NOTE:

Enabling or disabling SSL will cause instances to restart. Exercise caution when performing this operation.

Data Migration

DDS provides multiple migration schemes to migrate MongoDB databases in different service scenarios. For details, see Migration Scheme Overview.

  • Migrating data using the export and import tools
  • Migrating data from other cloud MongoDB to DDS
  • Migrating data from on-premises MongoDB to DDS
  • Migrating data from ECS-hosted MongoDB to DDS
  • Migrating data from DDS to MongoDB

Logs

Error logs, slow query logs, and audit logs are supported.

Billing

DDS allows you to pay only for what you use. There is no minimum fee requirement. For more information, see Billing.

Connections

  • You can change a private IP address of a DB instance.
  • You can change a database port.
    NOTE:

    The default port is 8635. You can change the port after the instance is created.

  • You can apply for and modify a private domain name for database connections.

Recycle Bin

  • Instances in the recycle bin are retained for 7 days by default.
  • Up to 100 instances can be moved to the recycle bin. Once the recycle bin is full, you can still delete instances, but they cannot be placed in the recycle bin.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback