Skip to content

Commit 76b6d7a

Browse files
authored
Merge pull request #79709 from ThomasWeiss/thweiss-cosmosdb-support-improvements
Various adjustments following support case reviews
2 parents 0236005 + feffabe commit 76b6d7a

File tree

6 files changed

+17
-6
lines changed

6 files changed

+17
-6
lines changed

articles/cosmos-db/find-request-unit-charge.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to find the request unit (RU) charge for any operation ex
44
author: ThomasWeiss
55
ms.service: cosmos-db
66
ms.topic: sample
7-
ms.date: 05/23/2019
7+
ms.date: 06/14/2019
88
ms.author: thweiss
99
---
1010
# Find the request unit charge in Azure Cosmos DB
@@ -296,3 +296,4 @@ To learn about optimizing your RU consumption, see these articles:
296296
* [Globally scale provisioned throughput](scaling-throughput.md)
297297
* [Provision throughput on containers and databases](set-throughput.md)
298298
* [Provision throughput for a container](how-to-provision-container-throughput.md)
299+
* [Monitor and debug with metrics in Azure Cosmos DB](use-metrics.md)

articles/cosmos-db/index-policy.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to configure and change the default indexing policy for
44
author: ThomasWeiss
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 05/20/2019
7+
ms.date: 06/14/2019
88
ms.author: thweiss
99
---
1010

@@ -14,6 +14,9 @@ In Azure Cosmos DB, every container has an indexing policy that dictates how the
1414

1515
In some situations, you may want to override this automatic behavior to better suit your requirements. You can customize a container's indexing policy by setting its *indexing mode*, and include or exclude *property paths*.
1616

17+
> [!NOTE]
18+
> The method of updating indexing policies described in this article only applies to Azure Cosmos DB's SQL (Core) API.
19+
1720
## Indexing mode
1821

1922
Azure Cosmos DB supports two indexing modes:
6.3 KB
Loading

articles/cosmos-db/request-units.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about how to specify and estimate Request Unit requirements i
44
author: rimman
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 05/20/2019
7+
ms.date: 06/14/2019
88
ms.author: rimman
99

1010
---
@@ -70,3 +70,4 @@ While you estimate the number of RUs per second to provision, consider the follo
7070
* Learn how to [optimize provisioned throughput cost in Azure Cosmos DB](optimize-cost-throughput.md).
7171
* Learn how to [optimize reads and writes cost in Azure Cosmos DB](optimize-cost-reads-writes.md).
7272
* Learn how to [optimize query cost in Azure Cosmos DB](optimize-cost-queries.md).
73+
* Learn how to [use metrics to monitor throughput](use-metrics.md).

articles/cosmos-db/set-throughput.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to set provisioned throughput for your Azure Cosmos conta
44
author: rimman
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 05/28/2019
7+
ms.date: 06/14/2019
88
ms.author: rimman
99

1010
---
@@ -68,6 +68,9 @@ You can combine the two models. Provisioning throughput on both the database and
6868

6969
* You can create an Azure Cosmos database named *Z* with provisioned throughput of *"K"* RUs.
7070
* Next, create five containers named *A*, *B*, *C*, *D*, and *E* within the database. When creating container B, make sure to enable **Provision dedicated throughput for this container** option and explicitly configure *"P"* RUs of provisioned throughput on this container. Note that you can configure shared and dedicated throughput only when creating the database and container.
71+
72+
![Setting the throughput at the container-level](./media/set-throughput/coll-level-throughput.png)
73+
7174
* The *"K"* RUs throughput is shared across the four containers *A*, *C*, *D*, and *E*. The exact amount of throughput available to *A*, *C*, *D*, or *E* varies. There are no SLAs for each individual container’s throughput.
7275
* The container named *B* is guaranteed to get the *"P"* RUs throughput all the time. It's backed by SLAs.
7376

articles/cosmos-db/stored-procedures-triggers-udfs.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article introduces the concepts such as stored procedures, tri
44
author: markjbrown
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 05/21/2019
7+
ms.date: 06/14/2019
88
ms.author: mjbrown
99
ms.reviewer: sngun
1010

@@ -71,7 +71,7 @@ JavaScript functions are also subject to [provisioned throughput capacity](reque
7171

7272
## Triggers
7373

74-
This section describes the two types of triggers:
74+
Azure Cosmos DB supports two types of triggers:
7575

7676
### Pre-triggers
7777

@@ -81,6 +81,9 @@ Azure Cosmos DB provides triggers that can be invoked by performing an operation
8181

8282
Similar to pre-triggers, post-triggers, are also associated with an operation on an Azure Cosmos DB item and they don’t require any input parameters. They run *after* the operation has completed and have access to the response message that is sent to the client. For examples, see [How to write triggers](how-to-write-stored-procedures-triggers-udfs.md#triggers) article.
8383

84+
> [!NOTE]
85+
> Registered triggers don't run automatically when their corresponding operations (create / delete / replace / update) happen. They have to be explicitly called when executing these operations. To learn more, see [how to run triggers](how-to-use-stored-procedures-triggers-udfs.md#pre-triggers) article.
86+
8487
## <a id="udfs"></a>User-defined functions
8588

8689
User-defined functions (UDFs) are used to extend the SQL API query language syntax and implement custom business logic easily. They can be called only within queries. UDFs do not have access to the context object and are meant to be used as compute only JavaScript. Therefore, UDFs can be run on secondary replicas. For examples, see [How to write user-defined functions](how-to-write-stored-procedures-triggers-udfs.md#udfs) article.

0 commit comments

Comments
 (0)