Skip to content

Commit 973104f

Browse files
Merge pull request #32961 from sup95/patch-1
Fix typo
2 parents 74ed574 + 68a40e4 commit 973104f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/how-to-model-partition-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ So to optimize this last request, we introduce a third container to our design,
474474

475475
This container is partitioned by `type`, which will always be `post` in our items. Doing that ensures that all the items in this container will sit in the same partition.
476476

477-
To achieve the denormalization, we just have to hook on the change feed pipeline we have previously introduced to dispatch the posts to that new container. One important thing to bare in mind is that we need to make sure that we only store the 100 most recent posts; otherwise, the content of the container may grow beyond the maximum size of a partition. This is done by calling a [post-trigger](stored-procedures-triggers-udfs.md#triggers) every time a document is added in the container:
477+
To achieve the denormalization, we just have to hook on the change feed pipeline we have previously introduced to dispatch the posts to that new container. One important thing to bear in mind is that we need to make sure that we only store the 100 most recent posts; otherwise, the content of the container may grow beyond the maximum size of a partition. This is done by calling a [post-trigger](stored-procedures-triggers-udfs.md#triggers) every time a document is added in the container:
478478

479479
![Denormalizing posts into the feed container](./media/how-to-model-partition-example/denormalization-3.png)
480480

@@ -570,4 +570,4 @@ After this introduction to practical data modeling and partitioning, you may wan
570570

571571
- [Work with databases, containers, and items](databases-containers-items.md)
572572
- [Partitioning in Azure Cosmos DB](partitioning-overview.md)
573-
- [Change feed in Azure Cosmos DB](change-feed.md)
573+
- [Change feed in Azure Cosmos DB](change-feed.md)

0 commit comments

Comments
 (0)