How to download payloads from Azure Cosmos DB efficiently?

crynos_001 0 Reputation points
2025-01-23T09:15:43.25+00:00

I need help figuring out how to download specific payloads from Azure Cosmos DB efficiently.

While exploring the Azure interface, I noticed an option to delete data, but I couldn’t find a straightforward way to download it. For example, I want to download payloads for a query like:

SELECT

I also tried implementing this via Java, and while it worked, the performance was very slow—processing 30 payloads took about 10 minutes.

Is there a built-in Azure tool, feature, or method to directly download specific payloads from Cosmos DB based on a query?

Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,738 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Raghunadh M 1,915 Reputation points Microsoft Vendor
    2025-01-23T10:33:45.0166667+00:00

    Hi @crynos_001,

    Thanks for the Question and using Microsoft Q&A

    As per my understanding, you want to download specific payloads from cosmos DB based on a query.

    This can be done using Azure Data Factory (ADF).

    Please go through this documentation

    https://learn.microsoft.com/en-us/azure/data-factory/concepts-pipelines-activities?tabs=data-factory

    Hope this helps. Do let us know if you any further queries. If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.