mongoDB的介绍和相关操作(6)
mongoDB管理工具
http://www.mongodb.org/display/DOCS/Admin+UIs
?
在MongoDB的sharding功能里,Shard Server,用于存储实际的数据块,实际生产环境中一个shard server角色可由几台机器组一个relica set承担,防止主机单点故障
??
???????? 进行相应操作,如重新注册replSet、添加新的节点?????mongostat
使用 mongostat help可以查看参数和结果字段的意思Fields?? inserts????? - # of inserts per second?? query??????? - # of queries per second?? update?????? - # of updates per second?? delete?????? - # of deletes per second?? getmore????? - # of get mores (cursor batch) per second?? command????? - # of commands per second?? flushes????? - # of fsync flushes per second?? mapped?????? - amount of data mmaped (total data size) megabytes?? visze??????? - virtual size of process in megabytes?? res????????? - resident size of process in megabytes?? faults????? ?- # of pages faults per sec (linux only)?? locked?????? - percent of time in global write lock?? idx miss???? - percent of btree page misses (sampled)?? qr|qw??????? - queue lengths for clients waiting (read|write)?? ar|aw??????? - active clients (read|write)?? netIn??????? - network traffic in - bits?? netOut?????? - network traffic out - bits?? conn???????? - number of open connections