MongoDB (two) MongoDB Basic introduction

Source: Internet
Author: User



MongoDB Introduction

    

MongoDB is a product between a relational database and a non-relational database, which is the most versatile and most like a relational database. The data structures he supports are loosely formatted like the json bjson format, so they are able to store more complex types.

MongoDB The biggest feature is that the query language he supports is very powerful, its syntax is a bit like an object-oriented query language, almost capable of implementing most of the functions 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 functional Characteristics

1 , and for collection storage. Data that stores object types easily.

Data is grouped in a dataset and is called a collection. Each collection has a unique identity name in the database and can include an unlimited number of documents.

The concept of a collection in the Philippine relational database is similar to a table in a relational database, unlike a pattern in which he does not need to define whatever.

2 , Mode Freedom

for files stored in a MongoDB Database, we don't need to know what the structure definition is. If you need to, you can completely store files of different structures in the same database.

3 , support dynamic query

4 , supports full indexing, including internal objects.

5 , support replication, and fail-back.

6 , using efficient binary data storage. Include large objects (such as video, etc.)

7 , and take the initiative to deal with fragmentation. To support the scalability of the cloud computing hierarchy.

8 . Support RUBY,PYTHON,JAVA, C + + , PHP and many other languages.

9 . File storage format is BSON(a json extension)

BSON ( Binary serialized Document Format storage form refers to the document stored in the collection, stored as a key - the line of the value pair. The key is used to identify a document as a string type. The value can be a variety of complex file types.

Ten and can be visited via the Internet.

MongoDB the server can perform the Linux , Windows or OSX platform, Support + bits and - -bit applications. The default port27017. recommended execution in - -bit platform. Because MongoDB supports a maximum file size of 2GB when it executes in the mode.

MongoDB Data Architecture For example, as seen in the

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbg92zxn1bw1lcmzvcmv2zxi=/font/5a6l5l2t/fontsize/400/fill/ I0jbqkfcma==/dissolve/70/gravity/center "width=" "height=" >

This is how people who have just started learning can understand this. Compared to relational databases. The set concept here can be seen as a table, the concept of a document can be seen as a table of records, a Collection can have more than one document, and document can be nested .


the next article emphasizes that MongoDB Download and install

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

MongoDB (two) MongoDB Basic introduction

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.