Skip to content
M

mongodb/mongodb-query-optimizer

Analyze and optimize query performance using Atlas Performance Advisor

Star
#12780in AI Skills
0In stores

Description

mongodb-query-optimizer is an agent skill that diagnoses slow MongoDB queries and recommends indexes. It works from the explain plan, the in…

Highlights

  • Explain plan analysis
  • ESR rule for compound indexes
  • Atlas Performance Advisor review
  • Finds redundant indexes
  • Prefers covered queries

Ratings & Reviews

No ratings yet

Be the first to rate mongodb/mongodb-query-optimizer.

People also visit

M

mongodb-query-optimizer

Help with MongoDB query optimization and indexing

AI Skills
Get
M

mongodb-skills

Official MongoDB agent skills for schema design, query tuning, search

AI Skills
Get
D

database-optimizer

Optimizes database queries and improves performance across PostgreSQL

AI Skills
Get
M

mongodb-search-and-ai

Guides MongoDB users through implementing and optimizing Atlas Search

AI Skills
Get
S

sql-optimization-patterns

Optimizes SQL queries and indexes using EXPLAIN analysis

AI Skills
Get
M

mongodb

Work with MongoDB databases using best practices

AI Skills
Get

mongodb/mongodb-query-optimizer FAQ

What does this skill do?

It diagnoses slow MongoDB queries and recommends indexes, using explain plans, existing indexes and Atlas Performance Advisor output.

How do I install it?

Run npx skills add https://github.com/mongodb/agent-skills --skill mongodb-query-optimizer, or paste the skill link into your coding assistant and ask it to install the skill.

What is the ESR rule?

The skill uses it to order compound index fields: equality first, then sort, then range.

Does it need my cluster data?

The page says it pulls explain() stats and Performance Advisor data from your cluster to base its suggestions on real workload.

What are the best mongodb/mongodb-query-optimizer alternatives?

Popular alternatives to mongodb/mongodb-query-optimizer include mongodb-query-optimizer, mongodb-skills and database-optimizer. See all mongodb/mongodb-query-optimizer alternatives

Developer Stuff

Badges