Docs Home → MongoDB Atlas
Unsupported Commands in M0/M2/M5
Clusters Atlas M0
free clusters and M2
/M5
shared clusters don't support all functionality available to
other clusters.
M0
free clusters and M2
/M5
shared clusters don't support read or write operations on the admin
database.
To learn more about M0
/M2
/M5
limitations, see
Atlas M0 (Free Cluster), M2, and M5 Limitations .
Atlas returns the same error message for unsupported commands
and invalid syntax. If Atlas returns an error, ensure that you
use a supported command and verify the syntax. For more information
and examples, see the database commands .
Limited Commands The following commands can be run with limitations in M0
free clusters and M2
/M5
shared clusters:
Command
Limitation
Limits the maxTimeMs
parameter to 300 seconds
(300000
). Ignores the allowDiskUsage
parameter. Doesn't support $accumulator and
$function
operators. Doesn't support the $where
operator. Limits the count
operation on the local
database to the system.replset
and oplog.rs
collections. Doesn't support $where
operator. Limits execution to these two documents:
{ "getParameter": 1, "authSchemaVersion": 1 }
{ "getParameter": 1, "authenticationMechanisms": 1 }
Limits the db.killOp()
method to to the MongoDB user
who ran the operation. Limits response to the following fields:
$clusterTime.clusterTime
$clusterTime.operationTime
$clusterTime.signature.hash
$clusterTime.signature.keyId
$clusterTime.signature
asserts.msg
asserts.regular
asserts.rollovers
asserts.user
asserts.warning
atlasVersion.gitVersion
atlasVersion.version
connections.available
connections.current
connections.totalCreated
extra_info.note
extra_info.page_faults
host
localTime
mem.bits
mem.mapped
mem.mappedWithJournal
mem.resident
mem.supported
mem.virtual
metrics.atlas.bytesInWrites
metrics.atlas.connectionPool.totalCreated
network.bytesIn
network.bytesOut
network.numRequests
ok
opcounters.command
opcounters.delete
opcounters.getmore
opcounters.insert
opcounters.query
opcounters.update
opcountersRepl.command
opcountersRepl.delete
opcountersRepl.getmore
opcountersRepl.insert
opcountersRepl.query
opcountersRepl.update
pid
process
repl.electionId
repl.hosts[]
repl.ismaster
repl.lastWrite.lastWriteDate
repl.lastWrite.majorityOpTime.t
repl.lastWrite.majorityOpTime.ts
repl.lastWrite.majorityWriteDate
repl.lastWrite.opTime.t
repl.lastWrite.opTime.ts
repl.me
repl.primary
repl.rbid
repl.secondary
repl.setName
repl.setVersion
repl.tags.nodeType
repl.tags.provider
repl.tags.region
repl.tags
storageEngine.backupCursorOpen
storageEngine.dropPendingIdents
storageEngine.name
storageEngine.oldestRequiredTimestampForCrashRecovery
storageEngine.persistent
storageEngine.readOnly
storageEngine.supportsCommittedReads
storageEngine.supportsPendingDrops
storageEngine.supportsSnapshotReadConcern
uptime
uptimeEstimate
uptimeMillis
version
Limits to the following document:
{ "user" : "<MYUSER>" , "db" : "admin" }
Unsupported Commands The following commands are unsupported:
The commands available for clusters of all other tiers, M10
and
larger, correspond to the privileges defined for the built-in
Atlas MongoDB roles.
Limitation for mongorestore