mongo数据库插入数据_深入研究Mongo数据库
mongo數據庫插入數據
More popularly known as "mongoDB". It is a no-sql based database.
俗稱“ mongoDB” 。 這是一個基于無SQL的數據庫。
BASIC STRUCTURE OF MONGO DB
MONGO DB的基本結構
A COLLECTION IN MONGODB having 3 DOCUMENTS
MONGODB中有3個文檔的集合
ADVANTAGES OF MONGODB OVER SQL BASED DBS
MONGODB在基于SQL的DBS上的優勢
Flexibility
靈活性
In comparison to a SQL based database, MongoDB is far more flexible.
與基于SQL的數據庫相比,MongoDB更加靈活。
First, it supports a much wider array of datatypes. Secondly, unlike SQL based database which are composed of tables and columns it is based on JSON( Javascript Object Notation). MongoDB is of a graph like pdf format. Thus, within a collection, each document can have different schema/data model making MongoDB very flexible and less opinionated.
首先,它支持更廣泛的數據類型。 其次,與由表和列組成的基于SQL的數據庫不同,它基于JSON(JavaScript對象表示法)。 MongoDB具有pdf格式的圖形。 因此,在一個集合中,每個文檔可以具有不同的架構/數據模型,從而使MongoDB非常靈活且無拘無束。
Availability
可用性
MongoDB makes more than one replicas of the primary database. Thus storing the same data at multiple locations. So, that traffic gets divided between multiple locations, therefore, ensuring fast retrieval of data even in cases of a large number of transactions.
MongoDB制作主數據庫的多個副本。 因此,將相同的數據存儲在多個位置。 因此,該流量會在多個位置之間分配,因此即使在大量事務的情況下也可確保快速檢索數據。
Readability
可讀性
Computers parse data in MongoDB which is in JSON format at a much higher rate as compared to SQL- based database. Moreover for even human beings data in MongoDB is much more readable rather than tedious tables and columns used in SQL DBS.
與基于SQL的數據庫相比,計算機以JSON格式解析MongoDB中的數據的速率要高得多。 而且,對于人類來說,MongoDB中的數據比SQL DBS中使用的繁瑣的表和列更具可讀性。
蒙古羅盤 (MONGODB COMPASS)
It is a software developed by MongoDB enterprise which provides a user interface for viewing our mongo database. It also supports CRUD operations, Querying of our database. Also enables the filtering of data in the database via equality, inequality and geospatial filters. It even provides an analytical summary of data in each collection.
它是由MongoDB企業開發的軟件,提供用于查看我們的mongo數據庫的用戶界面。 它還支持CRUD操作,數據庫查詢。 還可以通過相等,不相等和地理空間過濾器來過濾數據庫中的數據。 它甚至提供每個集合中數據的分析摘要。
MONGODB SHELL (MONGODB SHELL)
Provides all the functionality provided by mongo compass.
提供mongo羅盤提供的所有功能。
The difference is that it is not GUI tool rather it is an interpreter wherein user writes commands.
區別在于它不是GUI工具,而是用戶在其中編寫命令的解釋器。
Based JavaScript programming language.
基于JavaScript的編程語言 。
翻譯自: https://www.includehelp.com/mongodb/a-deep-dive-into-mongo-database.aspx
mongo數據庫插入數據
總結
以上是生活随笔為你收集整理的mongo数据库插入数据_深入研究Mongo数据库的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: txt文本变为粗体_如何在PHP中使文本
- 下一篇: mysql sqlite 性能优化_My