日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

mongo数据库插入数据_深入研究Mongo数据库

發布時間:2025/3/11 数据库 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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数据库的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。