MongoDB configuration, startup, shutdown

Source: Internet
Author: User

MongoDB is a database based on distributed file storage. Written by the C + + language. 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, and is the most versatile and most like relational database in a non-relational database.

Two commands:

Mongod.exe

Mongo.exe

A simple comparison between relational database and NoSQL database

Relational database: NoSQL database:
1 Table Collection
2 Yes Document
3 Column Members

Start MongoDB to configure the path

Mongod--dbpath d:\data\db

Comes with a question

"Mongod.lock is not empty problem solved"
Mongod--dbpath d:\data\db--repair

Connection service: (You need to open a second CMD window at this time)
Mongo

Querying all the Databases
Show databases

Switch to Admin->use admin
Close database service->db.shutdownserver () [Switch to admin before shutting down the database, i.e. use admin]

NoSQL (NoSQL = not-only sql), meaning "not just sql."

On modern computing systems, a huge amount of data is generated every day on the network.

A significant portion of this data is handled by the relational database management system (RDMBSS). The 1970 E.f.codd's paper "A Relational model of data for large shared data banks", which makes data modeling and application programming easier.

The application proves that the relational model is well suited to client server programming, far exceeding the expected benefits, and today it is the leading technology for structured data storage in network and business applications.

NoSQL is a new revolutionary movement in the database, and early on, there was a growing trend in the 2009. NoSQL advocates are advocating the use of non-relational data storage, which is undoubtedly a new kind of thinking injection, relative to the overwhelming use of relational databases.

MongoDB configuration, startup, shutdown

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.