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

Understanding the supported NoSQL data models

There are many flavors of NoSQL database. The following are the four most common types of NoSQL database:

  • Key/value: This is a persistent dictionary. It is best for when we know the key and we need to retrieve the associated value for the key.
  • Column, wide-column, or column-family: This organizes related data into columns instead of the typical organization in rows. It is best for when we need to query across specific columns in the database.
  • Document: This allows persisting JSON objects (documents), which can include nested objects or arrays of other objects.
  • Graph: This allows you to persist edges and nodes with their properties. It is best for when we need to store and navigate through complex relationships.

The following diagram outlines each of the four explained flavors of NoSQL database to make it easy to understand the typical data they persist:

Cosmos DB uses a schema-agnostic data store on top of the previously explained main features that provide a core platform. Cosmos DB can efficiently project this data store to the four previously listed NoSQL data models. Thus, the database service allows us to select the most appropriate NoSQL data model based on our needs, and we can take full advantage of partitioning, replication, and resource governance with any of them.

主站蜘蛛池模板: 通州区| 镇巴县| 沅陵县| 商都县| 礼泉县| 临汾市| 赤城县| 普格县| 建阳市| 特克斯县| 兴和县| 上高县| 明光市| 志丹县| 九江县| 奇台县| 怀宁县| 保德县| 海淀区| 朝阳县| 江西省| 忻城县| 天全县| 托克托县| 读书| 仁化县| 屯昌县| 乐安县| 广河县| 左贡县| 三门峡市| 确山县| 四会市| 鄄城县| 西宁市| 林口县| 新丰县| 西藏| 斗六市| 西安市| 婺源县|