¿Qué Comandos son Soportados o Restringidos por DDS ?
Las siguientes tablas muestran los comandos soportados y restringidos por DDS .
Para obtener más información, consulte la documentación oficial de MongoDB.
| Tipo | Comando | Soportado | Descripción |
|---|---|---|---|
| Comandos agregados | aggregate | √ | - |
| count | √ | - | |
| distinct | √ | - | |
| group | √ | - | |
| mapReduce | √ | Este comando solo se puede utilizar cuando el parámetro security.javascriptEnabled de la plantilla de parámetros asociada a la instancia de base de datos se establece en true. Para obtener más información, consulte ¿Cómo uso los comandos MapReduce? | |
| Comandos geoespaciales | geoNear | √ | - |
| geoSearch | √ | - | |
| Comandos de operación de consulta y escritura | 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 | Comando del sistema | |
| Comandos de administración de usuarios | createUser | √ | - |
| updateUser | √ | - | |
| dropUser | √ | - | |
| dropAllUsersFromDatabase | √ | - | |
| grantRolesToUser | √ | - | |
| revokeRolesFromUser | √ | - | |
| usersInfo | √ | - | |
| Comandos de gestión de roles | invalidateUserCache | √ | - |
| createRole | √ | - | |
| updateRole | √ | - | |
| dropRole | √ | - | |
| dropAllRolesFromDatabase | √ | - | |
| grantPrivilegesToRole | √ | - | |
| revokePrivilegesFromRole | √ | - | |
| grantRolesToRole | √ | - | |
| revokeRolesFromRole | √ | - | |
| rolesInfo | √ | - | |
| Comandos de replicación | replSetElect | x | Comando del sistema |
| replSetUpdatePosition | x | Comando del sistema | |
| appendOplogNote | x | Comando del sistema | |
| replSetFreeze | x | Comando del sistema | |
| replSetGetStatus | √ | - | |
| replSetInitiate | x | Comando del sistema | |
| replSetMaintenance | x | System command | |
| replSetReconfig | x | Comando del sistema | |
| replSetStepDown | x | Comando del sistema | |
| replSetSyncFrom | x | Comando del sistema | |
| replSetRequestVotes | x | Comando del sistema | |
| replSetDeclareElectionWinner | x | Comando del sistema | |
| resync | x | Comando del sistema | |
| applyOps | x | Comando del sistema | |
| isMaster | √ | - | |
| replSetGetConfig | x | Comando del sistema | |
| Comandos de sharding | flushRouterConfig | x | Comandos de alto riesgo |
| addShard | x | Operación no autorizada | |
| addShardToZone | √ | - | |
| balancerStart | √ | - | |
| balancerStatus | √ | - | |
| balancerStop | √ | - | |
| removeShardFromZone | √ | - | |
| updateZoneKeyRange | √ | - | |
| cleanupOrphaned | x | Comandos de alto riesgo | |
| checkShardingIndex | x | Comando del sistema | |
| enableSharding | √ | - | |
| listShards | x | Comando del sistema | |
| removeShard | x | Comandos de alto riesgo | |
| getShardMap | x | Comando del sistema | |
| getShardVersion | √ | - | |
| mergeChunks | √ | - | |
| setShardVersion | x | Comando del sistema | |
| shardCollection | √ | - | |
| shardingState | x | Comando del sistema | |
| unsetSharding | x | Comando del sistema | |
| split | √ | - | |
| splitChunk | √ | - | |
| splitVector | √ | - | |
| moveChunk | √ | - | |
| movePrimary | √ | - | |
| isdbgrid | √ | - | |
| Comandos de Administración | setFeatureCompatibilityVersion | √ | - |
| renameCollection | √ | - | |
| dropDatabase | √ | - | |
| listCollections | √ | - | |
| drop | √ | - | |
| create | √ | - | |
| clone | x | Comando del sistema | |
| cloneCollection | √ | - | |
| cloneCollectionAsCapped | √ | - | |
| convertToCapped | √ | - | |
| filemd5 | √ | - | |
| createIndexes | √ | - | |
| listIndexes | √ | - | |
| dropIndexes | √ | - | |
| fsync | √ | - | |
| clean | x | Comando del sistema | |
| connPoolSync | x | Comando del sistema | |
| connectionStatus | √ | - | |
| compact | x | Comandos de alto riesgo | |
| collMod | √ | - | |
| reIndex | √ | - | |
| setParameter | x | Comando de configuración del sistema | |
| getParameter | √ | - | |
| repairDatabase | x | Comandos de alto riesgo | |
| repairCursor | x | Comando del sistema | |
| touch | √ | - | |
| shutdown | x | Comandos de alto riesgo | |
| logRotate | x | Comandos de alto riesgo | |
| killOp | √ | - | |
| releaseFreeMemory | √ | - | |
| Diagnostic Commands | availableQueryOptions | √ | - |
| buildInfo | √ | - | |
| collStats | √ | - | |
| connPoolStats | x | Comando del sistema | |
| cursorInfo | x | Comando del sistema | |
| dataSize | √ | - | |
| dbHash | x | System command | |
| dbStats | √ | - | |
| diagLogging | x | Comando del sistema | |
| driverOIDTest | x | Comando del sistema | |
| explain | √ | - | |
| features | √ | - | |
| getCmdLineOpts | x | Comando del sistema | |
| getLog | x | Comando del sistema | |
| hostInfo | x | Comando del sistema | |
| isSelf | x | Comando del sistema | |
| listCommands | √ | - | |
| listDatabases | √ | - | |
| netstat | x | Comando del sistema | |
| ping | √ | - | |
| profile | √ | - | |
| serverStatus | √ | - | |
| shardConnPoolStats | x | Comando del sistema | |
| top | √ | - | |
| validate | x | Comando de configuración del sistema | |
| whatsmyuri | √ | - | |
| Internal Commands | handshake | x | Comando del sistema |
| _recvChunkAbort | x | Comando del sistema | |
| _recvChunkCommit | x | Comando del sistema | |
| _recvChunkStart | x | Comando del sistema | |
| _recvChunkStatus | x | Comando del sistema | |
| _replSetFresh | x | Comando del sistema | |
| mapreduce.shardedfinish | x | Comando del sistema | |
| _transferMods | x | Comando del sistema | |
| replSetHeartbeat | x | Comando del sistema | |
| replSetGetRBID | x | Comando del sistema | |
| _migrateClone | x | Comando del sistema | |
| replSetElect | x | Comando del sistema | |
| writeBacksQueued | x | Comando del sistema | |
| writebacklisten | x | Comando del sistema | |
| Comandos de auditoría de eventos del sistema | logApplicationMessage | x | Comando del sistema |