MongoDB关键指标意义&各数值区间意义&部署
part 1 mms图
What's MMS
MongoDB Management Service (MMS) is a suite of services for managing MongoDB deployments.
统计图表的数据来源
all statistics can show in mongo shell by:
>db.serverStatus()
- opcounters
意义:The average number of commands performed per second since the last data point
代表忙不忙,越小越好。(看业务)

- queue
意义:The number of operations queued waiting for any lock -- 排队未执行的命令
越小越好,平时<1

3. connection
意义:The number of currently active connections to this server. A stack is allocated per connection; thus very many connections can result in significant RAM usage.
越小越好。
=client (connected) * 集群server 数目

4. lock
意义:The percent of time write locked. The effective lock % is the percent of time in the global lock plus the percent of time locked by the hottest database. Because the data is sampled and combined, it is possible to see values over 100%.
越小越好。
造成锁增加的行为:update delete insert ...

5. Btree
意义:A large number of misses means that you are indexes are too big to fit in RAM, which can cause a significant performance penalty -- 因为数据不再mem,从disk 加载到mem。
mongodb 使用 btree index
missratio = misses/access 最好是0
access: The number of times the btree indexes have been accessed.
hits:The number of times a btree page was in memory
misses: The number of times a btree page was not in memory
注意:不要只看一条线

6. Asserts
意义:The number of regular asserts raised since this process started
"asserts" : {
"regular" : ,
"warning" : ,
"msg" : ,
"user" : ,
"rollovers" :
},
不要只看一条线

7. Page faults
意义:The number of page faults on this process. In non-Windows environments this is hard page faults only.
越小越好。

ref:link
PART 2 mms-monitoring-agent and mms-backup-agent
monitoring agent: 主要用于监控db 状态
backup agent 主要用于备份db 到云端
monitoring:
安装:
https://docs.cloud.mongodb.com/tutorial/install-monitoring-agent-with-deb-package/
如何开启/关闭
sudo start mongodb-mms-monitoring-agent
sudo stop mongodb-mms-monitoring-agent
https://docs.cloud.mongodb.com/tutorial/start-or-stop-monitoring-agent/
backup :
https://docs.cloud.mongodb.com/tutorial/install-backup-agent-with-deb-package/
how to start & stop
sudo start mongodb-mms-backup-agent
或者:
sudo nohup ./mongodb-mms-backup-agent >> backup-agent.log 2>&1 &
注意权限
https://docs.cloud.mongodb.com/tutorial/start-or-stop-backup-agent/
MongoDB关键指标意义&各数值区间意义&部署的更多相关文章
- MMS关键指标意义&各数值区间意义
MMS关键指标意义&各数值区间意义 What's MMS MongoDB Management Service (MMS) is a suite of services for managin ...
- windows服务器性能监控工具、方法及关键指标
原文:http://www.cnblogs.com/liulun/p/3543777.html 监控方法 推荐使用windows自带的“性能监视器”(老版本的windows叫性能计数器)来监控服务器的 ...
- NumPy 基于数值区间创建数组
来源:Python Numpy 教程 章节 Numpy 介绍 Numpy 安装 NumPy ndarray NumPy 数据类型 NumPy 数组创建 NumPy 基于已有数据创建数组 NumPy 基 ...
- AI大厂算法测试心得:人脸识别关键指标有哪些?
仅仅在几年前,程序员要开发一款人脸识别应用,就必须精通算法的编写.但现在,随着成熟算法的对外开放,越来越多开发者只需专注于开发垂直行业的产品即可. 由调查机构发布的<中国AI产业地图研究> ...
- MongoDB DBA 实践6-----MongoDB的分片集群部署
一.分片 MongoDB使用分片技术来支持大数据集和高吞吐量操作. 1.分片目的 对于单台数据库服务器,庞大的数据量及高吞吐量的应用程序对它而言无疑是个巨大的挑战.频繁的CRUD操作能够耗尽服务器的C ...
- Mongodb副本集+分片集群环境部署记录
前面详细介绍了mongodb的副本集和分片的原理,这里就不赘述了.下面记录Mongodb副本集+分片集群环境部署过程: MongoDB Sharding Cluster,需要三种角色: Shard S ...
- Mongodb副本集+分片集群环境部署
前面详细介绍了mongodb的副本集和分片的原理,这里就不赘述了.下面记录Mongodb副本集+分片集群环境部署过程: MongoDB Sharding Cluster,需要三种角色: Shard S ...
- (转载)高速ADC的关键指标:量化误差、offset/gain error、DNL、INL、ENOB、分辨率、RMS、SFDR、THD、SINAD、dBFS、TWO-TONE IMD
(一)一个基本概念 分贝(dB):按照对数定义的一个幅度单位.对于电压值,dB以20log(VA/VB)给出:对于功率值,以10log(PA/PB)给出.dBc是相对于一个载波信号的dB值:dBm是相 ...
- ****** 四十九 ******、软设笔记【UML分析和意义】-建模的意义,UML的特点、结构,用例图
UML UML又称同一建模语言或标准建模语言,是一个支持模型化和软件系统开发的图形化语言,它的作用域不仅支持面向对象的分析与设计,还支持从需求分析开始的软件开发的全过程. 建模的意义: 模型是对现实的 ...
随机推荐
- 13. Roman to Integer ★
题目内容: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range fr ...
- FreeType使用的总结
http://www.cppblog.com/liangairan/archive/2016/09/11/214270.html 这里说一下Freetype的关键点,比较基础的在很多文章已经有说明,这 ...
- ubuntu google chrome 忽略证书错误 -- 解决自签名证书不支持的问题
ubuntu chrome 打开自签名的证书的服务器的https时,提示 Your connection is not private. 错误代码:NET::ERR_CERT_AUTHORITY_IN ...
- react native进一步学习(NavigatorIOS 学习)
特别申明:本人代码不作为任何商业的用途,只是个人学习的一些心得,为了使得后来的更多的程序员少走一些弯路.*(如若侵犯你的版权还望见谅)*. 开发工具:WebStorm,xcode 1. rn的创建的时 ...
- LIMIT用法
select * from employees order by hire_date DESC LIMIT 0,3; 直接给语句说明:根据hire_date 降序排列,LIMIT 第一个参数表示从第几 ...
- SpringCloud系列------Config-Server
关于Config-Server的那些事&踩过的坑! 一.概述 在一个相对成熟,高可用的Spring cloud项目中,都会配置一个配置中心去管理各个服务的配置文件,而往往配置文件不会放到本地配 ...
- ZooKeeper 单机版安装和配置
Zookeeper 下载链接:http://mirrors.shu.edu.cn/apache/zookeeper/ #wget https://mirrors.tuna.tsinghua.edu.c ...
- python模块之json_pickle_shelve
序列化:明显是json重要,并且应用场景多. #!/usr/bin/env python # coding:utf-8 import json ## 非常重要的模块,用于不同种编程语言间交换数据. d ...
- Log4net 配置文件组成
Example: <?xml version="1.0" encoding="utf-8" ?><configuration><l ...
- java第七周----json
JSON(JavaScript Object Notation, JS 对象标记) 是一种轻量级的数据交换格式.它基于 ECMAScript (欧洲计算机协会制定的js规范)的一个子集,采用完全独立于 ...