- insert
- query
- update
- remove
- getmore
- command
2、system.profile.ns
查询条件
op为command时使用
期望返回数量,query语句期望返回的数量,如limit(40)
实际返回的数量
skip()方法跳过的记录数
扫描次数,当扫描次数大于返回的数量(ntoreturn),考虑使用索引
nscanned和nscannedObjects区别:
1、nscanned:根据索引扫描文档,扫描的可能返回实际返回的数量
http://*.com/questions/13910097/explain-in-mongodb-differences-between-nscanned-and-nscannedobjects
操作执行时间
The possible lock types are:
The possible locking modes for the lock types are as follows: