Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
Description
Description
Downstream Change Summary
The default index build external sort memory limit default was lowered from 500mb to 200mb.
Description of Linked Ticket
The thread pool size is currently set to 10, but with today's default setting of 500MB for each external sorter, this limit makes it possible to exceed most instances' free memory. If we reduced the limit to something like 3, that would increase stability, without sacrificing functionality.
Scope of changes
- Update https://docs.mongodb.com/master/reference/limits/#Memory-Usage-in-Index-Builds
- Update https://docs.mongodb.com/master/reference/parameters/#param.maxIndexBuildMemoryUsageMegabytes
- https://docs.mongodb.com/master/core/index-creation/#index-build-impact-on-database-performance
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- documents
-
SERVER-44984 Reduce index thread pool size and reduce memory used per build
-
- Closed
-
- is duplicated by
-
DOCS-13589 maxIndexBuildMemoryUsageMegabytes default is 200mb for recent versions of 4.2 and 4.4
-
- Closed
-