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

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.

主站蜘蛛池模板: 洛阳市| 泉州市| 双辽市| 衡南县| 贵定县| 江永县| 中西区| 蒲城县| 泸溪县| 承德市| 贡嘎县| 淄博市| 诸暨市| 云龙县| 汤阴县| 乌鲁木齐县| 格尔木市| 天门市| 荃湾区| 连云港市| 苍溪县| 民权县| 镇巴县| 太和县| 临夏县| 赣榆县| 安化县| 大港区| 阿鲁科尔沁旗| 金川县| 云龙县| 泾川县| 大方县| 英吉沙县| 高平市| 阿勒泰市| 郎溪县| 卢龙县| 莎车县| 庆城县| 定陶县|