There are many GUI tools to connect to MongoDB databases and browse but sometimes you need to get to the command line. That moment when something has gone wrong on the database server, and you need to SSH 4-levels deep in order to debug a problem with a database can leave you stuck.
When enabled, the monitored data is uploaded periodically to the vendor’s cloud service. That does not require any additional agents, the functionality is built into the new MongoDB 4.0+. The process is fairly simple to setup and manage. After the single command activation, you will get a unique Web address to access your recent performance.
- This cheat sheet is filled with some handy tips, commands, and quick references to get you connected and CRUD'ing in no time! Get a free MongoDB cluster in MongoDB Atlas. Follow a course in MongoDB University. # Connect MongoDB Shell.
- MongoDB - Cheat Sheet Version 1.0 / 27th December 2012 / Page 1 of 4 @ More information can be found from the MongoDB Tutorial. Finds one arbitrary document ddb.ships.command b–implicit handle to the used database ships – name of the used collection db.ships.find.prettyPrint.
In this cheat sheet you can get a quick refresher on:
Starting the mongo shell
Navigating around Mongo
Working with a collection
Changing groups of documents
Working with individual documents and Indexes
Dangers to avoid
Created for personal use by Red Hat’s own Cian Clarke, we’ve cleaned it up a bit for your use.
There are many GUI tools to connect to MongoDB databases and browse but sometimes you need to get to the command line. That moment when something has gone wrong on the database server, and you need to SSH 4-levels deep in order to debug a problem with a database can leave you stuck.
In this cheat sheet you can get a quick refresher on:
Mongodb Commands Cheat Sheet Printable
Starting the mongo shell
Navigating around Mongo
Working with a collection
Changing groups of documents
Working with individual documents and Indexes
Dangers to avoid
Created for personal use by Red Hat’s own Cian Clarke, we’ve cleaned it up a bit for your use.