推荐工具
› 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 · 5383 views
    This topic created in 4581 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
        1
    sheaven  
       Mar 14, 2014
    图太小看不清,一般以explain的输出为准
    leondel
        2
    leondel  
       Mar 15, 2014
    路过,发现跟楼主头像有点搭...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5030 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 06:57 · PVG 14:57 · LAX 23:57 · JFK 02:57
    ♥ Do have faith in what you're doing.