mongos> sh.status({"verbose":1})sh.status({"verbose":1}) --- Sharding Status --- sharding version: { "_id" : 1, "minCompatibleVersion" : 5, "currentVersion" : 6, "clusterId" : ObjectId("57199835d058c00f4d3281a8") } shards: { "_id" : "shard0000", "host" : "localhost:30000" } { "_id" : "shard0001", "host" : "localhost:30001" } { "_id" : "shard0002", "host" : "localhost:30002" } balancer: Currently enabled: no Currently running: no Failed balancer rounds in last 5 attempts: 0 Migration Results for the last 24 hours: No recent migrations databases: { "_id" : "admin", "partitioned" : false, "primary" : "config" } { "_id" : "test", "partitioned" : true, "primary" : "shard0001" } test.users shard key: { "username" : 1 } chunks: shard0001 22 { "username" : { "$minKey" : 1 } } -->> { "username" : "user1421" } on : shard0001 Timestamp(1, 0) { "username" : "user1421" } -->> { "username" : "user18424" } on : shard0001 Timestamp(1, 1) { "username" : "user18424" } -->> { "username" : "user22638" } on : shard0001 Timestamp(1, 2) { "username" : "user22638" } -->> { "username" : "user26852" } on : shard0001 Timestamp(1, 3) { "username" : "user26852" } -->> { "username" : "user31065" } on : shard0001 Timestamp(1, 4) { "username" : "user31065" } -->> { "username" : "user3528" } on : shard0001 Timestamp(1, 5) { "username" : "user3528" } -->> { "username" : "user39494" } on : shard0001 Timestamp(1, 6) { "username" : "user39494" } -->> { "username" : "user43707" } on : shard0001 Timestamp(1, 7) { "username" : "user43707" } -->> { "username" : "user47921" } on : shard0001 Timestamp(1, 8) { "username" : "user47921" } -->> { "username" : "user52134" } on : shard0001 Timestamp(1, 9) { "username" : "user52134" } -->> { "username" : "user56349" } on : shard0001 Timestamp(1, 10) { "username" : "user56349" } -->> { "username" : "user60562" } on : shard0001 Timestamp(1, 11) { "username" : "user60562" } -->> { "username" : "user64777" } on : shard0001 Timestamp(1, 12) { "username" : "user64777" } -->> { "username" : "user68991" } on : shard0001 Timestamp(1, 13) { "username" : "user68991" } -->> { "username" : "user73203" } on : shard0001 Timestamp(1, 14) { "username" : "user73203" } -->> { "username" : "user77418" } on : shard0001 Timestamp(1, 15) { "username" : "user77418" } -->> { "username" : "user81631" } on : shard0001 Timestamp(1, 16) { "username" : "user81631" } -->> { "username" : "user85846" } on : shard0001 Timestamp(1, 17) { "username" : "user85846" } -->> { "username" : "user90059" } on : shard0001 Timestamp(1, 18) { "username" : "user90059" } -->> { "username" : "user94273" } on : shard0001 Timestamp(1, 19) { "username" : "user94273" } -->> { "username" : "user98488" } on : shard0001 Timestamp(1, 20) { "username" : "user98488" } -->> { "username" : { "$maxKey" : 1 } } on : shard0001 Timestamp(1, 21) mongos>
时间: 2024-11-07 12:42:30