Is there a way to monitor the response time since mongo got a command to execute till the returned an answer? I couldn't find any in MMS nor in Server Density? Is there other service that can give me that information?
Thanks
Is there a way to monitor the response time since mongo got a command to execute till the returned an answer? I couldn't find any in MMS nor in Server Density? Is there other service that can give me that information?
Thanks
MongoDB 分析:http ://www.mongodb.org/display/DOCS/Database+Profiler应该能够为您分析您的查询并告诉您响应时间是多少。
默认设置是2
这样的:
db.setProfilingLevel(2);
它将所有操作写入db.system.profile
. 您还需要1
对慢速查询进行更精确的测试。