设为首页 加入收藏

TOP

MongoDB2.6部署副本集+分区(四)
2015-12-01 16:03:14 来源: 作者: 【 】 浏览:100
Tags:MongoDB2.6 部署 副本 +分区
6517204") }, "shard" : "set1" }


{ "_id" : "test.lineqi-id_-6148914691236517204", "lastmod" : Timestamp(3, 3), "lastmodEpoch" : ObjectId("55ddb7460f613da70e8ce380"), "ns" : "test.lineqi", "min" : { "id" : NumberLong("-6148914691236517204") }, "max" : { "id" : NumberLong("-3074457345618258602") }, "shard" : "set2" }


{ "_id" : "test.lineqi-id_0", "lastmod" : Timestamp(3, 5), "lastmodEpoch" : ObjectId("55ddb7460f613da70e8ce380"), "ns" : "test.lineqi", "min" : { "id" : NumberLong(0) }, "max" : { "id" : NumberLong("3074457345618258602") }, "shard" : "set3" }


{ "_id" : "test.lineqi-id_6148914691236517204", "lastmod" : Timestamp(3, 7), "lastmodEpoch" : ObjectId("55ddb7460f613da70e8ce380"), "ns" : "test.lineqi", "min" : { "id" : NumberLong("6148914691236517204") }, "max" : { "id" : { "$maxKey" : 1 } }, "shard" : "set1" }


查看users表的存储信息


mongos>use test


mongos> db.lineqi.stats();


{


? ? ? ? "sharded" : true,


? ? ? ? "systemFlags" : 1,


? ? ? ? "userFlags" : 1,


? ? ? ? "ns" : "test.lineqi",


? ? ? ? "count" : 100000,


? ? ? ? "numExtents" : 18,


? ? ? ? "size" : 11200000,


? ? ? ? "storageSize" : 33546240,


? ? ? ? "totalIndexSize" : 8086064,


? ? ? ? "indexSizes" : {


? ? ? ? ? ? ? ? "_id_" : 3262224,


? ? ? ? ? ? ? ? "id_hashed" : 4823840


? ? ? ? },


? ? ? ? "avgObjSize" : 112,


? ? ? ? "nindexes" : 2,


? ? ? ? "nchunks" : 6,


? ? ? ? "shards" : {


? ? ? ? ? ? ? ? "set1" : {


? ? ? ? ? ? ? ? ? ? ? ? "ns" : "test.lineqi",


? ? ? ? ? ? ? ? ? ? ? ? "count" : 33102,


? ? ? ? ? ? ? ? ? ? ? ? "size" : 3707424,


? ? ? ? ? ? ? ? ? ? ? ? "avgObjSize" : 112,


? ? ? ? ? ? ? ? ? ? ? ? "storageSize" : 11182080,


? ? ? ? ? ? ? ? ? ? ? ? "numExtents" : 6,


? ? ? ? ? ? ? ? ? ? ? ? "nindexes" : 2,


? ? ? ? ? ? ? ? ? ? ? ? "lastExtentSize" : 8388608,


? ? ? ? ? ? ? ? ? ? ? ? "paddingFactor" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "systemFlags" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "userFlags" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "totalIndexSize" : 2649024,


? ? ? ? ? ? ? ? ? ? ? ? "indexSizes" : {


? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "_id_" : 1079232,


? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "id_hashed" : 1569792


? ? ? ? ? ? ? ? ? ? ? ? },


? ? ? ? ? ? ? ? ? ? ? ? "ok" : 1


? ? ? ? ? ? ? ? },


? ? ? ? ? ? ? ? "set2" : {


? ? ? ? ? ? ? ? ? ? ? ? "ns" : "test.lineqi",


? ? ? ? ? ? ? ? ? ? ? ? "count" : 33755,


? ? ? ? ? ? ? ? ? ? ? ? "size" : 3780560,


? ? ? ? ? ? ? ? ? ? ? ? "avgObjSize" : 112,


? ? ? ? ? ? ? ? ? ? ? ? "storageSize" : 11182080,


? ? ? ? ? ? ? ? ? ? ? ? "numExtents" : 6,


? ? ? ? ? ? ? ? ? ? ? ? "nindexes" : 2,


? ? ? ? ? ? ? ? ? ? ? ? "lastExtentSize" : 8388608,


? ? ? ? ? ? ? ? ? ? ? ? "paddingFactor" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "systemFlags" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "userFlags" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "totalIndexSize" : 2755312,


? ? ? ? ? ? ? ? ? ? ? ? "indexSizes" : {


? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "_id_" : 1103760,


? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "id_hashed" : 1651552


? ? ? ? ? ? ? ? ? ? ? ? },


? ? ? ? ? ? ? ? ? ? ? ? "ok" : 1


? ? ? ? ? ? ? ? },


? ? ? ? ? ? ? ? "set3" : {


? ? ? ? ? ? ? ? ? ? ? ? "ns" : "test.lineqi",


? ? ? ? ? ? ? ? ? ? ? ? "count" : 33143,


? ? ? ? ? ? ? ? ? ? ? ? "size" : 3712016,


? ? ? ? ? ? ? ? ? ? ? ? "avgObjSize" : 112,


? ? ? ? ? ? ? ? ? ? ? ? "storageSize" : 11182080,


? ? ? ? ? ? ? ? ? ? ? ? "numExtents" : 6,


? ? ? ? ? ? ? ? ? ? ? ? "nindexes" : 2,


? ? ? ? ? ? ? ? ? ? ? ? "lastExtentSize" : 8388608,


? ? ? ? ? ? ? ? ? ? ? ? "paddingFactor" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "systemFlags" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "userFlags" : 1,


? ? ? ? ? ? ? ? ? ? ? ? "totalIndexSize" : 2681728,


? ? ? ? ? ? ? ? ? ? ? ? "indexSizes" : {


? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "_id_" : 1079232,


? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "id_hashed" : 1602496


? ? ? ? ? ? ? ? ? ? ? ? },


? ? ? ? ? ? ? ? ? ? ? ? "ok" : 1


? ? ? ? ? ? ? ? }


? ? ? ? },


? ? ? ? "ok" : 1


}


更多MongoDB相关内容可以看看以下的有用链接:?


首页 上一页 1 2 3 4 下一页 尾页 4/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇通过BBED修复ORA-01190错误 下一篇Oracle 11g导入到10g引起的错误

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: