Mongodb 简明教程

MongoDB - Advantages

任何关系数据库中都有一个典型的架构设计,用于显示表格数量以及这些表格之间的关系。而在 MongoDB 中,关系的概念不存在。

Advantages of MongoDB over RDBMS

  1. Schema less − MongoDB 是一个文档数据库,其中一个集合包含不同的文档。不同文档的字段数、内容和大小可能不同。

  2. 单个对象结构是明确的。

  3. No complex joins.

  4. 出色的可查询性。MongoDB 支持在文档上进行动态查询,所用的文档式查询语言与 SQL 几乎一样强大。

  5. Tuning.

  6. Ease of scale-out − MongoDB 易于扩展。

  7. 无需将应用程序对象转换为数据库对象或将其映射到数据库对象。

  8. 使用内部内存存储(窗口化的)工作集,以实现更快的访问数据。

Why Use MongoDB?

  1. Document Oriented Storage − 数据存储为 JSON 样式文档的形式。

  2. Index on any attribute

  3. Replication and high availability

  4. Auto-Sharding

  5. Rich queries

  6. Fast in-place updates

  7. Professional support by MongoDB

Where to Use MongoDB?

  1. Big Data

  2. Content Management and Delivery

  3. Mobile and Social Infrastructure

  4. User Data Management

  5. Data Hub