- MongoDB 4 Quick Start Guide
- Doug Bierer
- 185字
- 2021-08-13 15:25:05
Why use the mongo shell?
A fair question to ask is why use the mongo shell? After all, given that the wonderful graphical utility MongoDB Compass is provided free-of-charge, why bother with the shell? The answer lies in the very nature of Compass; it's graphical in nature, which means you are out of luck when a customer in another city (or even another country!) calls you late on a Friday to tell you the database is down.
Although Compass can connect remotely, its requirements are much more demanding, and you would most likely need the support of the customer IT department to successfully connect. The mongo shell, on the other hand, is text based and only requires a simple, relatively common SSH connection to a server on the customer site.
Another massive advantage of the mongo shell over Compass is that the shell can run scripts. Getting back to the late Friday Emergency scenario, imagine being able to upload and run a rescue script over an SSH connection, rather than trying to perform manual surgery on the customer's database using Compass.
- 我的J2EE成功之路
- 條碼技術(shù)及應(yīng)用
- 機(jī)器自動(dòng)化控制器原理與應(yīng)用
- 小型電動(dòng)機(jī)實(shí)用設(shè)計(jì)手冊(cè)
- Python Data Science Essentials
- 基于32位ColdFire構(gòu)建嵌入式系統(tǒng)
- 工業(yè)機(jī)器人應(yīng)用案例集錦
- Pentaho Analytics for MongoDB
- 水晶石影視動(dòng)畫(huà)精粹:After Effects & Nuke 影視后期合成
- 經(jīng)典Java EE企業(yè)應(yīng)用實(shí)戰(zhàn)
- HBase Essentials
- 30天學(xué)通Java Web項(xiàng)目案例開(kāi)發(fā)
- 案例解說(shuō)虛擬儀器典型控制應(yīng)用
- Modern Big Data Processing with Hadoop
- Practical Autodesk AutoCAD 2021 and AutoCAD LT 2021