Command Support in Sharding Cluster v3.2

Last updated: 2021-06-07 16:33:46

    Sharding Strategy

    • Ranged-based sharding is supported.
    • The shardkey is indexed compound fields.
    • Sharding is required for all data sets in a shard instance. It is recommended to store non-sharded data in a separate replica set instance.

    Authentication Mechanism

    MongoDB is fully compatible with SCRAM-SHA-1 and MONGODB-CR.

    Supported Sharded Cluster Commands

    CategoryCommandSubcommandSupported
    Basic CRUD commands find filterYes
    sortYes
    projectionYes
    hintYes
    skipYes
    limitYes
    batchSizeYes
    singleBatchYes
    commentYes
    maxScanYes
    maxTimeMSNo
    readConcernYes
    maxYes
    minYes
    returnKeyYes
    showRecordIdYes
    snapshotNo
    tailableNo
    oplogReplayNo
    noCursorTimeoutYes
    awaitDataNo
    allowPartialResultsNo
    insertThe `shardkey` field is required and must be the same for batch INSERT operationsYes
    updateThe updated field cannot be `shardkey`Yes
    delete-Yes
    findandmodify-Yes
    count-Yes
    distinctThe `shardkey` field is requiredYes
    aggregate-Yes
    group-No
    mapReduce-No
    getmore-Yes
    getLastError-No
    getPrevError-No
    resetError-No
    eval-No
    geoNear-No
    geoSearch-No
    parallelCollectionScan-No
    Diagnostic commands collStats-Yes
    dbstats-Yes
    explain-Yes
    listDatabases-Yes
    serverStatus-No
    top-No
    Sharding commands enableSharding-Yes
    shardCollection-Yes
    Management commands listCollections-Yes
    dropDatabase-Yes
    drop-Yes
    creareIndexes-Yes
    listIndexes-Yes
    dropIndexes-Yes
    logout-Yes
    renameCollection-No
    copydb-No
    create-No
    clone-No
    cloneCollection-No
    cloneCollectionAsCapped-No
    convetToCapped-No
    filemd5-No
    fsync-No
    clean-No
    connPoolSync-No
    connectionStatus-No
    compact-No
    collMod-No
    reIndex-No
    setParameter-No
    getParameter-No
    repairDatabase-No
    repairCursor-No
    touch-No
    shutdown-No
    logrotate-No
    killop-No
    User management commands--No
    Role management commands--No
    Replica set commands--No