Well, explain() is not available on count(), but if I do
db.Docs.find({price:{$lte:1000}}).explain() then I can see that the
BtreeCursor is used, so that should be fine
mongostat doesn't show any numbers except zeros, even if I run the
count() query multiple times (and I ensured that mongostat is
connected). Anyways, if I put the profilingLevel to 2 on the db, I can
see those queries over there:
Tue Oct 05 14:04:59 [conn1] query spm.$cmd ntoreturn:1 command:
{ count: "Offer", query: { catlft: { $lte: 150000.0 } }, fields:
{ title: 1.0 } } reslen:64 bytes:48 442ms
don't know what's going on here.