get_blob_names in Azure Python SDK #25287
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Hello,
Recently I've been building a Python application that acts as a search tool for an Azure storage account containing several containers. One container has nearly 1,100,000 blobs. When my script searches through this container, it takes nearly 23 minutes to fully complete.
I'm currently using the 'list_blobs' method to retrieve a generator containing all of the blobs in each container. However, this method seems to be very CPU intensive and ultimately is not ideal to use for e.g. a search tool.
I came across the 'Listing blobs names is very slow #19755' issue, and noticed that a new method called 'get_blob_names' is in the works which will be much faster in terms of getting blob names using the list_blobs method.
I was wondering if the get_blob_names method is available for use in the Azure Python SDK currently, and if not, when we can expect this method to be available for use. Thank you!
The text was updated successfully, but these errors were encountered: