Skip to content

Commit 7cfb712

Browse files
committed
fix a few typos
1 parent 8841d49 commit 7cfb712

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cosmos-db/troubleshoot-query-performance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ When you optimize a query in Azure Cosmos DB, the first step is always to [get t
4343

4444
[ ![Getting query metrics](./media/troubleshoot-query-performance/obtain-query-metrics.png) ](./media/troubleshoot-query-performance/obtain-query-metrics.png#lightbox)
4545

46-
After you get the query metrics, compare the **Retrieved Document Count**with the **Output Document Count** for your query. Use this comparison to identify the relevant sections to review in this article.
46+
After you get the query metrics, compare the **Retrieved Document Count** with the **Output Document Count** for your query. Use this comparison to identify the relevant sections to review in this article.
4747

4848
The **Retrieved Document Count** is the number of documents that the query engine needed to load. The **Output Document Count** is the number of documents that were needed for the results of the query. If the **Retrieved Document Count** is significantly higher than the **Output Document Count**, there was at least one part of your query that was unable to use an index and needed to do a scan.
4949

@@ -255,9 +255,9 @@ WHERE udf.MyUDF("Sausages and Luncheon Meats")
255255

256256
#### Queries with GROUP BY
257257

258-
The RU charge of `GROUP BY` will increase as the cardinality of the properties in the `GROUP BY` clause increases. In the below query, for example, the RU charge of the query will increase as the number unique descriptions increases.
258+
The RU charge of queries with `GROUP BY` will increase as the cardinality of the properties in the `GROUP BY` clause increases. In the below query, for example, the RU charge of the query will increase as the number unique descriptions increases.
259259

260-
The RU charge of an aggregate function with a `GROUP BY` clause will be higher than the RU charge of an aggregate function on its own.In this example, the query engine must load every document that matches the `c.foodGroup = "Sausages and Luncheon Meats"` filter so the RU charge is expected to be high.
260+
The RU charge of an aggregate function with a `GROUP BY` clause will be higher than the RU charge of an aggregate function alone. In this example, the query engine must load every document that matches the `c.foodGroup = "Sausages and Luncheon Meats"` filter so the RU charge is expected to be high.
261261

262262
```sql
263263
SELECT COUNT(1)

0 commit comments

Comments
 (0)