Blob Capacity by Tier

Morris, Michael A 40 Reputation points
2024-05-01T19:58:31.9633333+00:00

Hi I was wondering if there is a way to get the blob or usage capacity for storage accounts broken down by tier through rest api?

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,366 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amrinder Singh 3,165 Reputation points Microsoft Employee
    2024-05-02T02:46:12.6333333+00:00

    Hi Morris, Michael A - Thanks for reaching out.

    There are multiple options to gain insights to tier level capacity.

    You can navigate to Monitoring -> Metrics-> Select Blob as Metrics Name space -> Blob Capacity as Metrics. Thereafter, you can apply splitting based on Blob Tier further.

    https://learn.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage-reference#supported-metrics-for-microsoftstoragestorageaccountsblobservices

    You can execute a PS Script to traverse though all the blob and calculate the size for any particular tier blobs or customize it further to get calculations done for all of them.

    You can run a blob inventory report for capacity calculation and you can then run KQL queries to filter based on access tiers further.

    https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-inventory-report-analytics

    https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-calculate-container-statistics-databricks

    Please let us know if you have any further queries. I’m happy to assist you further.    


    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

1 additional answer

Sort by: Most helpful
  1. Nehruji R 2,891 Reputation points Microsoft Vendor
    2024-05-02T11:27:59.84+00:00

    Hello Morris, Michael A,

    Greetings! Welcome to Microsoft Q&A Platform.

    Adding to above information. When it comes to Standard Tier Azure Storage accounts, though there are no limits on the number of blobs, files, shares, queues, entities, or messages that can be stored within this capacity but there are some important considerations regarding data uploading and downloading,

    You can upload and download data within the available capacity without any specific restrictions and the standard general-purpose V2 account has a capacity of five petabytes. If you need more capacity, you can request an extension through Azure support.

    Azure storage capacity limits are set at the account level, rather than according to access tier. You can choose to maximize your capacity usage in one tier, or to distribute capacity across two or more tiers.

    Block blobs are optimized for uploading large amounts of data efficiently. Block blobs are composed of blocks, each of which is identified by a block ID. A block blob can include up to 50,000 blocks. Each block in a block blob can be a different size, up to the maximum size permitted for the service version in use.

    Note: Setting the access tier is only allowed on Block Blobs. They are not supported for Append and Page Blobs.

    refer -https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview#scalability-targets-for-standard-storage-accounts, https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview for more details.

    Additionally, you can use the Get Blob REST API to retrieve a blob from the system, which includes its metadata and properties. This operation can be useful if you need to read or download specific blobs and their associated information. For more detailed operations and to manage blobs including setting the tier, you can refer to the Azure Storage REST API documentation - https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob?tabs=microsoft-entra-id

    Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.


    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