转载请注明出处 http://www.paraller.com 原文排版地址 点击获取更好阅读体验
监控策略
mongo监控的策略主要有以下两种:
- 一系列的工具能够报告实时信息
- 数据库命令能够返回当前数据库的详细精确信息
mongostat
mongostat captures and returns the counts of database operations by type (e.g. insert, query, update, delete, etc.). These counts report on the load distribution on the server.
Use mongostat to understand the distribution of operation types and to inform capacity planning. See the mongostat manual for details.
root@db94dfee43b5:/# mongostat