您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

标准存储帐户的可伸缩性和性能目标Scalability and performance targets for standard storage accounts

本参考详细介绍了 Azure 存储的可伸缩性和性能目标。This reference details scalability and performance targets for Azure Storage. 以下所列的可伸缩性和性能目标为高端目标,但却是能够实现的。The scalability and performance targets listed here are high-end targets, but are achievable. 在任何情况下,存储帐户实现的请求速率和带宽取决于存储对象大小、使用的访问模式、应用程序执行的工作负荷类型。In all cases, the request rate and bandwidth achieved by your storage account depends upon the size of objects stored, the access patterns utilized, and the type of workload your application performs.

请务必测试服务,确定其性能是否达到要求。Make sure to test your service to determine whether its performance meets your requirements. 如果可能,应避免流量速率突发峰值,并确保流量在各个分区上均匀分布。If possible, avoid sudden spikes in the rate of traffic and ensure that traffic is well-distributed across partitions.

当应用程序达到分区能够处理的工作负荷极限时,Azure 存储将开始返回错误代码 503(服务器忙)或错误代码 500(操作超时)响应。When your application reaches the limit of what a partition can handle for your workload, Azure Storage begins to return error code 503 (Server Busy) or error code 500 (Operation Timeout) responses. 如果发生 503 错误,请考虑修改应用程序以使用指数退避策略进行重试。If 503 errors are occurring, consider modifying your application to use an exponential backoff policy for retries. 使用指数退让策略,可以减少分区上的负载,缓解该分区的流量高峰。The exponential backoff allows the load on the partition to decrease, and to ease out spikes in traffic to that partition.

标准存储帐户的缩放目标Scale targets for standard storage accounts

下表描述了 Azure 常规用途 v1、v2、Blob 存储和块 blob 存储帐户的默认限制。The following table describes default limits for Azure general-purpose v1, v2, Blob storage, and block blob storage accounts. “流入量”限制是指针对发送到存储帐户的所有数据的限制。The ingress limit refers to all data that is sent to a storage account. “流出量”限制是指针对从存储帐户接收的所有数据的限制。The egress limit refers to all data that is received from a storage account.

备注

你可以请求更高的容量和流入量限制。You can request higher capacity and ingress limits. 要请求提高限制,请联系 Azure 支持To request an increase, contact Azure Support.

资源Resource 限制Limit
每个订阅每个区域的存储帐户数,包括标准存储帐户和高级存储帐户。Number of storage accounts per region per subscription, including standard, and premium storage accounts. 250250
最大存储帐户容量Maximum storage account capacity 5 PiB 15 PiB 1
每个存储帐户的 Blob 容器、Blob、文件共享、表、队列、实体或消息数目上限Maximum number of blob containers, blobs, file shares, tables, queues, entities, or messages per storage account 无限制No limit
每个存储帐户的最大请求速率1Maximum request rate1 per storage account 每秒 20,000 个请求20,000 requests per second
每个存储帐户的最大流入量1(美国、欧洲区域)Maximum ingress1 per storage account (US, Europe regions) 10 Gbps10 Gbps
每个存储帐户的最大流入量1(美国和欧洲之外的区域)Maximum ingress1 per storage account (regions other than US and Europe) 如果已启用 RA-GRS/GRS,则为 5 Gbps;对于 LRS/ZRS,为 10 Gbps25 Gbps if RA-GRS/GRS is enabled, 10 Gbps for LRS/ZRS2
常规用途 v2 存储帐户和 Blob 存储帐户的最大流出量(所有区域)Maximum egress for general-purpose v2 and Blob storage accounts (all regions) 50 Gbps50 Gbps
常规用途 v1 存储帐户的最大流出量(美国区域)Maximum egress for general-purpose v1 storage accounts (US regions) 如果已启用 RA-GRS/GRS,则为 20 Gbps;对于 LRS/ZRS,为 30 Gbps220 Gbps if RA-GRS/GRS is enabled, 30 Gbps for LRS/ZRS2
常规用途 v1 存储帐户的最大流出量(非美国区域)Maximum egress for general-purpose v1 storage accounts (non-US regions) 如果已启用 RA-GRS/GRS,则为 10 Gbps;对于 LRS/ZRS,为 15 Gbps210 Gbps if RA-GRS/GRS is enabled, 15 Gbps for LRS/ZRS2
每个存储帐户的虚拟网络规则数目上限Maximum number of virtual network rules per storage account 200200
每个存储帐户的最大 IP 地址规则数Maximum number of IP address rules per storage account 200200

1 Azure 存储标准帐户根据请求支持更高的容量上限和更高的流入量上限。1 Azure Storage standard accounts support higher capacity limits and higher limits for ingress by request. 若要请求增加帐户限制,请与 Azure 支持联系。To request an increase in account limits, contact Azure Support.

2 如果存储帐户具有启用了读取访问权限的异地冗余存储 (RA-GRS) 或异地区域冗余存储 (RA-GZRS),则辅助位置的流出量目标与主位置的流出量目标相同。2 If your storage account has read-access enabled with geo-redundant storage (RA-GRS) or geo-zone-redundant storage (RA-GZRS), then the egress targets for the secondary location are identical to those of the primary location. 有关详细信息,请参阅 Azure 存储复制For more information, see Azure Storage replication.

备注

Microsoft 建议对大多数方案使用常规用途 v2 存储帐户。Microsoft recommends that you use a general-purpose v2 storage account for most scenarios. 可以轻松将常规用途 v1 或 Azure Blob 存储帐户升级到常规用途 v2 帐户,无需停机且无需复制数据。You can easily upgrade a general-purpose v1 or an Azure Blob storage account to a general-purpose v2 account with no downtime and without the need to copy data. 有关详细信息,请参阅升级到常规用途 v2 存储帐户For more information, see Upgrade to a general-purpose v2 storage account.

所有存储帐户都在平面网络拓扑上运行,而无论它们是何时创建的。All storage accounts run on a flat network topology regardless of when they were created. 有关 Azure 存储的扁平网络体系结构和可伸缩性的详细信息,请参阅 Microsoft Azure 存储:具有非常一致性的高可用云存储服务For more information on the Azure Storage flat network architecture and on scalability, see Microsoft Azure Storage: A Highly Available Cloud Storage Service with Strong Consistency.

另请参阅See also