官术网_书友最值得收藏!

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
主站蜘蛛池模板: 泰州市| 兴和县| 乐昌市| 吉水县| 肇庆市| 盈江县| 怀集县| 永年县| 东阳市| 肇庆市| 元江| 霍邱县| 济源市| 柘荣县| 商城县| 荣成市| 海城市| 樟树市| 阜南县| 江都市| 盐津县| 普安县| 大足县| 章丘市| 武邑县| 甘孜县| 柳江县| 苏尼特右旗| 五常市| 岗巴县| 治县。| 青田县| 本溪| 苍溪县| 凌源市| 雷山县| 张家界市| 凌海市| 九龙坡区| 寿阳县| 休宁县|