Basic concepts
MongoDB is a document-oriented database, not a relational database. MongoDB is modeless, meaning that the document's keys do not need to be defined in advance, nor are they immutable.
There are some new definitions in MongoDB compared to relational databases:
Basic Operation MongoDB Server-side startup:
My MongoDB loads the C drive, which is started by the following way. The storage directory of DB is established by the-dbpath parameter. You can see more options through Mongod.exe–help.
Information that can be obtained:
- DB version is v2.6.5
- MongoDB Server uses 27017 port
Mongod also initiates an HTTP server that listens to ports 1000 higher than the server. That is, the management information of the database can be obtained through http://localhost:28017/.
MongoDB Shell:
MongoDB comes with a JavaScript shell that can manipulate the MongoDB database from the command line.
Start the MongoDB shell, and through the help command, you can list the shell commands
Summarize
Through the above introduction, you can have a preliminary understanding of MongoDB, the next will start the document additions and deletions to change the operation.
MongoDB Getting Started knowledge