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. mongodb数据迁移到hbase

    mongodb数据迁移到hbase 导入包 # encoding: utf-8 ''' @author: zcc @license: (C) Copyright 2013-2017, Node Sup ...

  2. 团队项目需求心得——慢阻肺疾病管理APP

    一.项目介绍: 先上图: 这是我们小组开发项目的系统构成图. 本项目研发面向家庭/社区,对稳定期中慢阻肺患者病情和环境全方位监测.简单病情趋势分析和患者行为干预,并且提供患者与家庭医生和专家沟通渠道的 ...

  3. 第六次作业———numpy数据集练习

    1. 安装scipy,numpy,sklearn包 2. 从sklearn包自带的数据集中读出鸢尾花数据集data 3.查看data类型,包含哪些数据 4.取出鸢尾花特征和鸢尾花类别数据,查看其形状及 ...

  4. 判断一个js对象是否是Array

    今天在做题时遇到这个问题,找答案的时候,发现评论里大神好多 . 在开发中,我们经常需要判断某个对象是否为数组类型,总结判断某个对象是否是数组的方法. 1.typeof 操作符 对于Function, ...

  5. 《A Knowledge-Grounded Neural Conversation Model》

    abstract 现在的大多数模型都可以被应用在闲聊场景下,但是还没有证据表明他们可以应用在更有用的对话场景下.这篇论文提出了一个知识驱动的,带有背景知识的神经网络对话系统,目的是为了在对话中产生更有 ...

  6. AIX下core文件的分析

    笔者曾在AIX系统下使用C语言开发多个应用系统.众所周知,C语言编写程序时容易出现内存使用不当的BUG,例如内存越界.使用野指针.内存未初始化等等.在程序运行时,这些BUG很可能造成程序崩溃,但在测试 ...

  7. <html> ---- position

    position 固定的属性,是全局的.和DIV层次无关. <!DOCTYPE html> <html lang="en"> <head> &l ...

  8. Android测试中常用的adb命令

    进入root权限adb root adb remount 重启手机 adb reboot 查看手机devices版本(adb是否连接手机) adb devices 点亮手机电源键/菜单键/home键 ...

  9. 2018-计算机系机试-A

    #include<stdio.h> #include<cstdio> #include<cmath> #include<cstring> #includ ...

  10. C# Ini、Json、Xml 封装类

    1.Ini是什么?(我对它的理解,用于存储用户配置信息的文件,该文件放在用户电脑...) INI文件是一个无固定标准格式的配置文件.它以简单的文字与简单的结构组成,常常使用在Windows操作系统,或 ...