Every Cosmos DB item with one particular partition key value. Transactions cannot cross it, and it is capped at 20 GB.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Logical partition in context, with comparison tables and the common traps.
Terms in this definition
- Cosmos DB
NoSQL database distributed globally, offering writes in multiple regions, automatic indexing and latency below 10 ms.
- Partition key
Controls how data is spread out. Azure Cosmos DB puts items whose values match into one logical partition, and Azure Table storage stores rows sharing a PartitionKey side by side.
Related terms
- ACID
Four promises a database transaction makes: atomicity, consistency, isolation and durability. Azure Cosmos DB honours them, with snapshot isolation, only inside one logical partition, using stored procedures, triggers or transactional batch.