Moving a subset of data from one Cosmos db container to other

Rajan Mishra 0 Reputation points
2023-11-15T19:33:29.5366667+00:00

Hi all,

I am looking for migrating a subset of data from one of the Containers to another in same Azure account.

I have 2 containers: AccountDetails and Users. Both containers have their respective data rows. As per the requirement, I need to have few more details added to each Users container row and that additional data is in AccountDetails container. Here, I am looking at around 4000 records to manipulate.

I looked at the possible solutions (provided by Azure), but it only deals with migrating complete record to another container and not a part of it.

Can anyone please guide me in the correct direction.

Thank you.

Azure Database Migration service
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
711 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,664 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Thiago Custodio 196 Reputation points MVP
    2023-11-15T21:01:49.8+00:00

    I am afraid you will have to code your own data extractor. AFAIK there's no built in / ready to use tool to extract just a subset of data.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.