Author : MD TAREQ HASSAN | Updated : 2020/11/11

Architecture overview

The overall resource model of an application using Azure Cosmos DB is a hierarchical overlay of the resources rooted under the database account, and can be navigated using hyperlinks

Cosmos DB - Resource Model and API projection

[Image courtesy: Microsoft docs]

See: Understanding Cosmos DB coming from a relational world

Hierarchy

Logial partition

All the data within an Azure Cosmos DB container (e.g. collection, table, graph etc.) is horizontally partitioned and transparently managed by resource partitions

Azure Cosmos DB - Logical partition

Azure Cosmos DB - Elastic scalability using horizontal partitioning

[Image courtesy: Microsoft docs]

Physical partition

Azure cosmosdb - physical partition diagram Step 1

Azure cosmosdb - physical partition diagram Step 2

Azure cosmosdb - physical partition diagram Step 3