mongo数据库插入数据_深入研究Mongo数据库
mongo數(shù)據(jù)庫(kù)插入數(shù)據(jù)
More popularly known as "mongoDB". It is a no-sql based database.
俗稱“ mongoDB” 。 這是一個(gè)基于無(wú)SQL的數(shù)據(jù)庫(kù)。
BASIC STRUCTURE OF MONGO DB
MONGO DB的基本結(jié)構(gòu)
A COLLECTION IN MONGODB having 3 DOCUMENTS
MONGODB中有3個(gè)文檔的集合
ADVANTAGES OF MONGODB OVER SQL BASED DBS
MONGODB在基于SQL的DBS上的優(yōu)勢(shì)
Flexibility
靈活性
In comparison to a SQL based database, MongoDB is far more flexible.
與基于SQL的數(shù)據(jù)庫(kù)相比,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.
首先,它支持更廣泛的數(shù)據(jù)類型。 其次,與由表和列組成的基于SQL的數(shù)據(jù)庫(kù)不同,它基于JSON(JavaScript對(duì)象表示法)。 MongoDB具有pdf格式的圖形。 因此,在一個(gè)集合中,每個(gè)文檔可以具有不同的架構(gòu)/數(shù)據(jù)模型,從而使MongoDB非常靈活且無(wú)拘無(wú)束。
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制作主數(shù)據(jù)庫(kù)的多個(gè)副本。 因此,將相同的數(shù)據(jù)存儲(chǔ)在多個(gè)位置。 因此,該流量會(huì)在多個(gè)位置之間分配,因此即使在大量事務(wù)的情況下也可確保快速檢索數(shù)據(jù)。
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的數(shù)據(jù)庫(kù)相比,計(jì)算機(jī)以JSON格式解析MongoDB中的數(shù)據(jù)的速率要高得多。 而且,對(duì)于人類來(lái)說(shuō),MongoDB中的數(shù)據(jù)比SQL DBS中使用的繁瑣的表和列更具可讀性。
蒙古羅盤(pán) (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企業(yè)開(kāi)發(fā)的軟件,提供用于查看我們的mongo數(shù)據(jù)庫(kù)的用戶界面。 它還支持CRUD操作,數(shù)據(jù)庫(kù)查詢。 還可以通過(guò)相等,不相等和地理空間過(guò)濾器來(lái)過(guò)濾數(shù)據(jù)庫(kù)中的數(shù)據(jù)。 它甚至提供每個(gè)集合中數(shù)據(jù)的分析摘要。
MONGODB SHELL (MONGODB SHELL)
Provides all the functionality provided by mongo compass.
提供mongo羅盤(pán)提供的所有功能。
The difference is that it is not GUI tool rather it is an interpreter wherein user writes commands.
區(qū)別在于它不是GUI工具,而是用戶在其中編寫(xiě)命令的解釋器。
Based JavaScript programming language.
基于JavaScript的編程語(yǔ)言 。
翻譯自: https://www.includehelp.com/mongodb/a-deep-dive-into-mongo-database.aspx
mongo數(shù)據(jù)庫(kù)插入數(shù)據(jù)
總結(jié)
以上是生活随笔為你收集整理的mongo数据库插入数据_深入研究Mongo数据库的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: txt文本变为粗体_如何在PHP中使文本
- 下一篇: chroot函数使用_PHP chroo