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
When you get a list of `FeedRange` values for your container, you get one `FeedRange` per [physical partition](partitioning-overview.md#physical-partitions).
152
+
When you get a list of `FeedRange` values for your container, you get one `FeedRange` per [physical partition](partitioning.md#physical-partitions).
153
153
154
154
By using a `FeedRange`, you can create a `FeedIterator` to parallelize the processing of the change feed across multiple machines or threads. Unlike the previous example that showed how to obtain a `FeedIterator` for the entire container or a single partition key, you can use FeedRanges to obtain multiple FeedIterators, which can process the change feed in parallel.
155
155
@@ -280,7 +280,7 @@ Here's an example that uses latest version mode showing how to obtain a list of
When you obtain of list of FeedRanges for your container, you get one `FeedRange` per [physical partition](partitioning-overview.md#physical-partitions).
283
+
When you obtain of list of FeedRanges for your container, you get one `FeedRange` per [physical partition](partitioning.md#physical-partitions).
284
284
285
285
By using a `FeedRange`, you can parallelize the processing the change feed across multiple machines or threads. Unlike the previous example that showed how to process changes for the entire container or a single partition key, you can use FeedRanges to process the change feed in parallel.
When you get a list of `feed_range` values for your container, you get one `feed_range` per [physical partition](partitioning-overview.md#physical-partitions).
370
+
When you get a list of `feed_range` values for your container, you get one `feed_range` per [physical partition](partitioning.md#physical-partitions).
371
371
372
372
By using a `feed_range`, you can create iterator to parallelize the processing of the change feed across multiple machines or threads.
373
373
Unlike the previous example that showed how to obtain a `responseIterator` for the entire container or a single partition key, you can use `feed_range` to obtain multiple iterators, which can process the change feed in parallel.
@@ -506,7 +506,7 @@ Here's an example that shows how to get a list of ranges for your container:
506
506
constranges=awaitcontainer.getFeedRanges();
507
507
```
508
508
509
-
When you get a list of `FeedRange` values for your container, you get one `FeedRange` per [physical partition](partitioning-overview.md#physical-partitions).
509
+
When you get a list of `FeedRange` values for your container, you get one `FeedRange` per [physical partition](partitioning.md#physical-partitions).
510
510
511
511
By using a `FeedRange`, you can create iterator to parallelize the processing of the change feed across multiple machines or threads. Unlike the previous example that showed how to obtain a change feed iterator for the entire container or a single partition key, you can use FeedRanges to obtain multiple iterators, which can process the change feed in parallel.
Copy file name to clipboardExpand all lines: articles/cosmos-db/conceptual-resilient-sdk-applications.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ For a video overview of the concepts discussed in this article, see:
24
24
25
25
Azure Cosmos DB SDKs can connect to the service in two [connectivity modes](sdk-connection-modes.md). The .NET and Java SDKs can connect to the service in either *Gateway* or *Direct* mode, while the others can only connect in Gateway mode. Gateway mode uses the HTTP protocol, and Direct mode typically uses the TCP protocol.
26
26
27
-
Gateway mode is always used to fetch metadata such as the account, container, and routing information regardless of which mode SDK is configured for use. This information is cached in memory and is used to connect to the [service replicas](partitioning-overview.md#replica-sets).
27
+
Gateway mode is always used to fetch metadata such as the account, container, and routing information regardless of which mode SDK is configured for use. This information is cached in memory and is used to connect to the [service replicas](partitioning.md#replica-sets).
28
28
29
29
In summary, for SDKs in Gateway mode, you can expect HTTP traffic, while for SDKs in Direct mode, you can expect a combination of HTTP and TCP traffic under different circumstances, such as initialization, fetching metadata, or routing information.
Copy file name to clipboardExpand all lines: articles/cosmos-db/convert-vcore-to-request-unit.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ appliesto:
14
14
15
15
# Convert the number of vCores or vCPUs in your nonrelational database to Azure Cosmos DB RU/s
16
16
17
-
This article explains how to estimate Azure Cosmos DB request units (RU/s) when you are considering data migration but all you know is the total vCore or vCPU count in your existing database replica set(s). When you migrate one or more replica sets to Azure Cosmos DB, each collection held in those replica sets will be stored as an Azure Cosmos DB collection consisting of a sharded cluster with a 4x replication factor. You can read more about our architecture in this [partitioning and scaling guide](partitioning-overview.md). Request units are how throughput capacity is provisioned on a collection; you can [read the request units guide](request-units.md) and the RU/s [provisioning guide](set-throughput.md) to learn more. When you migrate a collection, Azure Cosmos DB provisions enough shards to serve your provisioned request units and store your data. Therefore estimating RU/s for collections is an important step in scoping out the scale of your planned Azure Cosmos DB data estate prior to migration. Based on our experience with thousands of customers, we have found this formula helps us arrive at a rough starting-point RU/s estimate from vCores or vCPUs:
17
+
This article explains how to estimate Azure Cosmos DB request units (RU/s) when you are considering data migration but all you know is the total vCore or vCPU count in your existing database replica set(s). When you migrate one or more replica sets to Azure Cosmos DB, each collection held in those replica sets will be stored as an Azure Cosmos DB collection consisting of a sharded cluster with a 4x replication factor. You can read more about our architecture in this [partitioning and scaling guide](partitioning.md). Request units are how throughput capacity is provisioned on a collection; you can [read the request units guide](request-units.md) and the RU/s [provisioning guide](set-throughput.md) to learn more. When you migrate a collection, Azure Cosmos DB provisions enough shards to serve your provisioned request units and store your data. Therefore estimating RU/s for collections is an important step in scoping out the scale of your planned Azure Cosmos DB data estate prior to migration. Based on our experience with thousands of customers, we have found this formula helps us arrive at a rough starting-point RU/s estimate from vCores or vCPUs:
Copy file name to clipboardExpand all lines: articles/cosmos-db/couchbase-cosmos-migration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The following are the key features that work differently in Azure Cosmos DB when
33
33
34
34
* Azure Cosmos DB has an "ID" field within the document whereas Couchbase has the ID as a part of bucket. The "ID" field is unique across the partition.
35
35
36
-
* Azure Cosmos DB scales by using the partitioning or sharding technique. Which means it splits the data into multiple shards/partitions. These partitions/shards are created based on the partition key property that you provide. You can select the partition key to optimize read as well write operations or read/write optimized too. To learn more, see the [partitioning](partitioning-overview.md) article.
36
+
* Azure Cosmos DB scales by using the partitioning or sharding technique. Which means it splits the data into multiple shards/partitions. These partitions/shards are created based on the partition key property that you provide. You can select the partition key to optimize read as well write operations or read/write optimized too. To learn more, see the [partitioning](partitioning.md) article.
37
37
38
38
* In Azure Cosmos DB, it isn't required for the top-level hierarchy to denote the collection because the collection name already exists. This feature makes the JSON structure simpler. The following is an example that shows differences in the data model between Couchbase and Azure Cosmos DB:
Copy file name to clipboardExpand all lines: articles/cosmos-db/database-transactions-optimistic-concurrency.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Database transactions provide a safe and predictable programming model to deal w
17
17
18
18
With traditional relational databases, you're required to deal with two different programming languages: a nontransactional application programming language, such as JavaScript, Python, C#, or Java; and a transactional programming language, such as T-SQL, that's natively executed by the database.
19
19
20
-
The database engine in Azure Cosmos DB supports full ACID (atomicity, consistency, isolation, durability) compliant transactions with snapshot isolation. All the database operations within the scope of a container's [logical partition](partitioning-overview.md) are transactionally executed within the database engine that's hosted by the replica of the partition. These operations include both write (updating one or more items within the logical partition) and read operations.
20
+
The database engine in Azure Cosmos DB supports full ACID (atomicity, consistency, isolation, durability) compliant transactions with snapshot isolation. All the database operations within the scope of a container's [logical partition](partitioning.md) are transactionally executed within the database engine that's hosted by the replica of the partition. These operations include both write (updating one or more items within the logical partition) and read operations.
21
21
22
22
The following table lists different operations and transaction types:
Copy file name to clipboardExpand all lines: articles/cosmos-db/design-partitioning-iot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,4 +128,4 @@ By using DeviceId +Time-based-key (Date + Hour + Minute) as a hierarchical parti
128
128
> - We recommend adding ID as the last level of your hierarchical partition key to ensure you never reach the 20-GB limit for a logical partition key.
129
129
- Optimize our most common query patterns that frequently filter by DeviceId and Date/Hour/Minute, minimizing cross-partition queries and reducing RU costs.
130
130
131
-
For more information on how partitioning works in Azure Cosmos DB, you can learn more [here](partitioning-overview.md).
131
+
For more information on how partitioning works in Azure Cosmos DB, you can learn more [here](partitioning.md).
0 commit comments