Share via

how to decrease blob capacity

roy 21 Reputation points
2022-12-16T08:40:42.193+00:00

I created a container in my storage account and uploaded a 10MB file (block blob) at Azure portal.
After about 3 hours, blob capacity at metric of the storage account increased about 10MB.
After that, I deleted the file and waited 12 hours and more, but blob capacity remained 10MB.
Need I wait more?

I want to monitor "blob capacity" using alert, so want to test it, but unable to decrease blob capacity.
If I can, I hope to increase/decrease blob capacity immediately to test it.

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Alistair Ross 7,556 Reputation points Microsoft Employee
    2022-12-16T09:24:35.517+00:00

    Hello @roy

    Capacity metrics values are refreshed daily (up to 24 Hours). The time grain defines the time interval for which metrics values are presented. The supported time grain for all capacity metrics is one hour (PT1H).

    https://learn.microsoft.com/EN-us/azure/storage/blobs/monitor-blob-storage-reference#capacity-metrics

    This means you are only going to see the capacity changes every 24 hours, therefore your alert frequency would have to be at least 24 hours

    I hope this helps provide you with the information you need. If it does, please make sure to mark the question as answered so it helps other people in future.

    Kind regards

    Alistair

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.