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
Copy file name to clipboardExpand all lines: articles/cosmos-db/migration-choices.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.date: 04/02/2022
15
15
You can load data from various data sources to Azure Cosmos DB. Since Azure Cosmos DB supports multiple APIs, the targets can be any of the existing APIs. The following are some scenarios where you migrate data to Azure Cosmos DB:
16
16
17
17
* Move data from one Azure Cosmos DB container to another container within the Azure Cosmos DB account (could be in the same database or a different database).
18
-
* Move data from one Azure Cosmos DB account to another Azure Cosmos DB account (could be in the same region or a different regions, same subscription or a different one).
18
+
* Move data from one Azure Cosmos DB account to another Azure Cosmos DB account (could be in the same region or a different region, same subscription or a different one).
19
19
* Move data from a source such as Azure blob storage, a JSON file, Oracle database, Couchbase, DynamoDB to Azure Cosmos DB.
20
20
21
21
In order to support migration paths from the various sources to the different Azure Cosmos DB APIs, there are multiple solutions that provide specialized handling for each migration path. This document lists the available solutions and describes their advantages and limitations.
@@ -24,7 +24,7 @@ In order to support migration paths from the various sources to the different Az
24
24
25
25
The following factors determine the choice of the migration tool:
26
26
27
-
***Online vs offline migration**: Many migration tools provide a path to do a one-time migration only. This means that the applications accessing the database might experience a period of downtime. Some migration solutions provide a way to do a live migration where there is a replication pipeline set up between the source and the target.
27
+
***Online vs offline migration**: Many migration tools provide a path to do a one-time migration only. This means that the applications accessing the database might experience a period of downtime. Some migration solutions provide a way to do a live migration where there's a replication pipeline set up between the source and the target.
28
28
29
29
***Data source**: The existing data can be in various data sources like Oracle DB2, Datastax Cassanda, Azure SQL Database, PostgreSQL, etc. The data can also be in an existing Azure Cosmos DB account and the intent of migration can be to change the data model or repartition the data in a container with a different partition key.
30
30
@@ -37,7 +37,7 @@ The following factors determine the choice of the migration tool:
37
37
## Azure Cosmos DB API for NoSQL
38
38
39
39
If you need help with capacity planning, consider reading our [guide to estimating RU/s using Azure Cosmos DB capacity planner](estimate-ru-with-capacity-planner.md).
40
-
* If you are migrating from a vCores- or server-based platform and you need guidance on estimating request units, consider reading our [guide to estimating RU/s based on vCores](estimate-ru-with-capacity-planner.md).
40
+
* If you're migrating from a vCores- or server-based platform and you need guidance on estimating request units, consider reading our [guide to estimating RU/s based on vCores](estimate-ru-with-capacity-planner.md).
@@ -46,22 +46,22 @@ If you need help with capacity planning, consider reading our [guide to estimati
46
46
|Offline|[Azure Cosmos DB Spark connector](./nosql/quickstart-spark.md)|Azure Cosmos DB for NoSQL. <br/><br/>You can use other sources with additional connectors from the Spark ecosystem.| Azure Cosmos DB for NoSQL. <br/><br/>You can use other targets with additional connectors from the Spark ecosystem.|• Makes use of the Azure Cosmos DB bulk executor library. <br/>• Suitable for large datasets. <br/>• Needs a custom Spark setup. <br/>• Spark is sensitive to schema inconsistencies and this can be a problem during migration. |
47
47
|Online|[Azure Cosmos DB Spark connector + Change Feed sample](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-cosmos-spark_3_2-12/Samples/DatabricksLiveContainerMigration)|Azure Cosmos DB for NoSQL. <br/><br/>Uses Azure Cosmos DB Change Feed to stream all historic data as well as live updates.| Azure Cosmos DB for NoSQL. <br/><br/>You can use other targets with additional connectors from the Spark ecosystem.|• Makes use of the Azure Cosmos DB bulk executor library. <br/>• Suitable for large datasets. <br/>• Needs a custom Spark setup. <br/>• Spark is sensitive to schema inconsistencies and this can be a problem during migration. |
48
48
|Offline|[Custom tool with Azure Cosmos DB bulk executor library](migrate.md)| The source depends on your custom code | Azure Cosmos DB for NoSQL|• Provides checkpointing, dead-lettering capabilities which increases migration resiliency. <br/>• Suitable for very large datasets (10 TB+). <br/>• Requires custom setup of this tool running as an App Service. |
49
-
|Online|[Azure Cosmos DB Functions + ChangeFeed API](change-feed-functions.md)| Azure Cosmos DB for NoSQL | Azure Cosmos DB for NoSQL|• Easy to set up. <br/>• Works only if the source is an Azure Cosmos DB container. <br/>• Not suitable for large datasets. <br/>•Does not capture deletes from the source container. |
49
+
|Online|[Azure Cosmos DB Functions + ChangeFeed API](change-feed-functions.md)| Azure Cosmos DB for NoSQL | Azure Cosmos DB for NoSQL|• Easy to set up. <br/>• Works only if the source is an Azure Cosmos DB container. <br/>• Not suitable for large datasets. <br/>•Doesn't capture deletes from the source container. |
50
50
|Online|[Striim](cosmosdb-sql-api-migrate-data-striim.md)|•Oracle <br/>•Apache Cassandra<br/><br/> See the [Striim website](https://www.striim.com/sources-and-targets/) for other supported sources. |•Azure Cosmos DB for NoSQL <br/>• Azure Cosmos DB for Cassandra<br/><br/> See the [Striim website](https://www.striim.com/sources-and-targets/) for other supported targets. |• Works with a large variety of sources like Oracle, DB2, SQL Server.<br/>• Easy to build ETL pipelines and provides a dashboard for monitoring. <br/>• Supports larger datasets. <br/>• Since this is a third-party tool, it needs to be purchased from the marketplace and installed in the user's environment.|
51
51
52
52
## Azure Cosmos DB API for MongoDB
53
53
54
54
Follow the [pre-migration guide](mongodb/pre-migration-steps.md) to plan your migration.
55
55
* If you need help with capacity planning, consider reading our [guide to estimating RU/s using Azure Cosmos DB capacity planner](estimate-ru-with-capacity-planner.md).
56
-
* If you are migrating from a vCores- or server-based platform and you need guidance on estimating request units, consider reading our [guide to estimating RU/s based on vCores](convert-vcore-to-request-unit.md).
56
+
* If you're migrating from a vCores- or server-based platform and you need guidance on estimating request units, consider reading our [guide to estimating RU/s based on vCores](convert-vcore-to-request-unit.md).
57
57
58
-
When you are ready to migrate, you can find detailed guidance on migration tools below
58
+
When you're ready to migrate, you can find detailed guidance on migration tools below
59
59
*[Offline migration using MongoDB native tools](mongodb/tutorial-mongotools-cosmos-db.md)
60
60
*[Offline migration using Azure database migration service (DMS)](../dms/tutorial-mongodb-cosmos-db.md)
61
61
*[Online migration using Azure database migration service (DMS)](../dms/tutorial-mongodb-cosmos-db-online.md)
62
62
*[Offline/online migration using Azure Databricks and Spark](mongodb/migrate-databricks.md)
63
63
64
-
Then, follow our [post-migration guide](mongodb/post-migration-optimization.md) to optimize your Azure Cosmos DB data estate once you have migrated.
64
+
Then, follow our [post-migration guide](mongodb/post-migration-optimization.md) to optimize your Azure Cosmos DB data estate once you've migrated.
65
65
66
66
A summary of migration pathways from your current solution to Azure Cosmso DB for MongoDB is provided below:
0 commit comments