从MongoDB 8.0开始,这些是您可以直接在分片上运行的唯一分片。 您还可以直接在分片上运行shell助手,分片是它调用以下命令之一:
abortTransaction
appendOplogNote
authenticate
autoCompact
buildInfo
commitTransaction
compact
connectionStatus
connPoolStats
createRole
createUser
currentOp
dropAllRolesFromDatabase
dropAllUsersFromDatabase
dropRole
dropUser
endSessions
flushRouterConfig
fsync
fsyncUnlock
getAuditConfig
getClusterParameter
getCmdLineOpts
getLog
getParameter
getShardMap
grantPrivilegesToRole
grantRolesToRole
grantRolesToUser
hello
hostInfo
invalidateUserCache
killAllSessions
killAllSessionsByPattern
killCursors
killOp
killSessions
listCommands
lockInfo
logApplicationMessage
logout
logRotate
ping
profile
replSetAbortPrimaryCatchUp
replSetFreeze
replSetGetConfig
replSetGetStatus
replSetMaintenance
replSetReconfig
replSetResizeOplog
replSetStepDown
replSetSyncFrom
revokePrivilegesFromRole
revokeRolesFromRole
revokeRolesFromUser
rolesInfo
rotateCertificates
serverStatus
setParameter
shardingState
startSession
top
updateRole
updateUser
usersInfo
whatsmyuri
后退
对分片集群进行故障排除
来年
存储