banner
肥皂的小屋

肥皂的小屋

github
steam
bilibili
douban
tg_channel

Install MongoDB on Win10

Background#

When I was setting up the local archery library some time ago, I created a table for each pair of pants so that I could perform multi-table joins and use primary and foreign keys.

Therefore, I used the classic relational database: mysql.

Of course, when the data exceeds billions, the performance of mysql may decrease significantly, but we will fill this gap later.

Today, I'm going to dig a new hole: non-relational database. A typical example is MongoDB.

For a comparison between relational and non-relational databases, refer to: Relational Databases vs. Non-Relational Databases

Key-value databases for high-performance concurrent read and write operations:

The main feature of key-value databases is their extremely high concurrency for read and write operations. Redis, Tokyo Cabinet, and Flare are representative examples.

Document-oriented databases for accessing massive amounts of data:

The characteristic of these databases is the ability to quickly query data in massive amounts of data. MongoDB and CouchDB are typical examples.

Download#

https://www.mongodb.com/download-center/community

Download the community edition, which is enough for our use:

image

Installation#

I chose the complete edition for installation. In the service configuration interface, it is recommended to select the option to configure it as a service (in the past, it seemed that manual configuration in the installation directory was required, but now it can be configured directly).

Then, select the option to configure it as a network service by default, so that it can be used both on the network and locally:

image

Then, uncheck the option to download the graphical interface:

image

After installation, you can see the MongoDB Server service in the services, which starts automatically with the system:

image

I won't go into detail about other usages because I use Navicat's Navicat for MongoDB to manage this database visually.

Reference article: MongoDB Tutorial | Runoob Tutorial

End of this article.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.