Display the execution plan/statistics for MongoDB
Is there a way for me to see how MongoDB executed a query, i.e. which indexes it used, how many blocks it scanned, how much time that 开发者_开发技巧took, and so on?
Similar to what AUTOTRACE would show you in SQL*Plus for Oracle?
http://www.mongodb.org/display/DOCS/Explain
精彩评论