0

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

4

1 回答 1

3

MongoDB 分析:http ://www.mongodb.org/display/DOCS/Database+Profiler应该能够为您分析您的查询并告诉您响应时间是多少。

默认设置是2这样的:

db.setProfilingLevel(2);

它将所有操作写入db.system.profile. 您还需要1对慢速查询进行更精确的测试。

于 2012-11-20T11:22:54.373 回答