Updated on 2024-05-20 GMT+08:00

Overview

This document provides best practices for Huawei Cloud Document Database Service (DDS) and guides you through using DDS to best suit your business needs.

Service

Reference

Overview

Document Database Service

Security Best Practices

This section provides actionable guidance for enhancing the overall security of using DDS.

Common Methods for Connecting to a DDS Instance

This section describes common DDS connection methods.

From Other Cloud MongoDB to DDS

These sections describe how to migrate DDS data.

From On-Premises MongoDB to DDS

From ECS-hosted MongoDB to DDS

How Do Replica Sets Achieve High Availability and Read/Write Splitting?

This section describes how to connect to a replica set instance to achieve high availability.

Sharding

This section describes how to set cluster shards to improve database performance.

How Do I Improve DDS Performance by Optimizing SQL Statements?

This section describes DDS usage suggestions.

How Do I Prevent the dds mongos Cache Problem?

This section describes how to avoid the mongos route cache defect of the cluster.

How Do I Solve the High CPU Usage Issue?

This section describes how to troubleshoot high CPU usage.

How Do I Troubleshoot High Memory Usage of DDS DB Instances?

This section describes how to troubleshoot high memory usage.

What Can I Do If the Number of Connections of an Instance Reaches Its Maximum?

This section describes how to troubleshoot the fault that there are too many connections to a DB instance.

Creating a User and Granting the Read-Only Permission to the User

This section describes how to use IAM to grant read-only permissions to DDS.

Proper Use of Data Definition Languages (DDL) Statements

This section describes DDL statements used to create, modify, and delete the structure of databases and collections.