Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我使用背景索引来索引我的收藏。
db.collection.ensureIndex({name: 1}, {background: true})
索引完成后,假设我写入此集合。
索引更新是阻塞操作还是非阻塞操作?
相反,如果我执行了前景索引呢?