MongoDB is a product between a relational database and a non-relational database

Source: Internet
Author: User
Tags mongodb server

MongoDB is a product between a relational database and a non-relational database, and is the most versatile and most like relational database in a non-relational database. The data structure he supports is very loose and is a JSON-like Bjson format, so you can store more complex data types. MONGO's biggest feature is that the query language he supports is very powerful, and its syntax is a bit like an object-oriented query language that almost implements most of the functionality of a relational database single-table query, and also supports indexing of data. It is characterized by high performance, easy to deploy, easy to use, and easy to store data.

Mongodb[1] 's main goal is to set up a bridge between key/value storage (which provides high performance and high scalability) and traditional RDBMS systems (rich functionality), combining the advantages of both. The biggest feature of MongoDB is that the query language he supports is very powerful, its syntax is a bit like object-oriented query language, almost can realize the most functions like relational database single table query, but also support the index of data.

Main Features:

Collection-oriented storage for easy storage of object-type data

"Set-oriented" (collenction-oriented), meaning that data is grouped in a dataset, called a collection (collenction). Each collection has a unique identifying name in the database and can contain an unlimited number of documents. The concept of a collection is similar to a table in a relational database (RDBMS), unlike it does not need to define any schema (schema).

Mode freedom

Mode Freedom (schema-free) means that for files stored in a MongoDB database, we do not need to know any of its structure definitions. If necessary, you can store files of different structures in the same database.

Support Dynamic Query

Full index support, including internal objects

Support Query

Support for replication and failure recovery

Use efficient binary data storage, including large objects (such as video, etc.)

Automatically process fragmentation to support scalability at the cloud level

Supports multiple languages such as ruby,python,java,c++,php

File storage format is Bson (an extension of JSON)

BSON (Binary serialized document Format) is a form of storage in which documents stored in a collection are stored as key-value pairs. The key is used to uniquely identify a document as a string type, whereas a value can be a complex file type in each.

Accessible over the network

The MongoDB server can run on Linux, Windows or OS X platforms, supports 32-bit and 64-bit applications, and the default port is 27017. It is recommended to run on a 64-bit platform because MongoDB supports a maximum file size of 2GB when running in 32-bit mode.

MongoDB stores the data in a file (the default path is:/data/db), which is managed using a memory-mapped file for increased efficiency.

MongoDB is a product between a relational database and a non-relational database

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.