locked
Calculating Size of Page Blob RRS feed

Answers

  • When it comes to page blob size, there're two parts: One is the size of the page blob and the other is the billable size of that. Size of the page blob can be determined by fetching the properties of the blob and checking its Length property. For the billable size, since you're charged only for the pages you occupy you would need to get the page ranges like you're doing above and then calculate the bytes occupied by using StartOffset and EndOffset properties of each page range you fetch.

    Hope this helps.

    • Marked as answer by Johnson - MSFT Wednesday, October 31, 2012 7:55 AM
    Friday, October 26, 2012 6:42 AM