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

Modifying DDS DB Instance Parameters

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

You can modify parameters in custom parameter templates as needed to enjoy better performance of DDS.

You can modify parameters in either of the following ways:

  • Directly modify the parameters of a specified instance.

    If you change a dynamic parameter value in a parameter template and save the change, the change takes effect immediately regardless of the Effective upon Reboot setting. If you modify static parameters on the Parameters page of an instance and save the modifications, the modifications take effect only after you manually restart the target instance.

  • Modify the parameters in a parameter template and apply the template to the instance.

    The changes only take effect after you apply the template to the instance. If you modify static parameters in a custom parameter template on the Parameter Template Management page and save the modifications, the modifications take effect only after you apply the parameter template to instances and manually restart the instances. For details about how to apply a parameter template to instances, see Applying a Parameter Template.

Precautions

  • You can change parameter values in custom parameter templates but cannot change the default parameter templates provided by the system. You can only click the name of a default parameter template to view its details.
  • If a custom parameter template is set incorrectly, the instance associated with the template may fail to start. You can re-configure the custom parameter template according to the configurations of the default parameter template.
    CAUTION:

    Exercise caution when modifying parameter values to prevent exceptions.

Modifying Parameters of an Instance

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. In the navigation pane on the left, choose Instances. On the displayed page, click the DB instance whose parameters you wish to modify.
  5. In the navigation pane on the left, choose Parameters. On the displayed page, modify parameters as required.

    Figure 1 Modifying parameters of an instance

  6. Modify parameters based on the DB instance type.

    • If the DB instance is a cluster instance, select dds mongos, shard, or config on the Parameters page and change the value of net.maxIncomingConnections, which indicates maximum number of concurrent connections that dds mongos or mongod can be connected.

      Enter net.maxIncomingConnections in the search box in the upper right corner of the page and click the search icon to search for this parameter.

      Figure 2 Changing the maximum number of connections
    • If the DB instance is a replica set instance, select Replica set nodes or Read replicas on the Parameters page and change the value of net.maxIncomingConnections, which indicates maximum number of concurrent connections that dds mongos or mongod can be connected.

      Enter net.maxIncomingConnections in the search box in the upper right corner of the page and click the search icon to search for this parameter.

      Figure 3 Changing the maximum number of connections

    • If the DB instance is a single node instance, change the value of net.maxIncomingConnections, which indicates maximum number of concurrent connections that dds mongos or mongod can be connected.

      Enter net.maxIncomingConnections in the search box in the upper right corner of the page and click the search icon to search for this parameter.

      Figure 4 Changing the maximum number of connections

  7. Change the maximum number of connections based on the parameter value range and instance specifications. This default value depends on the DB instance specifications. This parameter is displayed as default before being set, indicating that the parameter value varies with the memory specifications. For details about the parameters, see Parameters.

    • To save the changes, click Save.
    • If you want to cancel the modifications, click Cancel.
    • If you want to preview the modifications, click Preview.

  8. After the parameters have been modified, click Change History to view parameter modification details. For details, see Viewing Change History of DB Instance Parameters.

    NOTICE:
    Check the value in the Effective upon Restart column. If it is set to:
    • Yes: If an instance status on the Instances page is Pending restart, the instance needs to be restarted to apply changes. If only one node in a replica set, shard, or config is restarted, the changes will not be applied.
    • No: The changes are applied immediately.

Modifying Parameters in a Custom Parameter Template

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. In the navigation pane on the left, choose Parameter Templates.
  5. On the Parameter Templates page, click Custom Templates. Locate the target parameter template and click its name.
  6. Modify the required parameters.

    For parameter description details, see Parameters.
    • If you want to save the modifications, click Save.
    • If you want to cancel the modifications, click Cancel.
    • If you want to preview the modifications, click Preview.

  7. The modifications take effect only after you apply the parameter template to instances. For details, see Applying a Parameter Template.

    NOTICE:
    • After the parameters have been modified, click Change History to view parameter modification details. For details, see Viewing Change History of a Custom Parameter Template.
    • The change history page displays only the modifications of the last seven days.
    • For details about the parameter template statuses, see Parameter Template Status.
    • After modifying a parameter, view the associated instance status in the instance list. If Pending restart is displayed, restart the instance for the modification to take effect.

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