MongoDB Query Optimization Tooling: Compass Explain, Atlas Query Insights and Performance Advisor

Parent: MongoDB Performance Troubleshooting · Published reference · snapshot 2026-10-19 · skill atlas-diagnostics-expert/references/mongodb-query-optimization-tooling.md

Also known as: AI and LLM-Assisted MongoDB Query and Index Optimization, Atlas Performance Advisor, Atlas Performance Advisor (index and schema suggestions), Atlas Query Insights and Query Profiler, Atlas Search vs $text vs $regex (search offload decision), Compass Explain Plan Visualizer, Post-8.0 Query Engine Changes (8.1 and 8.2 rapid releases and 9.0)

↓ Facts as markdownall context files

Compass Explain Plan, Atlas Query Insights (Query Shapes, Namespace Insights, Query Profiler), Performance Advisor index, drop-index and schema suggestions, the 8.1–9.0 release-note changes to query observability, LLM-assisted tooling (Compass assistant, MongoDB MCP Server) and the $regex versus $text versus Atlas Search decision are the tooling surfaces around MongoDB query optimization. Compiled from MongoDB manual, Atlas and Compass pages plus the run's verified claims.

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.

Definitions

Structure and components

How it works

How-to and procedures

Examples and snippets

Measurements and reference values

Problems, failure modes and limitations

Comparisons and alternatives

Facts and statements

Related concepts

Children

Frontier under this node: Collation-based case-insensitive indexes as a $regex alternative (2.80), Namespace Insights

← the whole tree · 3D view· how to read this page