MongoDB and GUI Management interface

Source: Internet
Author: User
Tags configuration settings mongodb mongodb gui mongodb atlas

MongoDB


https://www.mongodb.com/




MongoDB Atlas


Database as a Service


The best way to deploy, operate, and scale MongoDB in the cloud.


Available on AWS, Azure, and Google Cloud Platform




Launch a new app or easily migrate to MongoDB Atlas with zero downtime.








Official Guidance Document




https://docs.mongodb.com/manual/tutorial/getting-started/




db.collection (‘inventory’). insertMany ([


 // MongoDB adds the _id field with an ObjectId if _id is not present


 {item: "journal", qty: 25, status: "A",


     size: {h: 14, w: 21, uom: "cm"}, tags: ["blank", "red"]},


 {item: "notebook", qty: 50, status: "A",


     size: {h: 8.5, w: 11, uom: "in"}, tags: ["red", "blank"]},


 {item: "paper", qty: 100, status: "D",


     size: {h: 8.5, w: 11, uom: "in"}, tags: ["red", "blank", "plain"]},


 {item: "planner", qty: 75, status: "D",


     size: {h: 22.85, w: 30, uom: "cm"}, tags: ["blank", "red"]},


 {item: "postcard", qty: 45, status: "A",


     size: {h: 10, w: 15.25, uom: "cm"}, tags: ["blue"]}


])


.then (function (result) {


// process result


})






http://www.runoob.com/mongodb/mongodb-create-collection.html




MongoDB is a database based on distributed file storage. Written in C ++. Designed to provide scalable, high-performance data storage solutions for web applications.




MongoDB is a product between a relational database and a non-relational database. It is the most feature-rich among non-relational databases and most like a relational database.








NoSQL (NoSQL = Not Only SQL), which means "not only SQL".




On modern computing systems, huge amounts of data are generated on the network every day.




A large part of this data is processed by a relational database management system (RDBMS). 1970 E.F. Codd ’s paper on the relational model "A relational model of data for large shared data banks", which makes data modeling and application programming easier.




Through application practice, the relational model is very suitable for client-server programming and far exceeds the expected benefits. Today it is the leading technology for structured data storage in network and business applications.




NoSQL is a new database revolutionary movement. Some people have proposed it in the early days, and the trend will grow even higher in 2009. Proponents of NoSQL advocate the use of non-relational data storage. Compared with the overwhelming use of relational databases, this concept is undoubtedly a brand-new injection.












Command Line


http://www.runoob.com/mongodb/mongodb-connections.html




In the following example we have created the database runoob:




> use runoob


switched to db runoob


> db


runoob


>


If you want to see all databases, you can use the show dbs command:




> show dbs


admin 0.000GB


local 0.000GB


runoob 0.000GB


>


As you can see, the database Runoob we just created is not in the list of databases, and to display it, we need to insert some data into the Runoob database.








> db.runoob.insert ({"name": "Rookie tutorial"})


WriteResult ({"nInserted": 1})


> show dbs


local 0.078GB


runoob 0.078GB


test 0.078GB


>






GUI Tools--mongo-express



Https://www.npmjs.com/package/mongo-express






web-based MongoDB Admin interface written with node. js, Express and BOOTSTRAP3










Features

Connect to multiple databases

View/add/delete databases

View/add/rename/delete Collections

View/add/update/delete Documents

Preview audio/video/image Assets Inline in collection view

Nested and/or large objects is collapsible for easy overview

Async On-demand loading of Big document properties (>100kb default) to keep collection view fast

Gridfs Support-add/get/delete Incredibly large files

Use BSON data types in documents

Mobile/responsive-bootstrap 3 works passably on small screens If you're ' re in a bind

Connect and authenticate to individual databases

Authenticate as admin to view all databases

Database blacklist/whitelist

Custom CA and CA validation disabling

Supports Replica Sets









Configuration settings






Http://www.cnblogs.com/xiaohuochai/p/8794687.html





...

if (process.env.VCAP_SERVICES) {

 var dbLabel = ‘mongodb-2.4‘;

 var env = JSON.parse(process.env.VCAP_SERVICES);

 if (env[dbLabel]) {

   mongo = env[dbLabel][0].credentials;

 }

} else {

 mongo = {

   db:‘blogs‘,

   host:"118.1.1.1",

   port:27017,

   ssl:false,

   username:‘blogs‘,

   password:‘123456‘,

   url:"mongodb://118.1.1.1:27017/blogs",

   // setting the connection string will only give access to that database

   // to see more databases you need to set mongodb.admin to true or add databases to the mongodb.auth list

   connectionString: process.env.ME_CONFIG_MONGODB_SERVER ? ‘‘ : process.env.ME_CONFIG_MONGODB_URL,

 };

}

...










To visit a webpage:






















GUI Tools-NoSQL Manager



https://www.mongodbmanager.com/




MongoDB GUI tool with intelligent Shell for you.

NoSQL Manager for MongoDB

Desktop GUI tool for Mongo database management, administration and development.




























MongoDB and GUI Management interface



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.