Skip to content

Commit 29b1a4c

Browse files
committed
Update MongoDB capacity planning formula
1 parent ec0dfb2 commit 29b1a4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/cosmos-db/mongodb/estimate-ru-capacity-planner.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ author: deborahc
55
ms.service: cosmos-db
66
ms.subservice: mongodb
77
ms.topic: how-to
8-
ms.date: 08/26/2021
8+
ms.date: 06/20/2024
99
ms.author: dech
10+
show_latex: true
1011
---
1112

1213
# Estimate RU/s using the Azure Cosmos DB capacity planner - Azure Cosmos DB for MongoDB
@@ -55,7 +56,7 @@ After you sign in, you can see more fields compared to the fields in basic mode.
5556
|Indexing policy| If you choose **Off** option, none of the properties are indexed. This results in the lowest RU charge for writes. Turn off the indexing policy if you only plan to query using the _id field and the shard key for every query (both per query).<br/><br/> If you choose the **Automatic** option, the 3.6 and higher versions of API for MongoDB automatically index the _id filed. When you choose automatic indexing, it is the equivalent of setting a wildcard index (where every property gets auto-indexed). Use wildcard indexes for all fields for flexible and efficient queries.<br/><br/>If you choose the **Custom** option, you can set how many properties are indexed with multi-key indexes or compound indexes. You can enter the number of properties indexed later in the form. To learn more, see [index management](../mongodb/indexing.md) in API for MongoDB.|
5657
|Total data stored in transactional store |Total estimated data stored (GB) in the transactional store in a single region.|
5758
|Use analytical store| Choose **On** if you want to use [Synapse analytical store](../synapse-link.md). Enter the **Total data stored in analytical store**, it represents the estimated data stored (GB) in the analytical store in a single region. |
58-
|Workload mode|Select **Steady** option if your workload volume is constant. <br/><br/> Select **Variable** option if your workload volume changes over time. For example, during a specific day or a month. The following setting is available if you choose the variable workload option:<ul><li>Percentage of time at peak: Percentage of time in a month where your workload requires peak (highest) throughput. </li></ul> <br/><br/> For example, if you have a workload that has high activity during 9am – 6pm weekday business hours, then the percentage of time at peak is: 45 hours at peak / 730 hours / month = ~6%.<br/><br/>With peak and off-peak intervals, you can optimize your cost by [programmatically scaling your provisioned throughput](../set-throughput.md#update-throughput-on-a-database-or-a-container) up and down accordingly.|
59+
|Workload mode|Select **Steady** option if your workload volume is constant. <br/><br/> Select **Variable** option if your workload volume changes over time. For example, during a specific day or a month. The following setting is available if you choose the variable workload option:<ul><li>Percentage of time at peak: Percentage of time in a month where your workload requires peak (highest) throughput. </li></ul> <br/><br/> For example, if you have a workload that has high activity during 9am – 6pm weekday business hours, then the percentage of time at peak is `45` hours at peak of the week (`168 hours`), which is equivalent to: $45 / 168 = 0.267 = ~27%$.<br/><br/>With peak and off-peak intervals, you can optimize your cost by [programmatically scaling your provisioned throughput](../set-throughput.md#update-throughput-on-a-database-or-a-container) up and down accordingly.|
5960
|Item size|The size of the documents, ranging from 1 KB to 2 MB. You can add estimates for multiple sample items. <br/><br/>You can also **Upload sample (JSON)** document for a more accurate estimate.<br/><br/>If your workload has multiple types of items (with different JSON content) in the same container, you can upload multiple JSON documents and get the estimate. Use the **Add new item** button to add multiple sample JSON documents.|
6061
| Operation type | The type of operation such as **Find**, **Aggregate**, **Modify** etc. |
6162
| Request unit (RU) charge per call | The estimated RU/s charge to execute the selected operation type. |

0 commit comments

Comments
 (0)