- 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
- Python數(shù)據(jù)分析入門與實(shí)戰(zhàn)
- Three.js開發(fā)指南:基于WebGL和HTML5在網(wǎng)頁上渲染3D圖形和動(dòng)畫(原書第3版)
- 基于免疫進(jìn)化的算法及應(yīng)用研究
- 秒懂設(shè)計(jì)模式
- 大學(xué)計(jì)算機(jī)基礎(chǔ)(第2版)(微課版)
- Android驅(qū)動(dòng)開發(fā)權(quán)威指南
- R語言數(shù)據(jù)挖掘:實(shí)用項(xiàng)目解析
- Mobile Forensics:Advanced Investigative Strategies
- 數(shù)字媒體技術(shù)概論
- Spring Boot從入門到實(shí)戰(zhàn)
- Mapping with ArcGIS Pro
- JBoss AS 7 Development
- Blender 3D Cookbook
- Java EE輕量級(jí)解決方案:S2SH
- Improving your Penetration Testing Skills