How can we improve Azure Cosmos DB?

Partition switching between collections and databases.

I have a requirement to ingest documents into an ingestion collection. Once the documents are processed I'd like to do bulk moves of documents from the ingestion collection to archive collections. I think a feature like partition switching in SQL Server would work really well for Cosmos DB. At the moment I have to consider copying the appropriate documents from the ingestion collection using the bulk executor then once successfully copied delete the documents from the ingestion collection.

1 vote
Vote
Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
You have left! (?) (thinking…)
Graeme Scott shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Hello Graeme. Currently we do not offer this functionality in precisely the way you have asked for.

However, customers are using our Change Feed feature to archive off data and otherwise manage data between an ingest container and other colder storage. You can take a look here to learn more about Change Feed. This may be actually what you’re after.

https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed#change-feed-use-cases-and-scenarios

Let us know and thanks!

0 comments

Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base