MongoDB Learning Notes ~ Environment Building

Source: Internet
Author: User
Tags mongodb client

Redis Learning notes have been completed, Redis warehousing has been implemented, for the key/value structure of Redis I prefer to use it to implement the caching mechanism of the data set, but for the structure of flexible, high query efficiency when using Redis is a bit inappropriate, for the document structure ( Document) to implement the stored MongoDB to implement the data set query more appropriate, and MongoDB has its own load balancing mechanism and mapreduce mechanism , unfair may be divided but the pressure of the query, but also can be distributed computing , this feature should be the most deadly!

1 Components Download

In the previous version of the 32-bit, the latest version is 64-bit, hehe

Http://www.mongodb.org/downloads#previous

2 path to log and database storage on disk

It has no auto-built function and needs to be built manually.

If creating a directory: D:\mongodb\log d:\mongodb\data\db

3 Installing MongoDB Services

Use the parameter install to host MongoDB in the Windows service, port default 27017

If step 2 does not establish the corresponding folder, then the installed service will not start properly

4 Testing

When we see the above results, our MongoDB service starts normally, next we will talk about MongoDB client, the process of adding data to the database!

MongoDB Learning Notes ~ Environment Building

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.