Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

adiwalv/DB-Explain-Visualizer

Open more actions menu

Repository files navigation

Installation for Ubuntu

for 18.04

sudo add-apt-repository ppa:vikasadiwal/ppa
sudo apt-get update
sudo apt install dbexplain

Accessing the application

Just type this in the terminal:

dbexplain

Or else visit localhost/dbexplain/ in your browser of choice!

Sample DB

I have included a sample DB for testing. You can import it using :

mongoimport -v --file=sample_db/zips.json

This will create a Database named 'test' and using that db it will fill up collection 'zips'. Now you can fire up these commands below to parse Query Plan. For example:

mongo localhost/test --eval "db.zips.find().limit(10).explain('allPlansExecution')" > test.json

Screenshots

Homepage

alt text

Create a .json file for your database query. Press ? on the homepage

alt text

Explain a custom query

alt text

Result of Explain

alt text

About

Visualize the query plan of mongoDB using this tool!

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.