Get the App
SLTechnology News&Howtos  ›  Database  › 

The first sight of mongodb

Shulou Source: shulou.com Published: 2022-06-01 18:36:46 10月02日 Update

Recently found that mongodb this nosql is very popular, their own simple study, send something out, we can discuss.

MongoDB is written in C++ language and is an open source database system based on distributed file storage.

In the case of high load, adding more nodes can ensure server performance.

MongoDB aims to provide scalable, high-performance data storage solutions for WEB applications.

MongoDB stores the data as a document, and the data structure consists of key-value (key= > value) pairs. MongoDB documents are similar to JSON objects. Field values can contain other documents, arrays

And the document array.

About the study of mongodb, recommend the following address, take a look, basically understand 80% of mongodb

Http://www.runoob.com/mongodb/mongodb-mongostat-mongotop.html

After feeling:

Mongodb is indeed very powerful, the most surprising is the built-in mongodb replication function, that is, the replica set function, one master, one slave or one master and multiple slaves, completely self-contained host and standby.

The sharding function is also very powerful, which is equivalent to its own distributed storage mode, so there is no need to worry about the shortage of database space. Expand the database cluster horizontally and add chips dynamically, which is much cheaper than adding vertically, and it is convenient and fast.

Tags: Data documents storage functions databases distributed arrays learning powerful surprised convenient fast not enough no things hosts that is copies dynamic addresses fields Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux vpn Apple NVidia OPPO Reno