-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
8
On startup, MongoDB needs to fetch the state of all tables' logging config. It does this by opening a metadata:create cursor on each table. This operation is CPU intensive since it needs to merge multiple configs (from table, column group, and file) into one sorted config string before returning to the caller. We could potentially improve MongoDB startup time by creating a special fast-path way to fetch just the state of logging (e.g. "log=(enabled=true)") for a table without going through the expensive config parsing work. This might involve a special flag to metadata:create cursors, or something more exotic.
- related to
-
WT-6629 Support index tables in metadata:create cursors
- Closed
-
SERVER-43664 Speedup WiredTiger storage engine startup for many tables by optimizing WiredTigerUtil::setTableLogging()
- Closed