当前位置:网站首页>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 .
边栏推荐
- Connect with the flight book and obtain the user information according to the userid
- Geospatial search - > R tree index
- My first experience of go+ language -- a collection of notes on learning go+ design architecture
- Back test of quantitative trading - example of futures CTA strategy (tqzfuturerenkoscalpingstrategy)
- 剑指 Offer 04. 二维数组中的查找
- Optimal solution for cold start
- 美创入选“2022 CCIA中国网络安全竞争力50强”榜单
- PPT绘图之AI助力论文图
- PPT绘论文图之导出分辨率
- Online service emergency research methodology
猜你喜欢
【AI助力科研】loss曲线傻瓜式绘制
PPT绘图之AI助力论文图
Online service emergency research methodology
PPT绘论文图之导出分辨率
Capabilities required by architects
3+1 guarantee: how is the stability of the highly available system refined?
WIN10环境下配置pytorch
使用Visio画立方体
Sword finger offer II 029 Sorted circular linked list
20220620 interview reply
随机推荐
Negative sample image used in yolov5 training
药物设计新福音:腾讯联合中科大、浙大开发自适应图学习方法,预测分子相互作用及分子性质
字节跳动Dev Better技术沙龙来啦!参与活动赢好礼,限时免费报名中!
剑指 Offer II 028. 展平多级双向链表
Oracle trigger error report table or view does not exist
Parse JSON format data and save it to entity class
The drop-down box renders numbers instead of the corresponding text. How to deal with it
The amount is verified, and two zeros are spliced by integers during echo
list. replace, str.append
Render values to corresponding text
Summer Ending
Visual studio2019 link opencv
剑指 Offer II 032. 有效的变位词
出手即不凡,这很 Oracle!
JS SMS countdown implementation (simple code)
[machine learning] model and cost function
Reload cuda/cudnn/pytorch
My first experience of go+ language -- a collection of notes on learning go+ design architecture
CUDA error: unspecified launch failure
Online service emergency research methodology