发布于 2015-09-14 14:59:38 | 191 次阅读 | 评论: 0 | 来源: 网络整理

replSetGetStatus

The replSetGetStatus command returns the status of the replica set from the point of view of the current server. You must run the command against the admin database. The command has the following prototype format:

{ replSetGetStatus: 1 }

However, you can also run this command from the shell like so:

rs.status()

也可以参考

副本集状态参考” and “副本集基本概念

最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务