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 什么时候需要重建索引
@imongo
與一般數據庫相同的理念,查詢慢的時候都必須考量索引是否建置合理,可能已經不符當前的查詢需求。
與一般數據庫不同的是,MongoDB集合在長期大量的刪除&新增,其實是不需要重建索引的,在WiredTiger的引擎,數據在新增與刪除時就順便做了B-Tree的平衡。
Thanks for your help!
与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待