Azure Storage Table Size

Subscription billing is based on the size of the used space. Now I need to know the details. What is the size of each storage object in my repository (container block, single table)?

It is easy to write code that lists all the drops and calculates the total size for each container. But what about tables? How can I get the size of a specific table in Azure storage?

+8
azure azure-storage azure-table-storage
source share
2 answers

If you are not interested in breaking up the blob container, you do not need to write code until you find the size of the blob storage. This information is available to you through repository analytics ( http://msdn.microsoft.com/en-us/library/windowsazure/hh343270.aspx ). The table of interest to you will be $ MetricsCapacityBlob ( http://msdn.microsoft.com/en-us/library/windowsazure/hh343264.aspx ).

Coming to tables, unfortunately, there is no such thing, and you will need to get all the entities and calculate the size of each object to find the size of the table. You may find this blog post useful in calculating the size of an object: http://blogs.msdn.com/b/avkashchauhan/archive/2011/11/30/how-the-size-of-an-entity-is-caclulated -in-windows-azure-table-storage.aspx .

NTN.

+4
source share

There is a tool that can calculate the size of a table or entity for you. Azure Storage Manager

  • Select a storage table in the left pane of the tree
  • Click the Property button
  • Click the "Calc" button in the table properties dialog box.
  • Wait a few minutes until the "Calc" button becomes available again.
+2
source share

All Articles