- Learning Azure DocumentDB
- Riccardo Becker
- 246字
- 2021-07-30 10:27:48
DocumentDB versus other databases
This section compares DocumentDB with other (non-)SQL technologies. The comparison is made with MongoDB and Azure Table storage.
Azure Table storage
Table storage is a non-SQL tabular based storage mechanism enabling you to store rows and columns inside a table. A table is not fixed, meaning that different rows can have different columns. Azure Table storage is a perfect fit for storing large amounts of data, although it is non-relational. There are no mechanisms like foreign keys, triggers, or user-defined functions.
MongoDB
MongoDB is also a document database (NoSQL), which means that it is schema-free, enables high performance and high availability, and has the ability to scale. MongoDB is open source, and is built around documents and collections. The documents are compiled of sets of key-value pairs, while collections also contain documents. Compared to DocumentDB, MongoDB uses BSON instead of JSON.
Comparison chart
The following table provides a high-level comparison on some key features:

DocumentDB does not offer referential integrity by design. There is no concept of foreign keys. Integrity can be enforced by using triggers and SPs.
The role of the Database Administrator is still needed to manage DocumentDB. We still need someone to overlook our databases and collections. Some common tasks a DBA for a document might perform are as follows:
- Creating and managing databases
- Creating and managing collections
- Getting responsibility on scaling, partitioning, and sharding
- Defining and maintaining SPs, user-defined functions, and triggers
- Managing users and permissions
- Measuring performance
- UNIX編程藝術
- C++程序設計(第3版)
- Java開發入行真功夫
- Android 7編程入門經典:使用Android Studio 2(第4版)
- Reactive Android Programming
- C程序設計實踐教程
- INSTANT Yii 1.1 Application Development Starter
- R數據科學實戰:工具詳解與案例分析
- 前端架構設計
- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- 區塊鏈原理、設計與應用
- Learning Predictive Analytics with R
- 15天學會JavaScript(視頻教學版)
- Visual FoxPro程序設計(第二版)
- UG 12.0數控編程實例教程