What is the maximum file size which i can upload to azure blob uploadfile method

亡梦爱人 提交于 2019-12-23 07:46:37

问题


Please can i know what the maximum file size to upload to the azure storage blob using uploadfile api.


回答1:


Block Blobs originally had a maximum size of 200GB (with 4MB block size), and now may be up to 4.77TB (with new 100MB block size). Maximum number of blocks per blob: 50,000.

Take a look at operations on Block Blobs for more information about the REST API calls (including Put Block and Put Block List)




回答2:


Update: as of December 2016 the maximum size of a Block Blob has increased to roughly 4.75TB (50,000 x 100MB blocks).

Source: https://azure.microsoft.com/en-gb/blog/general-availability-larger-block-blobs-in-azure-storage/




回答3:


It basically depends on what type of blob you are using. Understanding Block Blobs and Page Blobs explains everything in detail.

If you are using block blobs (UploadFile API):

If you are writing a block blob that is no more than 64 MB in size, you can upload it in its entirety with a single write operation. (Storage clients default to 32 MB, settable using the SingleBlobUploadThresholdInBytes property.)



来源:https://stackoverflow.com/questions/9127783/what-is-the-maximum-file-size-which-i-can-upload-to-azure-blob-uploadfile-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!