MongoDB introduction and Installation

Source: Internet
Author: User
MongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for Web applications. MongoDB is a product between a relational database service and a non-relational database service. It has the most abundant functions and is most like a relational database service. The supported data structure is very loose and is similar to the JSON bson format, so it can store more complex data types. The biggest feature of Mongo is that it supports a very powerful query language. Its syntax is somewhat similar to an Object-Oriented Query Language. It can almost implement most of the functions similar to single-table queries in relational databases, it also supports data indexing. It features high performance, ease of deployment, and ease of use, making it easy to store data. Main functions and features include: * oriented to set storage, easy to store object-type data.
* Free mode.
* Supports dynamic query.
* Full indexes are supported, including internal objects.
* Query is supported.
* Supports replication and fault recovery.
* Use efficient binary data storage, including large objects (such as videos ).
* Automatic fragment processing to support the scalability at the cloud computing level.
* Supports multiple languages.
* The file storage format is bson (a json extension ).
* It can be accessed through the network.
The above is taken from the encyclopedia and will not be summarized by myself.


----------------------------------------- Gorgeous split line -----------------------------------------------
Before installation, first go to the official website to download the client: http://www.mongodb.org/downloads because my machine is a Windows 7 64-bit system, so I download and install the corresponding version: mongodb-win32-x86_64-2.2.1 the latest version. Decompress the compressed file. The bin folder in the root directory contains the following running programs:


Create a folder to store data. I created a new data folder in the root directory after decompression. Then we can start to configure the data file path. 1. Windows + R open the run cmd command window 2. Jump to the bin directory: then execute the installation configuration.



As long as the MongoDB starting information appears, it indicates that the operation is successful. At the same time, the journal folder and mongod. Lock file are generated in the data folder directory. Then we can enter http: // localhost: 27017/in the address bar of the browser, and we can see the prompt:"

You are trying to access MongoDB on the native driver port. For http diagnostic access, add 1000 to the port number

"
Then, double-click the .exe program and the following information appears. MongoDB shell version: 2.2.1
Connecting to: Test

After success, we can perform a small test to perform a set of curd operations.
Finally, we recommend some URLs for you:

  • MongoDB articles
  • MongoDB management tools
  • Topics on MongoDB data aggregation
  • Csdn also has a MongoDB community

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.