Document Database Service

Supported and Unsupported Commands

2025-07-16 03:30:53

Commands supported and unsupported in the DDS are given as follows:

Command Type

Command Name

3.4

4.0

Aggregates Commands

aggregate

count

distinct

mapReduce

Geospatial Commands

geoNear

geoSearch

Query and Write Operation Commands

find

insert

update

delete

findAndModify

getMore

getLastError

resetError

getPrevError

parallelCollectionScan

Query Plan Cache Commands

planCacheListFilters

planCacheSetFilter

planCacheClearFilters

planCacheListQueryShapes

planCacheListPlans

planCacheClear

Authentication Commands

logout

authenticate

copydbgetnonce

getnonce

authSchemaUpgrade

x

x

User Management Commands

createUser

updateUser

dropUser

dropAllUsersFromDatabase

grantRolesToUser

revokeRolesFromUser

usersInfo

Role Management Commands

invalidateUserCache

createRole

updateRole

dropRole

dropAllRolesFromDatabase

grantPrivilegesToRole

revokePrivilegesFromRole

grantRolesToRole

revokeRolesFromRole

rolesInfo

Replication Commands

replSetFreeze

x

x

replSetGetStatus

replSetInitiate

x

x

replSetMaintenance

x

x

replSetReconfig

x

x

replSetStepDown

x

x

replSetSyncFrom

x

x

isMaster

replSetGetConfig

x

x

Sharding Commands

flushRouterConfig

x

x

addShard

x

x

addShardToZone

balancerStart

balancerStatus

balancerStop

removeShardFromZone

updateZoneKeyRange

cleanupOrphaned

x

x

checkShardingIndex

x

x

enableSharding

listShards

x

x

removeShard

x

x

getShardMap

x

x

getShardVersion

mergeChunks

shardCollection

shardingState

x

x

split

splitChunk

splitVector

moveChunk

movePrimary

x

isdbgrid

Administration Commands

setFeatureCompatibilityVersion

renameCollection

dropDatabase

listCollections

drop

create

clone

x

x

cloneCollection

x

cloneCollectionAsCapped

convertToCapped

filemd5

createIndexes

listIndexes

dropIndexes

fsync

connectionStatus

compact

collMod

reIndex

setParameter

x

x

getParameter

repairDatabase

x

x

touch

shutdown

x

x

logRotate

x

x

killOp

releaseFreeMemory

Diagnostic Commands

availableQueryOptions

buildInfo

collStats

connPoolStats

cursorInfo

x

x

dataSize

dbHash

x

x

dbStats

diagLogging

x

x

driverOIDTest

explain

features

getCmdLineOpts

x

x

getLog

hostInfo

x

x

isSelf

listCommands

listDatabases

netstat

ping

profile

serverStatus

shardConnPoolStats

x

top

validate

whatsmyuri


70NRs0_LNLYR