Skip to content

Commit 331a9ce

Browse files
Update articles/cosmos-db/partitioning-overview.md
Co-authored-by: Sidney Andrews <[email protected]>
1 parent 731858d commit 331a9ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/cosmos-db/partitioning-overview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ For **all** containers, your partition key should:
103103
If you need [multi-item ACID transactions](database-transactions-optimistic-concurrency.md#multi-item-transactions) in Azure Cosmos DB, you will need to use [stored procedures or triggers](how-to-write-stored-procedures-triggers-udfs.md#stored-procedures). All JavaScript-based stored procedures and triggers are scoped to a single logical partition.
104104

105105
> [!NOTE]
106-
> In case you only have one physical partition, partition key may not be relevant as all queries will hit the same physical partition.
107-
106+
> If you only have one physical partition, the value of the partition key may not be relevant as all queries will target the same physical partition.
108107
## Partition keys for read-heavy containers
109108

110109
For most containers, the above criteria is all you need to consider when picking a partition key. For large read-heavy containers, however, you might want to choose a partition key that appears frequently as a filter in your queries. Queries can be [efficiently routed to only the relevant physical partitions](how-to-query-container.md#in-partition-query) by including the partition key in the filter predicate.

0 commit comments

Comments
 (0)