Introduce MongoDB GUI Client Compass
Anyone who has experience with MySQL and Oracle will get puzzled by the absence of GUI tool for MongoDB.
There was really missing before I met Compass.
I did try to use RoboMongo tool. It showed up too messy to use. I erased it.
Let's use the Compass Community Edition from MongoDB.
MongoDB Compass Community Edition
It is GUI tool. It is supporting belows.
- View, add, and delete databases andcollections
- Monitor performance in real time and identify slow queries
- View and interact with documents with full CRUD functionality
- Build and run ad hoc queries
- Visually explore the structure of data in your database
- View and optimize query performance with visual explain plans
- Manage indexes: view stats, create, and delete
- Create and modify data validation rules
This is Compass.
Download and Install the Compass
You can download it from mongodb.com.
www.mongodb.com
Now you can download version 1.11.1 Community Edition. It currently supports OS X, RedHat, Ubuntu, Windows.
Please download and install it that matched to your OS.
Connect to DB by using Compass
You need connection URL to connect DB.
You can get it from your mLab dashboard.
If you are not using mLab, it is ok, because all connection URL is provided by any vendors.
I will use my mLab account to connect.
Get Connection URL in mLab
Please navigate to the detailed info of your instance.
Please copy the MongDB URI from it. It is shown at 'to connect' message block.
The compass will detect it when you launching it after copying the URI.
You can simply use it.
You have to change the username and password info from the URI.
Now you are connected.
Let's use the compass since we connected. How? as your own will.
This is the end up of this post.