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()
  1. opcounters

    意义:The average number of commands performed per second since the last data point

    代表忙不忙,越小越好。(看业务)

  2. 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关键指标意义&各数值区间意义&部署的更多相关文章

  1. MMS关键指标意义&各数值区间意义

    MMS关键指标意义&各数值区间意义 What's MMS MongoDB Management Service (MMS) is a suite of services for managin ...

  2. windows服务器性能监控工具、方法及关键指标

    原文:http://www.cnblogs.com/liulun/p/3543777.html 监控方法 推荐使用windows自带的“性能监视器”(老版本的windows叫性能计数器)来监控服务器的 ...

  3. NumPy 基于数值区间创建数组

    来源:Python Numpy 教程 章节 Numpy 介绍 Numpy 安装 NumPy ndarray NumPy 数据类型 NumPy 数组创建 NumPy 基于已有数据创建数组 NumPy 基 ...

  4. AI大厂算法测试心得:人脸识别关键指标有哪些?

    仅仅在几年前,程序员要开发一款人脸识别应用,就必须精通算法的编写.但现在,随着成熟算法的对外开放,越来越多开发者只需专注于开发垂直行业的产品即可. 由调查机构发布的<中国AI产业地图研究> ...

  5. MongoDB DBA 实践6-----MongoDB的分片集群部署

    一.分片 MongoDB使用分片技术来支持大数据集和高吞吐量操作. 1.分片目的 对于单台数据库服务器,庞大的数据量及高吞吐量的应用程序对它而言无疑是个巨大的挑战.频繁的CRUD操作能够耗尽服务器的C ...

  6. Mongodb副本集+分片集群环境部署记录

    前面详细介绍了mongodb的副本集和分片的原理,这里就不赘述了.下面记录Mongodb副本集+分片集群环境部署过程: MongoDB Sharding Cluster,需要三种角色: Shard S ...

  7. Mongodb副本集+分片集群环境部署

    前面详细介绍了mongodb的副本集和分片的原理,这里就不赘述了.下面记录Mongodb副本集+分片集群环境部署过程: MongoDB Sharding Cluster,需要三种角色: Shard S ...

  8. (转载)高速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是相 ...

  9. ****** 四十九 ******、软设笔记【UML分析和意义】-建模的意义,UML的特点、结构,用例图

    UML UML又称同一建模语言或标准建模语言,是一个支持模型化和软件系统开发的图形化语言,它的作用域不仅支持面向对象的分析与设计,还支持从需求分析开始的软件开发的全过程. 建模的意义: 模型是对现实的 ...

随机推荐

  1. Win7下“回收站已损坏,是否清空该驱动器上的回收站”解决方法

    最近买的移动硬盘,总是不能进行安全删除,有事还会提示“回收站已损坏,是否清空该驱动器上的回收站”,可以通过下面的命令进行解决: 开始–>运行–>cmd 点确定 在cmd窗口输入rd /s ...

  2. windows环境下,spring boot服务使用docker打包成镜像并推送到云服务器私有仓库

    最近在淘宝上学习springcloud教程,其中有几节课是讲解讲本地springboot服务打包成镜像并推送到云服务器私有仓库,但是教程里面用的事Mac环境,我的是Windows环境,而且课程里面没有 ...

  3. java 对小数位的处理 BigDecimal DecimalFormat 常用操作 浅解

    [博客园cnblogs笔者m-yb原创, 转载请加本文博客链接,笔者github: https://github.com/mayangbo666,公众号aandb7,QQ群927113708] htt ...

  4. javascript Base64转码解码

    javascript 使用btoa和atob来进行Base64转码和解码 $scope.checkAddCookie = function() { var expireDate = new Date( ...

  5. 一些常见的“功能性”JS事件

    ————————倒序上升———————— (2)给一些 保存.提交 按钮,添加 防止重复提交 事件(常见一例) $("#submitRank").attr("disabl ...

  6. js事件、事件流以及target、currentTarget、this那些事

    你是如此简单我却将你给遗忘   前面面试被问到js的事件机制  target.currentTarget.碰巧今天有时间来拔一拔,顺便记下.

  7. ./sample_mnist: error while loading shared libraries: libnvinfer.so.4: cannot open shared object file: No such file or directory

    Your library is a dynamic library. You need to tell the operating system where it can locate it at r ...

  8. IIC_slaver 仿真错误

    integer 类型不能直接赋值. 改正之后的代码

  9. java面向对象编程(八)--抽象类、接口

    1.抽象类 1.1抽象类概念 当父类的一些方法不能确定时,可以用abstract关键字来修饰该方法[抽象方法],用abstract来修饰该类[抽象类]. //抽象类的必要性[Demo124.java] ...

  10. Delphi Redis Client

    https://github.com/danieleteti/delphiredisclient