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. [linux-脚本]shebang(shabang #!)

    使用Linux或者unix系统的人们对#!这个符号都不陌生,但要说出个具体的所以然来,很多人估计还真不行,我们有必要就此整理一下.Shebang这个符号通常在Unix系统的脚本中第一行开头中写到,它指 ...

  2. windows中obs源码编译的坑

    好用的版本: cmake-3.6.1-win64-x64  +  vs2015  + qt-opensource-windows-x86-msvc2015_64-5.7.0   +   obs-stu ...

  3. C++的qsort函数

    void qsort(void * base,int nelem,int width,int (*fcmp)(const void*,const void *) 1.待排序数组首地址 2.数组中待排序 ...

  4. 用indexof来统计字符出现的次数

    代码如下: <!DOCTYPE html> <html lang="en"> <head>     <meta charset=" ...

  5. Bootstrap 总结

     Bootstrap 首先要引入下面三个文件   <!-- 新 Bootstrap 核心 CSS 文件 --> <link href="https://cdn.bootcs ...

  6. sdl2在vs2012上的配置

    网上关于sdl2的配置教程很多,我尽量将我遇到的问题分享给大家. 首先,打开VS2012: 2.点击新建项目:选择空项目,确定即可 (文件名,保存位置,解决方案名称,可以随便填,(我取名为sdlpla ...

  7. Oracle启动和关闭数据库

    本机只安装一个数据库的情况下sqlplus / as sysdba启动数据库startup关闭数据库shutdown immediate

  8. Python第六章(北理国家精品课 嵩天等)

    一 1.集合类型定义及其操作: 集合用{}表示,元素用逗号分隔,无序,唯一 集合操作符: |:并 -:减 &:交 ^ :补 <= <:判断子集关系 >= >:判断包含关 ...

  9. makefile笔记1 - 初识makefile

    前情提要 上一篇<编译入门>讲了变成的基本问题.如果源文件只有一个,就如之前的例子,那么用gcc命令直接编译就可以了.但是很多实际的工程用到的源文件都是相当多的,这时候用命令一个个编译是很 ...

  10. chrome console.log失效

    把红框里的内容去掉就可以了 那个框是过滤..