You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/understand-request-unit-consumption.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Understanding Request Units Consumption in Azure Cosmos DB
2
+
title: Understanding Request Units Consumption
3
3
description: This article explains how request units are consumed in Azure Cosmos DB with some examples.
4
4
author: richagaur
5
5
ms.author: richagaur
@@ -14,7 +14,7 @@ appliesto:
14
14
- ✅ Table
15
15
---
16
16
17
-
# Understand Request Units Consumption in Azure Cosmos DB
17
+
# Understand request units consumption in Azure Cosmos DB
18
18
19
19
Azure Cosmos DB uses Request Units (RUs) as a normalized measure of the resources required to execute database operations. Instead of managing provisioning of resources such as CPU, memory, and I/O independently, RUs provide a simple and consistent way to understand how different operations consume resources. Each operation consumes Request Units reflecting the work performed by the service to execute the request with a focus on trying to ensure predictability.
20
20
This article explains what influences RU consumption, how common operations consume RUs, and practical ways to design efficient workloads.
@@ -39,7 +39,8 @@ Request Units consumption for an operation scales with document size due to the
39
39
|1,024 KB |145.90 | 625.00 |
40
40
|2,048 KB |291.80 | 1250.00 |
41
41
42
-
*Read RUs mentioned are applicable to session and eventual consistency.
42
+
> [!NOTE]
43
+
> Read RUs mentioned are applicable to session and eventual consistency.
43
44
44
45
### Indexing
45
46
Indexes improve query performance but increase the RUs consumed by write operations. Indexing only required properties reduces RU consumption for writes and updates while balancing query performance. For more information on how to index only required properties, see [indexing policy](index-policy.md).
@@ -77,8 +78,8 @@ Although specific RU values can change over time, the principles remain consiste
77
78
78
79
Request Units are consumed based on the work required to perform an operation. This section explains how RUs are consumed across common document operations, using illustrative examples to highlight the underlying principles.
79
80
80
-
[!Important]
81
-
The RU values described in this document are illustrative and reflect how Azure Cosmos DB processes operations at a given point in time.
81
+
> [!IMPORTANT]
82
+
> The RU values described in this document are illustrative and reflect how Azure Cosmos DB processes operations at a given point in time.
82
83
83
84
### Write Operations
84
85
Different types of write operations follow similar principles. RU consumption primarily depends on **document size** and **indexed properties**.
0 commit comments