How to extract list of all file names in a Azure blob storage irrespective of the hierarchy.

Mahima Sharma 0 Reputation points
2023-10-11T16:14:33.07+00:00

I am trying to list all file names present in azure blob storage. There are multiple directories and subdirectories to traverse during this process. I have tried walk_blobs and list_blobs function. It is taking 46 minutes to list almost 180k file names.

Is there a better way of achieving it.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramya Harinarthini_MSFT 5,366 Reputation points Microsoft Employee Moderator
    2023-10-12T05:35:33.65+00:00

    @Mahima Sharma Welcome to Microsoft Q&A, thank you for posting your here!!

    Please check this GitHub article for similar issue: https://github.com/Azure/azure-sdk-for-python/issues/11593

    Hope this helps!
    Kindly let us know if the above helps or you need further assistance on this issue.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    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.