- 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.
推薦閱讀
- 物聯(lián)網(wǎng)與北斗應(yīng)用
- 網(wǎng)絡(luò)協(xié)議工程
- 網(wǎng)絡(luò)故障現(xiàn)場處理實踐(第4版)
- 物聯(lián)網(wǎng)+BIM:構(gòu)建數(shù)字孿生的未來
- 局域網(wǎng)組建、管理與維護(hù)項目教程(Windows Server 2003)
- Mastering TypeScript 3
- 數(shù)字調(diào)制解調(diào)技術(shù)的MATLAB與FPGA實現(xiàn):Altera/Verilog版(第2版)
- SAE原理與網(wǎng)絡(luò)規(guī)劃
- jQuery Mobile Web Development Essentials
- 通信十年:擁抱互聯(lián)網(wǎng)
- 工業(yè)互聯(lián)網(wǎng)創(chuàng)新實踐
- Learning Windows 8 Game Development
- Selenium WebDriver 3 Practical Guide
- 黑客心理學(xué):社會工程學(xué)原理
- 智能物聯(lián)安防視頻技術(shù)基礎(chǔ)與應(yīng)用