sh.status()
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>
sh.status()的更多相关文章
- zookeeper-3.4.5安装&3台机器安装之后 ./zkServer.sh status 之后会显示“Error contacting service. It is probably not running.”的解决办法
安装文件上传工具:yum install lrzsz成功安装后有如下的提示:Complete![root@server01 apps]# yum install lrzszLoaded plugins ...
- zookeeper: zkServer.sh status没有到主机的路由
zookeeper: zkServer.sh status没有到主机的路由 没有到主机的路由这种问题很常见,多数是由机器的防火墙没有关闭. Ubuntu查看防火墙状态ufw status 关闭防火墙u ...
- mongoDB sh.status() too many chunks to print
too many chunks to print, use verbose if you want to force print 想要看到详细的信息则需要执行: mongos> sh.statu ...
- zookeeper命令行(zkCli.sh&zkServer.sh)使用及四字命令
zookeeper提供了很多方便的功能,方便我们查看服务器的状态,增加,修改,删除数据(入口是zkServer.sh和zkCli.sh). 还提供了一系列四字命令,方便我们跟服务器进行各种交互,来确认 ...
- 【Apache ZooKeeper】命令行zkCli.sh使用指南
ZooKeeper命令行 原文 http://blog.csdn.net/ganglia/article/details/11606807 ZooKeeper客户端 ...
- mongoDB rs和sh关键字的作用
rs是一个全局变量,其其中定义了很多分片操作的辅助函数, 可以sh.help()查看使用的辅助函数 这些是rs和sh所有函数 在mongoDB中有两种方法表示 例 sh.enableSharding( ...
- zookeeper之 zkServer.sh命令、zkCli.sh命令、四字命令
一.zkServer.sh 1.查看 zkServer.sh 帮助信息[root@bigdata05 bin]# ./zkServer.sh helpZooKeeper JMX enabled by ...
- CentOS6上实现Tomcat8 service启动,并查看status
service配置脚本,“/etc/init.d/tomcat”,实现通过"service tomcat status " 查看tomcat状态,并输出PID,见脚本 # desc ...
- Zookeeper命令行zkCli.sh&zkServer.sh的使用(四)
上篇博文,我们成功的安装和启动了zookeeper服务器,zookeeper还提供了很多方便的功能,方便我们查看服务器的状态,增加,修改,删除数据(入口是zkServer.sh和zkCli.sh).还 ...
随机推荐
- Nginx 笔记与总结(12)Nginx URL Rewrite 实例(ecshop)
访问项目地址:http://192.168.254.100/ecshop 某个商品的 URL:http://192.168.254.100/ecshop/goods.php?id=3 现在需要实现把以 ...
- 转载~vim配置文件
转载自:小码哥的博客 花了很长时间整理的,感觉用起来很方便,共享一下. 我的vim配置主要有以下优点: 1.按F5可以直接编译并执行C.C++.java代码以及执行shell脚本,按“F8”可进行C. ...
- 基于LR的HTTP协议接口性能测试脚本实例
背景介绍 XXX项目性能测试中新增业务场景:XX设备的在线激活,因为存在多用户同时在线激活,故需进行性能测试以确认后台服务器系统在多用并发时功能是否正常,性能指标是否满足规格要求.用户使用场景为用户通 ...
- nignx的proxy_cache
http段配置: #cache configclient_body_buffer_size 512k;proxy_connect_timeout 5;proxy_read_timeout 60;pro ...
- 21335592 ROWS
CREATE TABLE w_big SELECT * FROM ( SEELCT * FROM w_tab UNION ALL SELECT * FROM w_tab_copy_modify ) ...
- 【转】Unity3D中Layers和LayerMask解析
http://blog.csdn.net/yupu56/article/details/50441151 Unity中是用int32来表示32个Layer层.int32表示二进制一共有32位(0-31 ...
- POJ 1236 Network of Schools (Tarjan + 缩点)
Network of Schools Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 12240 Accepted: 48 ...
- 后台获取前台runat=server的select的值
<li> <asp:Label ID="Lpro" runat="server" Text="省份:" CssClass= ...
- 【摘自网络】陈奕迅&&杨千嬅
揭陈奕迅杨千嬅相爱18年恋人未满的点滴片段 文/一床情书 但凡未得到,但凡是过去,总是最登对 ——题记 已经仙逝多年的香港歌坛天后梅艳芳曾经在<似是故人来>里唱道:“但凡未得到,但凡是过去 ...
- TCP keepalive overview
2. TCP keepalive overview In order to understand what TCP keepalive (which we will just call keepali ...