Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
编写MongoDB查询命令的时候,索引字段在查询条件中的位置对查询性能有影响吗?
例如字段A为myCollection的索引
db.myCollection.find({A:"xx", B: "yy"})db.myCollection.find({B:"yy", A: "xx"})
这两个查询的效率有区别吗?
@x4_965be
印象中這應該是沒什麼區別的~
与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待