当前位置:网站首页>Introduction to mongodb chapter 01 introduction to mongodb
Introduction to mongodb chapter 01 introduction to mongodb
2022-06-25 13:01:00 【Miss Tony, who doesn't cut his hair】
MongoDB
MongoDB It's open source 、 Cross platform 、 Distributed document database , Belong to NoSQL(Not Only SQL) A kind of database .
Simple and easy to use
MongoDB It's a document oriented database , Using document (document) Object stores data , This approach is better than relational databases (RDBMS) The data row format in is more flexible .
Documents can support the representation of complex hierarchical relationships in a single record .
MongoDB No predefined schema structure is required (schema), You can add or delete fields in the document more easily and quickly .
Scalable
As the volume of data grows , We will face the challenge of scalability . Generally speaking , There are two ways to expand :
- Vertical expansion (Scaling up), Upgrade server resources (CPU、RAM etc. ).
- Horizontal scaling (Scaling out), Add more servers to the cluster . This is more economical than vertical expansion 、 Better scalability , The drawback is that management is more complex .
MongoDB Born with horizontal scalability .
MongoDB Data can be distributed and stored in multiple servers , At the same time, it can automatically manage load balancing across nodes , Route data operations to the appropriate server . The following figure illustrates MongoDB Use sharding Schematic diagram of horizontal expansion by slices :
Rich in functions
As a database management system ,MongoDB Support data insertion 、 to update 、 Delete and query . besides ,MongoDB The following functions are also provided :
- Indexes
- polymerization
- Specify the type of set and index
- File store
We will introduce these functions in detail in the following tutorials .
High performance
MongoDB Provides high-performance data storage , for example , The embedded data model can reduce I/O operation , Indexing can speed up queries .
MongoDB The idea is to create an extensible 、 Flexible and high-performance full-featured database .
MongoDB edition
MongoDB Three different versions are available : Community Edition 、 Enterprise edition and cloud database (Atlas).
MongoDB Community Edition
MongoDB The Community Edition is free to use , Support Windows、Linux as well as macOS platform .
MongoDB The community edition uses (SSPL) license , It means that if we will MongoDB As a public service for others to use , The software code that supports this service must be open source , For example, tools to manage or monitor the service . otherwise , We need to buy enterprise edition .
If we use MongoDB Community Edition as a component of the application , Not the final product , Free to use .
MongoDB Enterprise Edition
MongoDB The enterprise version is MongoDB Commercial version of , It's also MongoDB Part of the enterprise premium subscription .
MongoDB The enterprise edition provides many features that the community edition does not support , for example :
- Memory (In-Memory) Storage engine
- Audit function
- Kerberos authentication
- LDAP Proxy authentication and LDAP to grant authorization
- Static encryption
MongoDB Atlas
MongoDB Atlas Is a global cloud database service . It is a database as a service (database as a service), It allows us to focus on application development , Instead of managing the database .
MongoDB Atlas Support various common cloud platforms , Include AWS、Azure as well as GCP, Alibaba cloud in China 、 Tencent cloud also provides corresponding services .MongoDB Atlas It provides individuals with a free database service for learning .
边栏推荐
- Qt显示FFmpeg解码的图片
- JSTL tag: fmt:formatdate tag format Chinese standard time or timestamp
- CUDA error: unspecified launch failure
- 出手即不凡,这很 Oracle!
- 量化交易之回测篇 - 期货CTA策略策略(TQZFutureRenkoWaveStrategy)
- Geospatial search: implementation principle of KD tree
- 1024水文
- MySQL writes user-defined functions and stored procedure syntax (a detailed case is attached, and the problem has been solved: errors are reported when running user-defined functions, and errors are r
- 地理空间搜索 ->R树索引
- 2021-09-22
猜你喜欢

A half search method for sequential tables

Summer Ending

nacos无法修改配置文件Mysql8.0的解决方法

美创入选“2022 CCIA中国网络安全竞争力50强”榜单

Connect with the flight book and obtain the user information according to the userid

Elemtnui select control combined with tree control to realize user-defined search method
![[visio] solving the fuzzy problem of parallelogram in word](/img/04/8a1de2983d648e67f823b5d973c003.png)
[visio] solving the fuzzy problem of parallelogram in word

Wechat full-text search technology optimization

解析数仓lazyagg查询重写优化

Geospatial search - > R tree index
随机推荐
Used in time filter (EL table)
聊聊高可用的 11 个关键技巧
Lexical trap
词法陷阱(C)
2021-09-30
重装cuda/cudnn/pytorch
画图常用配色
JS function exercises
How to implement a high-performance load balancing architecture?
Module 5 (microblog comments)
原生js---无限滚动
美创入选“2022 CCIA中国网络安全竞争力50强”榜单
Resolution of PPT paper drawing
[machine learning] model and cost function
阿里稳定性之故障应急处理流程
三行代码简单修改jar包的项目代码
Spoken English - weak reading
Render values to corresponding text
[转]以终为始,详细分析高考志愿该怎么填
Back test of quantitative trading - tqzfuturerenkowavestrategy