• Document Database Service

dds
  1. Help Center
  2. Document Database Service
  3. User Guide
  4. FAQs
  5. Which Commands are Supported or Restricted by DDS?

Which Commands are Supported or Restricted by DDS?

The following tables list the commands supported and restricted by DDS.

Table 1 Commands supported and restricted by DDS

Type

Supported Command

Restricted Command

Aggregates Commands

aggregate

count

distinct

group

mapReduce

Geospatial Commands

geoNear

geoSearch

Query and Write Operation Commands

find

insert

update

delete

findAndModify

getMore

getLastError

resetError

getPrevError

eval

parallelCollectionScan

Query Plan Cache Commands

planCacheListFilters

planCacheSetFilter

planCacheClearFilters

planCacheListQueryShapes

planCacheListPlans

planCacheClear

-

Authentication Commands

logout

authenticate

getnonce

authSchemaUpgrade

copydbgetnonce

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

isMaster

replSetElect

replSetUpdatePosition

appendOplogNote

replSetFreeze

replSetGetStatus

replSetInitiate

replSetMaintenance

replSetReconfig

replSetStepDown

replSetSyncFrom

resync

applyOps

replSetGetConfig

Sharding Commands

enableSharding

getShardVersion

mergeChunks

shardCollection

split

splitChunk

splitVector

moveChunk

movePrimary

isdbgrid

flushRouterConfig

addShard

cleanupOrphaned

checkShardingIndex

listShards

removeShard

getShardMap

setShardVersion

shardingState

unsetSharding

Administration Commands

renameCollection

dropDatabase

listCollections

drop

create

convertToCapped

filemd5

createIndexes

listIndexes

dropIndexes

fsync

connectionStatus

collMod

reIndex

getParameter

currentOp

killOp

clone

cloneCollection

clean

connPoolSync

compact

setParameter

repairDatabase

repairCursor

touch

shutdown

cloneCollectionAsCapped

copydb

logRotate

Diagnostic Commands

availableQueryOptions

buildInfo

collStats

dataSize

dbStats

explain

features

listCommands

listDatabases

ping

serverStatus

whatsmyuri

connPoolStats

cursorInfo

dbHash

diagLogging

driverOIDTest

getCmdLineOpts

getLog

hostInfo

isSelf

netstat

profile

shardConnPoolStats

top

validate

Internal Commands

-

handshake

_recvChunkAbort

_recvChunkCommit

_recvChunkStart

_recvChunkStatus

_replSetFresh

mapreduce.shardedfinish

_transferMods

replSetHeartbeat

replSetGetRBID

_migrateClone

replSetElect

writeBacksQueued

writebacklisten

System Events Auditing Commands

-

logApplicationMessage