Skip to content

Commit 15585bc

Browse files
committed
document aggregate index utilization
1 parent 0e12e2c commit 15585bc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/cosmos-db/sql-query-aggregates.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about SQL aggregate function syntax, types of aggregate funct
44
author: timsander1
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 03/05/2020
7+
ms.date: 03/16/2020
88
ms.author: tisande
99

1010
---
@@ -71,6 +71,10 @@ You can also aggregate over the results of an array iteration.
7171
> [!NOTE]
7272
> In the Azure portal's Data Explorer, aggregation queries may aggregate partial results over only one query page. The SDK produces a single cumulative value across all pages. To perform aggregation queries using code, you need .NET SDK 1.12.0, .NET Core SDK 1.1.0, or Java SDK 1.9.5 or above.
7373
74+
## Remarks
75+
76+
These aggregate system functions will benefit from a [range index](index-policy.md#includeexclude-strategy). If you expect to do a COUNT, SUM, MIN, MAX, or AVG on a property, you should [include the relevant path in the indexing policy](index-policy.md#includeexclude-strategy).
77+
7478
## Next steps
7579

7680
- [Introduction to Azure Cosmos DB](introduction.md)

0 commit comments

Comments
 (0)