Sign inSign up

andriik/mongodb-index-advisor

By andriik

Updated over 2 years ago

mongodb-index-advisor

Image
Machine learning & AI
Databases & storage
Monitoring & observability
0

754

andriik/mongodb-index-advisor repository overview

MongoDB Index Advisor

This application is designed to enhance the efficiency of MongoDB database administrators (DBAs) and developers by automating the process of identifying slow queries, redacting sensitive information, and providing index suggestions using advanced AI capabilities.

Features
  • MongoDB Query Profiler Integration: Connects to your MongoDB instance and retrieves slow query data from the system.profile collection.
  • Redaction of Sensitive Information: Analyzes the retrieved MongoDB queries, redacts sensitive information, and presents them for further analysis.
  • AI-powered Index Suggestions: Leverages AI capabilities to generate index suggestions based on the extracted MongoDB queries, aiding in optimizing query performance. Currently supported AI providers: OpenAi, Ollama
Usage
# ollama
docker run --rm -it --net host andriik/mongodb-index-advisor -aiProvider ollama -dbName rto -mongoURI "mongodb://127.0.0.1:27017"
# openai
docker run --rm -it --net host andriik/mongodb-index-advisor -aiProvider openai -openaiApiKey "sk-token" -openaiMaxTokens 500 -dbName rto -mongoURI "mongodb://127.0.0.1:27017"

Tag summary

Content type

Image

Digest

sha256:75e76c967

Size

54 MB

Last updated

over 2 years ago

docker pull andriik/mongodb-index-advisor