Document Database Service
Document Database Service
All results for "
" in this service
All results for "
" in this service
What's New
Function Overview
Service Overview
Infographics
What Is DDS?
Advantages
Comparison Between DDS and On-Premises Databases
Typical Application Scenarios
Functions and Features
System Architecture
Cluster
Replica Set
Single Node
Instances
DB Engines and Versions
Instance Specifications
Cluster
Replica Set
Single Node
Read Replica
Pricing Details
Basic Concepts
Instance
Cluster
Database Parameter Template
Region and AZ
DB Connections
Compatibility
Versions
Details
Permissions Management
Related Services
Change History (Introduction) Europe Site
Getting Started
Overview
Getting Started with Clusters
Buying a Cluster Instance
Quick Config
Custom Config
Connecting to a Cluster Instance
Connection Methods
Connecting to a Cluster Instance over a Private Network
Configuring Security Group Rules
Connecting to a Cluster Instance Using Mongo Shell (Private Network)
Connecting to a Cluster Instance over a Public Network
Binding and Unbinding an EIP
Configuring a Security Group
Connecting to a Cluster Instance Using Mongo Shell (Public Network)
Connecting to a Cluster Instance Using Robo 3T
Connecting to a Cluster Instance Using Program Code
Java
Python
Getting Started with Replica Sets
Buying a Replica Set Instance
Quick Config
Custom Config
Connecting to a Replica Set Instance
Connection Methods
Connecting to a Replica Set Instance over a Private Network
Configuring Security Group Rules
Connecting to a Replica Set Instance Using Mongo Shell
Connecting to Read Replicas Using Mongo Shell
Connecting to a Replica Set Instance over a Public Network
Binding and Unbinding an EIP
Configuring Security Group Rules
Connecting to a Replica Set Instance Using Mongo Shell (Public Network)
Connecting to a Replica Set Instance Using Robo 3T
Connecting to a Replica Set Instance Using Program Code
Java
Python
Getting Started with Single Nodes
Buying a Single Node Instance
Quick Config
Custom Config
Connecting to a Single Node Instance
Connection Methods
Connecting to a Single Node Instance over a Private Network
Configuring a Security Group
Connecting to a Single Node Instance Using Mongo Shell (Private Network)
Connecting to a Single Node Instance over a Public Network
Binding and Unbinding an EIP
Configuring a Security Group
Connecting to a Single Node Instance Using Mongo Shell (Public Network)
Connecting to a Single Node Instance Using Robo 3T
Connecting to a Single Node Instance Using Program Code
Java
Python
Logging In to the DDS Console
Example: Buying and Connecting to a DDS Instance
Connecting to an Instance from an ECS
Connecting to a DDS Instance Through an EIP
Change History (Getting Started) Europe Site
User Guide
Migrating Data
Migration Scheme Overview
Migrating Data Using DRS
Migrating Data Using mongoexport and mongoimport
Migrating Data Using mongodump and mongorestore
Performance Tuning
Parameters
Read and Write Performance
High CPU Usage
High Storage Usage
High Memory Usage
Load Imbalance of Cluster Instances
Slow Request Locating
Statement Optimization
Sharding
Permissions Management
Creating a User and Granting Permissions
Creating a Custom Policy
Instance Lifecycle Management
Instance Statuses
Exporting Instance Information
Restarting an Instance or a Node
Deleting a Pay-per-Use Instance
Recycling an Instance
Modifying the Recycling Policy
Rebuilding an Instance
Instance Modifications
Changing an Instance Name
Changing an Instance Description
Upgrading a Minor Engine Version
Upgrading a Major Engine Version
Scaling Up Storage Space
Scaling Up a Cluster Instance
Scaling Up a Replica Set Instance
Scaling Up a Read Replica
Scaling Up a Single Node Instance
Changing an Instance Class
Changing a Cluster Instance Class
Changing a Replica Set Instance Class
Changing a Single Node Instance Class
Changing Cluster Instance Nodes
Adding Cluster Instance Nodes
Reverting Cluster Instance Nodes
Changing Replica Set Instance Nodes
Adding Replica Set Instance Nodes
Adding Read Replicas to a Replica Set Instance
Manually Switching the Primary and Secondary Nodes of a Replica Set
Configuring the Maintenance Window
Changing an AZ
Data Backups
Backup Principles and Solutions
Configuring an Automated Backup Policy
Configuring an Incremental Backup Policy
Configuring the Cross-Region Backup Policy
Creating a Manual Backup
Deleting a Manual Backup
Deleting an Automated Backup
Downloading a Backup File
Using OBS Browser+
Using Current Browser
Using Download URL
Data Restorations
Solutions
Restoring Data to a New Instance
Restoring a Cluster Backup to a New Instance
Restoring a Replica Set Backup to a New Instance
Restoring a Single Node Backup to a New Instance
Restoring Data to the Original Instance
Restoring a Cluster Backup to the Original Instance
Restoring a Replica Set Backup to the Original Instance
Restoring a Single Node Backup to the Original Instance
Restoring Data to a Point in Time
Restoring a Cluster Instance to a Point in Time
Restoring a Replica Set Instance to a Point in Time
Restoring a Replica Set Database and Table to a Point in Time
Restoring Data to an On-Premises Database
Restoring a Cluster Backup to an On-premises Database
Overview
Directories and Configurations
Restoring the configsvr Replica Set
Restoring the shardsvr1 Replica Set
Restoring the shardsvr2 Replica Set
Restoring the mongos Node
Checking the Cluster Status
Restoring a Replica Set Backup to an On-Premises Database
Parameter Template Management
Overview
Creating a Parameter Template
Modifying a Parameter Template
Viewing Parameter Change History
Exporting a Parameter Template
Comparing Parameter Templates
Replicating a Parameter Template
Resetting a Parameter Template
Applying a Parameter Template
Viewing Application Records of a Parameter Template
Modifying the Description of a Parameter Template
Deleting a Parameter Template
Connection Management
Configuring Cross-CIDR Access
Enabling IP Addresses of Shard and Config Nodes
Changing a Private IP Address
Changing a Database Port
Applying for and Modifying a Private Domain Name
Database Usage
Creating a Database Account Using Commands
Creating a Database Using Commands
Which Commands are Supported or Restricted by DDS?
Data Security
Enabling or Disabling SSL
Resetting the Administrator Password
Changing a Security Group
Monitoring and Alarm Reporting
DDS Metrics
Configuring Monitoring by Seconds
Viewing DDS Metrics
Configuring Alarm Rules
Managing Alarm Rules
Auditing
Key Operations Recorded by CTS
Viewing Events
Logs
Log Reporting
Error Logs
Slow Query Logs
Audit Logs
Viewing Audit Logs on the LTS Console
Viewing Audit Logs on the DDS Console
Task Center
Billing
Renewing Instances
Changing the Billing Mode from Pay-per-Use to Yearly/Monthly
Changing the Billing Mode from Yearly/Monthly to Pay-per-Use
Unsubscribing from a Yearly/Monthly Instance
Tags
Adding or Modifying a Tag
Filtering Instances by Tag
Deleting a Tag
Quotas
DDS Usage Suggestions
Design Rules
Development Rules
Change History
Developer Guide
Database Usage Suggestions
Basic Commands
Query
Write/Update
Delete
Development Rules
Design Rules
Database Usage
Connecting a Database
Creating and Managing Databases
Creating and Managing Collections
Creating and Managing Indexes
Application Development
Development Process
Common Parameter Configuration on the Driver Side
Java-based Development
Driver Package and Environment Dependency
Connecting to a Database
Accessing a Database
Complete Example
Python-based Development
PyMongo Package
Connecting to a Database
Accessing a Database
Complete Example
Golang-based Development
Driver Package
Connecting to a Database
Accessing a Database
Complete Example
More Tutorials
Managing Database Permissions
Default Permission Mechanism
Role Management
Built-In Roles
User-Defined Roles
Creating and Managing Roles
User Management
Creating a User
Updating a User
Deleting a User
System Collections
Common Operations
Common CRUD Operations
Best Practices
Overview
Common Methods for Connecting to a DDS Instance
How Do Replica Sets Achieve High Availability and Read/Write Splitting?
Sharding
How Do I Improve DDS Performance by Optimizing SQL Statements?
How Do I Prevent the Mongos Cache Problem?
How Do I Solve the High CPU Usage Issue?
Creating a User and Granting the Read-Only Permission to the User
Security White Paper
Security White Paper
Performance White Paper
DDS Community Edition (General-Purpose)
Test Method
Test Data
Cluster
Replica Set
DDS Community Edition (Enhanced II)
Test Method
Test Data
Cluster
Replica Set
API Reference
Before You Start
Overview
API Calling
Endpoints
Constraints
Concepts
API Overview
Calling APIs
Making an API Request
Authentication
Returned Values
Getting Started
APIs V3.0 (Recommended)
Querying the API Version
Querying the API Version List
Querying API Version Information
Querying Database Version Information
Querying Database Specifications
Querying the Database Disk Type
DB Instance Management
Creating a DB Instance
Restarting a DB Instance
Deleting a DB Instance
Querying Instances and Details
Scaling Up Storage Space
Adding Nodes for a Cluster Instance
Modifying DB Instance Specifications
Performing a Primary/Secondary Switchover in a Replica Set Instance
Enabling or Disabling SSL
Modifying a DB Instance Name
Changing an Instance Description
Changing a Database Port
Changing a Security Group
Binding an EIP
Unbinding an EIP
Changing a Private IP Address
Creating Shard or Config IP Addresses of a Cluster Instance
Configuring Cross-CIDR Access for a Replica Set
Querying AZs to Which an Instance Can Be Migrated
Migrating a DB Instance to Another AZ
Adding Nodes to a Replica Set Instance
Adding a Read Replica to an Instance
Connection Management
Querying Sessions of an Instance Node
Killing Sessions of an Instance Node
Querying the Number of Connections to an Instance Node
Backup and Restoration
Creating a Manual Backup
Deleting a Manual Backup
Querying the Backup List
Querying an Automated Backup Policy
Setting an Automated Backup Policy
Restoring Data to a New DB Instance
Obtaining the Link for Downloading a Backup File
Querying the Restoration Time Ranges
Obtaining the List of Databases That Can Be Restored
Obtaining the List of Database Collections That Can Be Restored
Restoring Data to the Original DB Instance
Restoring Databases and Tables to a Point in Time
Parameter Configuration
Obtaining Parameter Templates
Creating a Parameter Template
Deleting a Parameter Template
Obtaining Details About a Parameter Template
Modifying a Parameter Template
Applying a Parameter Template
Obtaining Parameters of a Specified DB Instance
Modifying Parameters of a Specified DB Instance
Log Information Queries
Querying Database Slow Logs
Obtaining Links for Downloading Slow Query Logs
Showing Original Slow Logs
Querying Database Error Logs
Obtaining Links for Downloading Error Logs
Configuring SQL Audit
Querying SQL Audit Policy
Obtaining the Audit Log List
Obtaining Links for Downloading Audit Logs
Tag Management
Querying Resources by Tag
Adding or Deleting Resource Tags in Batches
Querying Resource Tags
Querying Tags in a Specified Project
Managing Databases and Users
Creating a Database User
Creating a Database Role
Querying Details About Database Users
Querying the Database Role List
Changing the Password of a Database User
Checking the Password for Logging In to a Database
Querying Cluster Balancing Settings
Enabling or Disabling Cluster Balancing
Setting the Activity Time Window for Cluster Balancing
Deleting a Database User
Deleting a Database Role
Quota Management
Querying Resource Quotas
Task Management
Obtaining Information About a Task with a Specified ID
API V3 (Unavailable Soon)
Querying All Instance Specifications
Examples
Querying the DB Instance List
Changing a DB Instance Name
Deleting a DB Instance
Permissions Policies and Supported Actions
Introduction
DDS Actions
Appendix
Abnormal Request Results
Status Code
Error Code
Obtaining a Project ID
DDS Metrics
Change History (European Sites)
SDK Reference
SDK Overview
FAQs
Product Consulting
What Is the Relationship Between DDS and MongoDB Community Edition?
What Are the Differences Between DDS and GaussDB(for Mongo)?
What Precautions Should Be Taken When Using DDS?
What Is the Availability of DDS DB Instances?
Will My DDS DB Instances Be Affected by Other Users' DDS DB Instances?
Does DDS Support Multi-AZ Deployment?
Can I Change the VPC for a Created Instance?
Can I Change the Region for a Created Instance?
What Is Hidden Node?
Database Versions
Does DDS Support Version Upgrade?
Resource and Disk Management
Which Items Occupy the Storage Space of DDS Instances?
Which Types of Logs and Files Occupy DDS DB Instance Storage Space?
Why Is the Storage Space Usage Displayed on the GUI Smaller Than the Actual Usage?
Why Does Available Disk Space Not Increase After Data Is Deleted?
Why Is the Resident Memory of a 4 vCPUs/8 GB Memory Replica Set Instance Only 4 GB?
Capacity Expansion and Specification Changes
Can a DDS Instance Type Be Changed?
Can Nodes Be Added to DDS Instances?
Is DDS Available When Nodes Are Being Added?
Database Performance
When Will a Primary/Standby Switchover Be Triggered for a Cluster or Replica Set?
High Storage Usage
What Is the Time Delay for Primary/Secondary Synchronization in a Replica Set?
How Is Data Transferred Between the Primary and Secondary Nodes of a Replica Set?
How Do I Clear an Alarm Saying the Shard Memory Usage Exceeds 90%?
What Can I Do If a Query Error Is Reported After Data Is Written Into the DDS Cluster?
Database Permissions
What Permissions Does User root Have?
Creation and Deletion
How Do I Select Instance Specifications and Nodes?
Why Is an Instance Not Displayed on the Console After It Is Created?
Can I Use a Template to Create DDS DB Instances?
Why Is Data Missing from My Database?
Will My Backups Be Deleted If I Delete My Cloud Account?
What Are the Differences Between Instance Deletion and Unsubscription?
Database Connection
What Should I Do If I Fail to Connect to a DDS Instance?
What Can I Do If the Number of Connections of an Instance Reaches Its Maximum?
How Do I Query and Limit the Number of Connections?
What Should I Do If the ECS and DDS Are Deployed in Different VPCs and They Cannot Communicate with Each Other?
Do Applications Need to Support Automatic Reconnecting to the DDS Database?
How Do I Create and Log In to an ECS?
Installing a Client
How Can I Install a MongoDB Client?
How Do I Install Robo 3T?
Database Usage
How Do I View the Primary/Standby Nodes of a Replica Set Instance?
Can I Delete an Index That Fails to Be Created in DDS?
Does DDS Delete Expired Data Using TTL Indexes?
How Do I Use MapReduce Commands?
Does DDS Support the $round Function?
How Do I Manage Balancers?
Database Migration
Does DDS Support Cross-Region Migration?
How Do I Migrate DDS Databases Between Different Accounts?
Database Storage
How Does DDS Store Data?
What Should I Do If My Data Exceeds the Database Storage Space of a DDS Instance?
Why Does a DDS DB Instance Become Read-only?
Database Parameters
Can I Change the Time Zone of a DDS Instance?
What DB Instance Monitoring Metrics Do I Need to Pay Attention To?
How Do I Enable JavaScript?
Does DDS Support Majority Read Concern?
Backup and Restoration
Will I Be Charged for Manual Backups of Deleted DB Instances?
How Do I Back Up DDS Databases to an ECS?
How Long Does DDS Store Backup Data For?
How Do I Retrieve Lost DDS Backup Data?
Network Security
What Security Protection Policies Does DDS Have?
Do I Need to Use DDS in a VPC?
How Do I Ensure the Security of DDS in a VPC?
Dos DDS Supports IPv6 Subnets?
Monitoring and Alarm
What DB Instance Monitoring Metrics Do I Need to Pay Attention To?
What Should I Do If I Cannot Find Common Monitoring Items When Configuring DDS Alarm Rules?
How Often Does DDS Collect Metrics?
Change History (FAQs) Europe Site
Troubleshooting
DDS Instance Node Fault Handling Mechanism
Connection Failure Message: network error while attempting to run command 'isMaster'
Connection Failure Messages: No route to host and connection attempt failed
Connection Failure Message: Authentication failed
Connection Failure Message: couldn't connect to server
Connection Failure Message: cannot list multiple servers in URL without 'replicaSet' option
Connection Failure Message: Timeout while receiving message
Connection Failure Message: exception: login failed and U_STRINGPREP_PROHIBITED_ERROR
Change History (Troubleshooting) European Sites
Videos