云数据库 MongoDB

产品文档

云数据库 MongoDB

帮助中心 > 产品文档 > 云数据库 MongoDB > 云数据库 MongoDB 不支持哪些命令?

云数据库 MongoDB 限制了哪些命令?

问题描述

云数据库 MongoDB 限制了哪些命令?

问题处理

为保证 MongoDB 副本集正常运行,云数据库 MongoDB 对部分命令做了限制,支持与限制的命令情况如下:

命令 支持 不支持
Aggregates Commands aggregate
distinct
count
group
mapReduce
Geospatial Commands geoNear
geoSearch
Query and Write Operation Commands insert
update
delete
findAndModify
getLastError
getPrevError
resetError
parallelCollectionScan
eval
Query Plan Cache Commands planCacheListFilters
planCacheSetFilter
planCacheClearFilters
planCacheListQueryShapes
planCacheListPlans
planCacheClear
Authentication logout
authenticate
getnonce
authSchemaUpgrade
copydbgetnonce
User Management Commands createUser
updateUser
dropUser
dropAllUsersFromDatabase
grantRolesToUser
revokeRolesFromUser
usersInfo
Role Management Commands createRole
updateRole
dropRole
dropAllRolesFromDatabase
grantPrivilegesToRole
revokePrivilegesFromRole
grantRolesToRole
revokeRolesFromRole
rolesInfo
invalidateUserCache
Replication Commands isMaster
applyOps
replSetAbortPrimaryCatchUp
replSetFreeze
replSetGetConfig
replSetGetStatus
replSetInitiate
replSetMaintenance
replSetReconfig
replSetStepDown
replSetSyncFrom
resync
addShard
Sharding Commands addShard
addShardToZone
balancerStart
balancerStatus
balancerStop
checkShardingIndex
cleanupOrphaned
enableSharding
flushRouterConfig
getShardMap
getShardVersion
isdbgrid
listShards
medianKey
moveChunk
movePrimary
mergeChunks
removeShard
removeShardFromZone
setShardVersion
shardCollection
shardingState
split
splitChunk
splitVector
unsetSharding
updateZoneKeyRange
Administration Commands renameCollection
dropDatabase
listCollections
drop
create
cloneCollection
cloneCollectionAsCapped
convertToCapped
filemd5
createIndexes
listIndexes
dropIndexes
fsync
connectionStatus
collMod
reIndex
touch
getParameter
compact
copydb
clone
clean
shutdown
logRotate
repairCursor
setParameter
connPoolSync
setReadonly
cloneCollection
repairDatabase
killCursors
Diagnostic Commands explain
listDatabases
dbHash
listCommands
availableQueryOptions
buildInfo
collStats
dbStats
cursorInfo
dataSize
ping
profile
top
whatsmyuri
serverStatus
features
isSelf
validate
System Events Auditing Commands logApplicationMessage
更新时间:2019-08-05 20:41:36
文档反馈 docs feedback