摘要:
命令行和配制后文件接口为Mongodb的管理者提供了大量的控制选项。在这篇文章中提供了对于一般应用场景的最佳实践配置。 Configure the Database 对于绝大多数会单服务,这个配置足够了。 fork is true,就是允许以daemon模式运行。 bindIp is localho 阅读全文
摘要:
在监控中,都是去探测这些状态数据,然后换算到时间刻度上,像zabbix。 show status like 'uptime'; --查看select语句的执行数 show [global] status like 'com_select'; --查看insert语句的执行数 show [global 阅读全文