question

MikeZheng-3371 avatar image
0 Votes"
MikeZheng-3371 asked GeethaThatipatri-MSFT commented

How to duplicate a container in COSMOS DB with mongo API

What is the easiest way to duplication a container including data in COSMOS DB with mongo API?

azure-cosmos-db
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GeethaThatipatri-MSFT avatar image
1 Vote"
GeethaThatipatri-MSFT answered GeethaThatipatri-MSFT commented

Hi, @MikeZheng-3371 Welcome to Microsoft Q&A, Thanks for posting your query.
What are the number of collections and avg size of collections?
I would recommend if the collection sizes are small - in double-digit Gbs, better to simply use mongodump/mongorestore else go with ADF or Spark.
you can find this document for more information.

Please let me know if the information is helpful.

Regards
Geetha


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @MikeZheng-3371 We haven't heard back from you. Just wanted to check if you find the above reply useful. If yes, do click on the 'Mark as answer' link in the above reply. This will help other community members facing similar queries to refer to this solution.
Regards
Geetha

0 Votes 0 ·