Mongodb监控、性能排查工具mongostat
发布日期:2021-05-14 14:11:23 浏览次数:22 分类:精选文章

本文共 3164 字,大约阅读时间需要 10 分钟。

mongostat ��� MongoDB ������������������������������������������������������ MongoDB������������������������������������������������������������������������������������������������������������������������������������

������������

mongostat ������������������������������

mongostat --host 192.168.1.100:27017 -u root -p123456 --authenticationDatabase admin

���������������������

  • --host��������������������� MongoDB ��������������������������������������������������� IP ������������������ --port ������������������������
  • -u������������������������������������������������������
  • -p������������������������
  • --authenticationDatabase������������������������������������������������������������������������������

������������

������ mongostat ������������������������������������������������������������������������������������

  • insert/s������������������������������������������������������������������������������ * ���������������������������
  • query/s���������������������������������
  • update/s���������������������������������
  • delete/s���������������������������������
  • getmore/s��������������������������� getmore ���������������
  • command������������������������������������������������������������������ | ������������������������������������������������������
  • dirty��������� WiredTiger ������������������������������������������
  • used��������� WiredTiger ������������������������������������������
  • flushes��������� WiredTiger ��������� Rounded Flush Statistics��������������������������������������� checkpoint ������������������ MMAPv1 ������������������������ fsync ������������������
  • vsize������������������������������ MB ������������������ mongostat ������������������������������������
  • res������������������������������������ MB ������������������ mongostat ������������������������������������
  • conn��������������������������������� qr���qw���ar ��� aw ��������������������������������������������������������������������������� maxIncomingConnections ������������������������������������������ 5000 ���������

������������

������������ (netIn ��� netOut)��������� MongoDB ���������������������������������������������������������������������������������������������������������

������������ (qr���qw���ar���aw������������������������������������������������������������������������������������������������������������������������������������������������������

������������ (conn)��������������������������������������������������������������������������������������� maxIncomingConnections ���������

������������

  • ��������������������� mongostat ���������������������������������������������������
  • ������������������������ query/s ��� update/s ���������������������������������������������������������������������������������������������
  • ������������������������������������ netIn ��� netOut ������������������������������������������������������������������������������������
  • ��������������������������������������� res ������������������������������������������������������������������
  • ������������ mongostat ������������������������������ MongoDB ������������������������������������������������������������������������������������������������������������������

    上一篇:MongoDB设置索引,显著提升查询速度
    下一篇:一台电脑上的adb连接另一台电脑上的模拟器

    发表评论

    最新留言

    路过,博主的博客真漂亮。。
    [***.116.15.85]2025年04月26日 12时24分15秒