tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Features

PDF
Focus Mode
Font Size
Last updated: 2024-01-15 14:49:56

How do I get the slow logs of an instance?

You can use the slow log query feature as described in Slow Log Management to get the slow log details.

Does MongoDB support password-free access?

TencentDB for MongoDB supports auth-free access to instances. This feature enables you to efficiently and quickly access database instances but brings security risks. Therefore, enable it with caution.

How do I set secondary database dump?

In mongodump parameters, set readPreference=secondaryPreferred.

Does TencentDB for MongoDB support adding secondary nodes dynamically?

No.

What is the difference between TencentDB for MongoDB and self-built MongoDB?

For more information, see Strengths.

What is the oplog size? Can I adjust it?

The default oplog size is 10% of the instance capacity. You can adjust it between 10% (minimum) and 90% (maximum) of the instance capacity in the console.

Is oplog included in the purchased capacity?

As oplog exists inside the MongoDB database, it will occupy a part of the purchased capacity (10% by default).

What role permissions are available currently?

Only RoleDBAdminAny and RoleReadWriteAny are available, while root privileges are unavailable for now. More roles will become available in the future. We will also open up more convenient and practical console features to eliminate the need to call for some special permissions.

What will happen if disk utilization reaches 100%?

At this point, the instance will be blocked and become read-only, and any connections for write attempts will be closed. Pay attention to your business development and instance usage and expand the capacity as appropriate when capacity usage reaches a certain level.

Why does the monitor show high memory utilization in MongoDB?

MongoDB uses a greedy policy to try to allocate available memory for caching to improve performance. For more information, see FAQ: MongoDB Storage.

Which engines are supported by MongoDB?

WiredTiger engine and Rocks engine are supported currently.

Does MongoDB support maintenance window?

You can adjust the instance maintenance time in the TencentDB for MongoDB console as instructed in Setting Instance Maintenance Time.

Why is the space not reclaimed after data in MongoDB is deleted?

Unless a database or collection is dropped directly, the space freed by deleted data will not be reclaimed in MongoDB. To reclaim the space of the WiredTiger engine, see FAQ: MongoDB Storage.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback