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

Command Support in Sharded Cluster v3.2

PDF
フォーカスモード
フォントサイズ
最終更新日: 2024-01-15 14:49:55

Sharding Strategy

Ranged-based sharding is supported.
The shardkey is indexed compound fields.
Sharding is required for all data sets in a shard instance. It is recommended to store non-sharded data in a separate replica set instance.

Authentication Mechanism

MongoDB is fully compatible with SCRAM-SHA-1 and MONGODB-CR.

Supported Sharded Cluster Commands

Category
Command
Subcommand
Supported
Basic CRUD commands
find
filter
Yes
sort
Yes
projection
Yes
hint
Yes
skip
Yes
limit
Yes
batchSize
Yes
singleBatch
Yes
comment
Yes
maxScan
Yes
maxTimeMS
No
readConcern
Yes
max
Yes
min
Yes
returnKey
Yes
showRecordId
Yes
snapshot
No
tailable
No
oplogReplay
No
noCursorTimeout
Yes
awaitData
No
allowPartialResults
No
insert
The `shardkey` field is required and must be the same for batch INSERT operations
Yes
update
The updated field cannot be `shardkey`
Yes
delete
-
Yes
findandmodify
-
Yes
count
-
Yes
distinct
The `shardkey` field is required
Yes
aggregate
-
Yes
group
-
No
mapReduce
-
No
getmore
-
Yes
getLastError
-
No
getPrevError
-
No
resetError
-
No
eval
-
No
geoNear
-
No
geoSearch
-
No
parallelCollectionScan
-
No
Diagnostic commands
collStats
-
Yes
dbstats
-
Yes
explain
-
Yes
listDatabases
-
Yes
serverStatus
-
No
top
-
No
Sharding commands
enableSharding
-
Yes
shardCollection
-
Yes
Management commands
listCollections
-
Yes
dropDatabase
-
Yes
drop
-
Yes
creareIndexes
-
Yes
listIndexes
-
Yes
dropIndexes
-
Yes
logout
-
Yes
renameCollection
-
No
copydb
-
No
create
-
No
clone
-
No
cloneCollection
-
No
cloneCollectionAsCapped
-
No
convetToCapped
-
No
filemd5
-
No
fsync
-
No
clean
-
No
connPoolSync
-
No
connectionStatus
-
No
compact
-
No
collMod
-
No
reIndex
-
No
setParameter
-
No
getParameter
-
No
repairDatabase
-
No
repairCursor
-
No
touch
-
No
shutdown
-
No
logrotate
-
No
killop
-
No
User management commands
-
-
No
Role management commands
-
-
No
Replica set commands
-
-
No


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック