推荐工具
› RoboMongo
推荐书目
› 50 Tips and Tricks for MongoDB Developers
Related Blogs
› Snail in a Turtleneck
lj0014
V2EX  ›  MongoDB

mongodb 运行日志里的查询的 nscanned 值不等于该查询命令在 shell 里 explain 的

  •  
  •   lj0014 · Mar 13, 2014 · 5446 views
    This topic created in 4620 days ago, the information mentioned may be changed or developed.
    同样的查询,我在mongo shell里explain出来nscanned是42,但是在mongod的运行日志里看到的是122732。
    有人了解这个原因吗?
    Supplement 1  ·  Mar 14, 2014
    附上问题截图


    Supplement 2  ·  Mar 14, 2014
    2 replies  •  1970-01-01 08:00:00 +08:00
    sheaven
    sheaven
    Mar 14, 2014
    1
    图太小看不清,一般以explain的输出为准
    leondel
    leondel
    Mar 15, 2014
    2
    路过,发现跟楼主头像有点搭...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1500 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:33 · PVG 07:33 · LAX 15:33 · JFK 18:33
    ♥ Do have faith in what you're doing.