MongoDB Usage Summary

Source: Internet
Author: User

Nosql is not the only SQL, which is a non-relational database, with high availability, high performance and extensibility features, is distributed, open source, level extensible, originally for large-scale Web services, its own characteristics: mode freedom, support simple replication, Simple API. The most used is the Key-value storage.

Why use MongoDB?

0,JSON风格文件的形式,面向文档存储:数据存储

    1,对任何属性可索引

    2,复制和高可用性

    3,自动分片

    4,丰富的查询

    5,快速就地更新

    6,MongoDB的专业技术支持

MongoDB has the following data types:

Interger: integer;

Boolean: Boolean value;

Double: floating point type;

    Min/ Max keys : 这种类型被用来对BSON元素的最低和最高值比较;

Array: arrays or lists;

Timestamp: Time stamp;

NULL: storage null type;

    Symbol : 此数据类型用于字符串相同,但它通常是保留给特定符号类型的语言使用。

Date: Dates;

    Object ID : 此数据类型用于存储文档的ID;

    Binary data : 此数据类型用于存储二进制数据。

     Code : 此数据类型用于存储到文档中的JavaScript代码。     Regular expression : 此数据类型用于存储正则表达式

 

  

MongoDB Usage Summary

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.