- MongoDB Administrator’s Guide
- Cyrus Dasadia
- 57字
- 2021-07-02 15:47:49
Creating background indexes
In the previous recipes, whenever we've created indexes, it has always been in the foreground that is, the database server blocks all changes to the database until the index creation is completed. This is definitely not suitable for larger datasets where index creation time can take a few seconds which could be application errors.