express execution path
Parent: MongoDB 8.0 performance changes & read-path regressions vs 7.0 · Published reference · snapshot 2026-10-15
↓ Facts as markdownall context files
Depth-first rabbithole dossier for express execution path; source-anchored research pack.
These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.
Measurements and reference values
- [medium] The Express path in MongoDB 8.0 can be extended to updates, deletes, and other unique index lookups, with dedicated C++ code using SortedDataInterface and RecordStore APIs providing at least a 10% performance win. Sources: https://www.mongodb.com/company/blog/engineering/mongodb-8-0-improving-performance-avoiding-regressions, https://jira.mongodb.org/browse/SERVER-81850 [source]
- [low] Local testing with w:1, j:0 shows that using dedicated code for update by _id in the Express path yields a 10% end-to-end improvement, with larger gains expected for internal codepaths like oplog application. Sources: https://jira.mongodb.org/browse/SERVER-81850 [source]
- [low] The Express path optimization was validated by a tiger team member's experiment to bypass the query planner and hard code reading from the storage engine, which delivered significant improvements to YCSB 100% read workloads. Sources: https://www.mongodb.com/company/blog/engineering/mongodb-8-0-improving-performance-avoiding-regressions [source]
Facts and statements
- [high] Starting in MongoDB 8.0, a limited set of queries, including `_id` equality matches, skip regular query planning and execution to use an optimized index scan plan called the Express path. (verified as of 2026-10-15) Sources: https://www.mongodb.com/docs/manual/release-notes/8.0.md, https://www.mongodb.com/docs/manual/reference/explain-results.md, https://www.percona.com/blog/percona-server-for-mongodb-8-0-the-most-performant-ever/ [source]
- [medium] The Express path in MongoDB 8.0 uses one of the following plan stages: `EXPRESS_CLUSTERED_IXSCAN`, `EXPRESS_DELETE`, `EXPRESS_IXSCAN`, or `EXPRESS_UPDATE`. (verified as of 2026-10-15) Sources: https://www.mongodb.com/docs/manual/release-notes/8.0.md, https://www.mongodb.com/docs/manual/reference/explain-results.md [source]
- [low] The Express path in MongoDB 8.0 is designed to support shard filtering only for unique, single-field indexes, as defined in SERVER-87016. Sources: https://jira.mongodb.org/browse/SERVER-97860 [source]
- [low] The SERVER-81850 ticket proposes that the Express (aggressive IDHACK) path should also work for clustered collections, skipping the _id index and going directly to the record store. Sources: https://jira.mongodb.org/browse/SERVER-81850 [source]
- [low] The Express path index selection algorithm finds an index suitable for the express equality path that satisfies the query with exact bounds and provably returns at most one result document, preferring the index with the fewest fields. Sources: https://raw.githubusercontent.com/mongodb/mongo/v8.0/src/mongo/db/query/plan_executor_express.h [source]
- [high] A bug in MongoDB 8.0 allows the Express path to incorrectly use unique, multi-field indexes, which can return incorrect results as tracked in SERVER-97860. (verified as of 2026-10-15) Sources: https://www.mongodb.com/docs/manual/release-notes/8.0.md, https://jira.mongodb.org/browse/SERVER-97860 [source]
- [low] To mitigate the Express path bug in MongoDB 8.0-8.0.4, users should upgrade to 8.0.6, add a hint() to the query, or set internalQueryDisableSingleFieldExpressExecutor to true to disable the fault path for non-_id queries. (verified as of 2026-10-15) Sources: https://jira.mongodb.org/browse/SERVER-97860 [source]
- [low] In MongoDB 8.0, find-by-_id operations using non-simple projections miss the Express executor, so default projections should be supported to avoid falling back on idhack. Sources: https://jira.mongodb.org/browse/SERVER-91825 [source]
- [low] Starting in MongoDB 8.0, wiredTiger.concurrentTransactions is renamed to queues.execution. (verified as of 2026-10-15) Sources: https://www.mongodb.com/docs/manual/release-notes/8.0-compatibility.md [source]
Related concepts
- express — is a part of express execution path
- path — is a part of express execution path
- execution — is a part of express execution path
Children
- No children recorded.