As I recently started mingling around with Windows Azure
, I've came up to a situation where, which one to go for between the Block Blob
& Page Blob
. I'm currently in progress of uploading some text, csv or dat files to a blob storage and then do a MapReduce
program for it using my C# program. Yes I've gone through an article.
But couldn't get a clear idea from them. To cut short, Block Blob vs Page Blob
. Any help would be appreciated.
Block blobs are composed of blocks and are ideal for storing text or binary files, and for uploading large files efficiently. Append blobs are also made up of blocks, but they are optimized for append operations, making them ideal for logging scenarios.
Azure Storage supports three types of blobs: Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually. Block blobs can store up to about 190.7 TiB. Append blobs are made up of blocks like block blobs, but are optimized for append operations.
You need to change the Block Blob to a page blob A. Delete the Block Blob and re-upload the VHD as a page blob. B. Update the type of the blob programmatically by using the Azure Storage .
The differences are very-well documented on msdn, here. TL;DR:
Note: Premium page blobs have specific sizings (unlike regular page blobs, which can be any size up to 8TB).
Premium storage provides guaranteed IOPS and throughput, depending on the page blob size chosen (from 120 IOPS+25MB/s @ 32GB to 7500 IOPS+250MB/s @ 2048GB & 4096GB). Specific details around IOPS+throughput details are documented here.
Davids answer points out the differences between page and block blobs. However there are also Append Blobs. In short:
Further reading: Understanding block blobs, append blobs, and page blobs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With