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