ABot
(Anon Bot)
3
Here is the output :
mongos> db.aggregate([ { $shardedDataDistribution: { } }, { $match: { “ns”: “n_storage.fs.chunks” } } ]).pretty()
{
“ns” : “n_storage.fs.chunks”,
“shards” : [
{
“shardName” : “cold_shard_7”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 53378,
“ownedSizeBytes” : NumberLong(“11952508516”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_1”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 53410,
“ownedSizeBytes” : NumberLong(“11942422590”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_3”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 53395,
“ownedSizeBytes” : NumberLong(“12000846620”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_4”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 53352,
“ownedSizeBytes” : NumberLong(“12024046944”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_6”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 52786,
“ownedSizeBytes” : NumberLong(“11947160952”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_0”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 53390,
“ownedSizeBytes” : NumberLong(“12012803390”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_2”,
“numOrphanedDocs” : 0,
“numOwnedDocuments” : 53918,
“ownedSizeBytes” : NumberLong(“12055094276”),
“orphanedSizeBytes” : 0
},
{
“shardName” : “cold_shard_5”,
“numOrphanedDocs” : 30391,
“numOwnedDocuments” : 719018,
“ownedSizeBytes” : NumberLong(“168458008202”),
“orphanedSizeBytes” : NumberLong(“7120276999”)
}
]
}
mongos>