• <noscript id="e0iig"><kbd id="e0iig"></kbd></noscript>
  • <td id="e0iig"></td>
  • <option id="e0iig"></option>
  • <noscript id="e0iig"><source id="e0iig"></source></noscript>
  • mongodb簡介_MongoDB簡介

    標簽: 數據庫  java  mongodb  大數據  python

    mongodb簡介

    MongoDB簡介 (Introduction to MongoDB)

    MongoDB is a NoSQL database which stores the data in form of key-value pairs. It is an Open Source, Document Database which provides high performance and scalability along with data modelling and data management of huge sets of data in an enterprise application.

    MongoDB是一個NoSQL數據庫,它以鍵值對的形式存儲數據。 它是一個開放源代碼 文檔數據庫 ,可提供高性能和可伸縮性,以及企業應用程序中海量數據集的數據建模和數據管理。

    MongoDB also provides the feature of Auto-Scaling. Since, MongoDB is a cross platform database and can be installed across different platforms like Windows, Linux etc.

    MongoDB還提供了自動擴展功能。 由于MongoDB是跨平臺數據庫,因此可以跨Windows,Linux等不同平臺安裝。

    什么是基于文檔的存儲? (What is Document based storage?)

    A Document is nothing but a data structure with name-value pairs like in JSON. It is very easy to map any custom Object of any programming language with a MongoDB Document. For example : Student object has attributes name, rollno and subjects, where subjects is a List.

    文檔不過是具有名稱/值對的數據結構,例如JSON。 使用MongoDB文檔映射任何編程語言的任何自定義對象非常容易。 例如: Student對象有屬性namerollnosubjects ,其中主體是一個列表。

    Document for Student in MongoDB will be like:

    MongoDB中用于學生的文檔將類似于:

    {
    	name : "Stduytonight",
    	rollno : 1,
    	subjects : ["C Language", "C++", "Core Java"]
    }

    We can see, Documents are actually JSON representation of custom Objects. Also, excessive JOINS can be avoided by saving data in form of Arrays and Documents(Embedded) inside a Document.

    我們可以看到,文檔實際上是自定義對象的JSON表示形式。 另外,可以通過以文檔內部的數組和文檔(嵌入式)形式保存數據來避免過多的JOINS。

    MongoDB的簡要歷史 (Brief History of MongoDB)

    MongoDB was developed by Eliot Horowitz and Dwight Merriman in the year 2007, when they experienced some scalability issues with the relational database while developing enterprise web applications at their company DoubleClick. According to Dwight Merriman, one of the developers of MongoDB, this name of the database was derived from the word humongous to support the idea of processing large amount of data.

    MongoDB由Eliot HorowitzDwight Merriman2007年開發 ,當時他們在DoubleClick公司開發企業Web應用程序時遇到了關系數據庫的一些可伸縮性問題。 根據MongoDB的開發者之一Dwight Merriman的說法,該數據庫名稱源自humongous一詞,以支持處理大量數據的想法。

    In 2009, MongoDB was made as an open source project, while the company offered commercial support services. Many companies started using MongoDB for its amazing features. The New York Times newspaper used MongoDB to build a web based application to submit the photos. In 2013, the company was officially named to MongoDB Inc.

    2009年,MongoDB成為一個開源項目,而該公司提供了商業支持服務。 許多公司開始使用MongoDB的驚人功能。 《紐約時報》報紙使用MongoDB構建了一個基于Web的應用程序來提交照片。 2013年,該公司正式更名為MongoDBInc

    MongoDB的主要功能 (Key Features of MongoDB)

    Apart from most of the NoSQL default features, MongoDB does bring in some more, very important and useful features :

    除了大多數NoSQL默認功能之外,MongoDB確實帶來了更多,非常重要和有用的功能:

    1. MongoDB performs less IO operations than relational DBMS

    2. MongoDB has a rich Query Language, supporting all the major CRUD operations. The Query Language also provides good Text Search and Aggregation features.

      MongoDB具有豐富的查詢語言,支持所有主要的CRUD操作。 查詢語言還提供了良好的文本搜索和聚合功能。
    3. Auto Replication feature of MongoDB leads to High Availability. It provides an automatic failover mechanism, as data is restored through backup(replica) copy if server fails.自動復制功能可實現高可用性。 它提供了一種自動故障轉移機制,因為如果服務器發生故障,則可以通過備份(副本)副本還原數據。
    4. Sharding is a major feature of MongoDB. Horizontal Scalability is possible due to sharding.

      分片是MongoDB的主要功能。 由于分片,可能具有水平可伸縮性。
    5. MongoDB supports multiple Storage Engines. When we save data in form of documents(NoSQL) or tables(RDBMS) who saves the data? It's the Storage Engine. Storage Engines manages how data is saved in memory and on disk.

      MongoDB支持多個存儲引擎。 當我們以文檔(NoSQL)或表(RDBMS)的形式保存數據時,誰來保存數據? 它是存儲引擎。 存儲引擎管理如何將數據保存在內存和磁盤中。

    使用MongoDB的組織 (Organizations that use MongoDB)

    Below are some of the big and notable organizations which are using MongoDB as database for most of their business applications.

    以下是一些使用MongoDB作為大多數業務應用程序數據庫的著名大型組織。

    • Adobe

      土坯
    • LinkedIn

      領英
    • McAfee

      邁克菲
    • FourSquare

      四方
    • eBay

      易趣
    • MetLife

      大都會人壽
    • SAP

      樹液

    翻譯自: https://www.studytonight.com/mongodb/introduction-to-mongodb

    mongodb簡介

    版權聲明:本文為cunfen6312原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接和本聲明。
    本文鏈接:https://blog.csdn.net/cunfen6312/article/details/107684414

    智能推薦

    MongoDB的簡介及安裝

    MongoDB的簡介及安裝 最近需要使用到mongodb數據庫,所以就進行了相應的安裝與使用 在安裝過程中遇到了許多問題 簡介 MongoDB是一個基于分布式文件存儲的數據庫。由C++語言編寫。旨在為WEB應用提供可擴展的高性能數據存儲解決方案。 MongoDB是一個介于關系數據庫和非關系數據庫之間的產品,是非關系數據庫當中功能最豐富,最像關系數據庫的。它支持的數據結構非常松散,是類似json的b...

    MongoDB(一)簡介,安裝,連接

    什么是MongoDB ? MongoDB 是由C++語言編寫的,是一個基于分布式文件存儲的開源數據庫系統。 在高負載的情況下,添加更多的節點,可以保證服務器性能。 MongoDB 旨在為WEB應用提供可擴展的高性能數據存儲解決方案。 MongoDB 將數據存儲為一個文檔,數據結構由鍵值(key=>value)對組成。MongoDB 文檔類似于 JSON 對象。字段值可以包含其他文檔,數組及文...

    HTML中常用操作關于:頁面跳轉,空格

    1.頁面跳轉 2.空格的代替符...

    freemarker + ItextRender 根據模板生成PDF文件

    1. 制作模板 2. 獲取模板,并將所獲取的數據加載生成html文件 2. 生成PDF文件 其中由兩個地方需要注意,都是關于獲取文件路徑的問題,由于項目部署的時候是打包成jar包形式,所以在開發過程中時直接安照傳統的獲取方法沒有一點文件,但是當打包后部署,總是出錯。于是參考網上文章,先將文件讀出來到項目的臨時目錄下,然后再按正常方式加載該臨時文件; 還有一個問題至今沒有解決,就是關于生成PDF文件...

    電腦空間不夠了?教你一個小秒招快速清理 Docker 占用的磁盤空間!

    Docker 很占用空間,每當我們運行容器、拉取鏡像、部署應用、構建自己的鏡像時,我們的磁盤空間會被大量占用。 如果你也被這個問題所困擾,咱們就一起看一下 Docker 是如何使用磁盤空間的,以及如何回收。 docker 占用的空間可以通過下面的命令查看: TYPE 列出了docker 使用磁盤的 4 種類型: Images:所有鏡像占用的空間,包括拉取下來的鏡像,和本地構建的。 Con...

    猜你喜歡

    requests實現全自動PPT模板

    http://www.1ppt.com/moban/ 可以免費的下載PPT模板,當然如果要人工一個個下,還是挺麻煩的,我們可以利用requests輕松下載 訪問這個主頁,我們可以看到下面的樣式 點每一個PPT模板的圖片,我們可以進入到詳細的信息頁面,翻到下面,我們可以看到對應的下載地址 點擊這個下載的按鈕,我們便可以下載對應的PPT壓縮包 那我們就開始做吧 首先,查看網頁的源代碼,我們可以看到每一...

    Linux C系統編程-線程互斥鎖(四)

    互斥鎖 互斥鎖也是屬于線程之間處理同步互斥方式,有上鎖/解鎖兩種狀態。 互斥鎖函數接口 1)初始化互斥鎖 pthread_mutex_init() man 3 pthread_mutex_init (找不到的情況下首先 sudo apt-get install glibc-doc sudo apt-get install manpages-posix-dev) 動態初始化 int pthread_...

    統計學習方法 - 樸素貝葉斯

    引入問題:一機器在良好狀態生產合格產品幾率是 90%,在故障狀態生產合格產品幾率是 30%,機器良好的概率是 75%。若一日第一件產品是合格品,那么此日機器良好的概率是多少。 貝葉斯模型 生成模型與判別模型 判別模型,即要判斷這個東西到底是哪一類,也就是要求y,那就用給定的x去預測。 生成模型,是要生成一個模型,那就是誰根據什么生成了模型,誰就是類別y,根據的內容就是x 以上述例子,判斷一個生產出...

    styled-components —— React 中的 CSS 最佳實踐

    https://zhuanlan.zhihu.com/p/29344146 Styled-components 是目前 React 樣式方案中最受關注的一種,它既具備了 css-in-js 的模塊化與參數化優點,又完全使用CSS的書寫習慣,不會引起額外的學習成本。本文是 styled-components 作者之一 Max Stoiber 所寫,首先總結了前端組件化樣式中的最佳實踐原則,然后在此基...

    精品国产乱码久久久久久蜜桃不卡