1

I'm using Azure Blob storage .Net client library v11.

My azure blob container has more than 20 million files. Listing blob and getting size of each blob is too much time consuming operation.

Looking for method to directly get the size of blob container.

2
  • Thank you for reply but your solution is not helpful for me. I know about Azure portal, I know we can calculate size one by one blob, But I'm looking for different solution. Commented Oct 21, 2020 at 6:38
  • ok, as far as I know, there is no direct way. But if you find a better solution, you can share it with us:). Commented Oct 21, 2020 at 6:39

2 Answers 2

1

Sign in the azure portal. In the Azure portal, select Storage accounts. From the list, choose a storage account. In the Monitoring section, choose Insights (preview).

Sign up to request clarification or add additional context in comments.

1 Comment

I'm using Azure .Net API, So expect solution using c# .Net Code.
1

No, there is no such api/sdk. Please keep eyes on this github issue.

If you prefer using code, you must calculate them one by one. Here is an exmaple.

Otherwise, you should check it via azure portal UI. There is an "Calculate size" button under each container -> Properties.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.