- Guide to NoSQL with Azure Cosmos DB
- Gastón C. Hillar Daron Y?ndem
- 219字
- 2021-08-13 15:31:03
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.
推薦閱讀
- 黑客攻防實(shí)戰(zhàn)技術(shù)完全手冊(cè):掃描、嗅探、入侵與防御
- Twilio Cookbook
- 企業(yè)網(wǎng)絡(luò)安全管理
- Yii Application Development Cookbook(Second Edition)
- Getting Started with Grunt:The JavaScript Task Runner
- 智慧光網(wǎng)絡(luò):關(guān)鍵技術(shù)、應(yīng)用實(shí)踐和未來演進(jìn)
- Microsoft Dynamics CRM 2011 Applications(MB2-868) Certification Guide
- 網(wǎng)絡(luò)基礎(chǔ)與網(wǎng)絡(luò)管理項(xiàng)目化教程
- 面向5G-Advanced的關(guān)鍵技術(shù)
- jQuery Mobile Web Development Essentials
- 現(xiàn)代通信系統(tǒng)(第5版)
- 圖解物聯(lián)網(wǎng)
- 現(xiàn)場(chǎng)總線與工業(yè)以太網(wǎng)及其應(yīng)用技術(shù)(第2版)
- 5G重塑數(shù)字化未來
- EtherCAT工業(yè)以太網(wǎng)應(yīng)用技術(shù)