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

Azure 文件可伸缩性和性能目标Azure Files scalability and performance targets

Azure 文件在云中提供完全托管的文件共享,这些共享项可通过行业标准 SMB 协议进行访问。Azure Files offers fully managed file shares in the cloud that are accessible via the industry standard SMB protocol. 本文讨论了 Azure 文件和 Azure 文件同步(预览版)的可伸缩性和性能目标。This article discusses the scalability and performance targets for Azure Files and Azure File Sync (Preview).

此处列出的可伸缩性和性能目标是高端目标,但可能会受部署中的其他变量影响。The scalability and performance targets listed here are high-end targets, but may be affected by other variables in your deployment. 例如,除了受限于托管着 Azure 文件服务的服务器之外,针对文件的吞吐量还可能会受限于可变的网络带宽。For example, the throughput for a file may also be limited by your available network bandwidth, not just the servers hosting the Azure Files service. 强烈建议你对使用模式进行测试,以确定 Azure 文件的可伸缩性和性能是否满足你的要求。We strongly recommend testing your usage pattern to determine whether the scalability and performance of Azure Files meet your requirements. 随着时间的推移,我们也一直在努力提高这些限制。We are also committed to increasing these limits over time. 如果希望我们提高某些限制,请尽管通过下面的评论或者通过 Azure 文件 UserVoice 向我们提供反馈。Please don't hesitate to give us feedback, either in the comments below or on the Azure Files UserVoice, about which limits you would like to see us increase.

Azure 存储帐户规模目标Azure storage account scale targets

Azure 文件共享的父资源是 Azure 存储帐户。The parent resource for an Azure File share is an Azure storage account. 存储帐户表示 Azure 中的一个存储池,该存储池可供包括 Azure 文件在内多个存储服务用来存储数据。A storage account represents a pool of storage in Azure that can be used by multiple storage services, including Azure Files, to store data. 在存储帐户中存储数据的其他服务有 Azure Blob 存储、Azure 队列存储和 Azure 表存储。Other services that store data in storage accounts are Azure Blob storage, Azure Queue storage, and Azure Table storage. 以下目标适用于在存储帐户中存储数据的所有存储服务:The following targets apply all storage services storing data in a storage account:

资源Resource 默认限制Default Limit
每个区域的存储帐户数Number of storage accounts per region 20012001
最大存储帐户容量Max storage account capacity 500 TiB2500 TiB2
每个存储帐户的 Blob 容器、Blob、文件共享、表、队列、实体或消息数上限Max number of blob containers, blobs, file shares, tables, queues, entities, or messages per storage account 无限制No limit
每个存储帐户的最大请求速率Maximum request rate per storage account 每秒 20,000 个请求220,000 requests per second2
每个存储帐户的最大入口 3(美国区域)Max ingress3 per storage account (US Regions) 如果已启用 RA-GRS/GRS,则为 10 Gbps;对于 LRS/ZRS,为 20 Gbps410 Gbps if RA-GRS/GRS enabled, 20 Gbps for LRS/ZRS4
每个存储帐户的最大出口 3(美国区域)Max egress3 per storage account (US Regions) 如果已启用 RA-GRS/GRS,则为 20 Gbps;对于 LRS/ZRS,为 30 Gbps420 Gbps if RA-GRS/GRS enabled, 30 Gbps for LRS/ZRS4
每个存储帐户的最大入口3(非美国区域)Max ingress3 per storage account (Non-US regions) 如果已启用 RA-GRS/GRS,则为 5 Gbps;对于 LRS/ZRS,为 10 Gbps45 Gbps if RA-GRS/GRS enabled, 10 Gbps for LRS/ZRS4
每个存储帐户的最大出口3(非美国区域)Max egress3 per storage account (Non-US regions) 如果已启用 RA-GRS/GRS,则为 10 Gbps;对于 LRS/ZRS,为 15 Gbps410 Gbps if RA-GRS/GRS enabled, 15 Gbps for LRS/ZRS4

1包括标准和高级存储帐户。1Includes both Standard and Premium storage accounts. 如果需要的存储帐户超过 100 个,请通过 Azure 支持提出请求。If you require more than 200 storage accounts, make a request through Azure Support. Azure 存储团队将评审业务案例,最多可以批准 250 个存储帐户。The Azure Storage team will review your business case and may approve up to 250 storage accounts.

2 如果需要扩大存储帐户的限制,请联系 Azure 支持2 If you need expanded limits for your storage account, please contact Azure Support. Azure 存储团队会对请求进行审核,根据具体情况批准提高限制的请求。The Azure Storage team will review the request and may approve higher limits on a case by case basis. 通用和 Blob 存储帐户请求支持都可按请求提高容量、流入量/流出量和请求速率。Both general-purpose and Blob storage accounts support increased capacity, ingress/egress, and request rate by request. 有关 Blob 存储帐户的新最大值,请参阅宣布推出更大、更高规模的存储帐户For the new maximums for Blob storage accounts, see Announcing larger, higher scale storage accounts.

3 仅受帐户的传入/传出限制的限制。3 Capped only by the account's ingress/egress limits. 传入是指发送到存储帐户的所有数据(请求)。Ingress refers to all data (requests) being sent to a storage account. “传出”是指从存储帐户接收的所有数据(响应)。Egress refers to all data (responses) being received from a storage account.

4Azure 存储冗余选项包括:4Azure Storage redundancy options include:

  • RA-GRS:读取访问异地冗余存储。RA-GRS: Read-access geo-redundant storage. 如果已启用 RA-GRS,辅助位置的出口目标与主要位置的出口目标相同。If RA-GRS is enabled, egress targets for the secondary location are identical to those for the primary location.
  • GRS:异地冗余存储。GRS: Geo-redundant storage.
  • ZRS:区域冗余存储。ZRS: Zone-redundant storage.
  • LRS:本地冗余存储。LRS: Locally redundant storage.

只使用 Azure 资源管理器执行管理操作时,以下限制适用。The following limits apply when performing management operations using the Azure Resource Manager only.

资源Resource 默认限制Default Limit
存储帐户管理操作数(读取)Storage account management operations (read) 每 5 分钟 800 次800 per 5 minutes
存储帐户管理操作数(写入)Storage account management operations (write) 每小时 200 次200 per hour
存储帐户管理操作数(列出)Storage account management operations (list) 每 5 分钟 100 次100 per 5 minutes

重要

其他存储服务对存储帐户的利用率会影响你的存储帐户中的 Azure 文件共享。Storage account utilization from other storage services affects your Azure File shares in your storage account. 例如,如果由于 Azure Blob 存储而达到了最大存储帐户容量,则将无法在 Azure 文件共享上创建新文件,即使 Azure 文件共享低于最大共享大小。For example, if you reach the maximum storage account capacity with Azure Blob storage, you will not be able to create new files on your Azure File share, even if your Azure File share is below the maximum share size.

Azure 文件规模目标Azure Files scale targets

资源Resource 目标Target
文件共享的最大大小Max size of a file share 5 TiB5 TiB
文件共享中文件的最大大小Max size of a file in a file share 1 TiB1 TiB
文件共享中的文件数上限Max number of files in a file share 无限制No limit
每个共享的最大 IOPSMax IOPS per share 1000 IOPS1000 IOPS
每个文件共享的存储的访问策略的最大数目Max number of stored access policies per file share 55
每个存储帐户的最大请求速率Maximum request rate per storage account 对于任何有效大小的文件,每秒 20,000 个请求320,000 requests per second for files of any valid size3
单个文件共享的目标吞吐量Target throughput for single file share 最高每秒 60 MiBUp to 60 MiB per second
每个文件打开图柄的最大数目Maximum open handles for per file 2000 个打开图柄2000 open handles
共享快照的最大数目Maximum number of share snapshots 200 个共享快照200 share snapshots

Azure 文件同步规模目标Azure File Sync scale targets

对于 Azure 文件同步,在设计时我们已尽最大努力来实现不受限的使用,但这并非始终可能。With Azure File Sync, we have tried as much as possible to design for limitless usage, however this is not always possible. 下表指明了我们的测试边界以及哪些目标实际上是硬性限制:The below table indicates the boundaries of our testing and which targets are actually hard limits:

资源Resource 目标Target 硬限制Hard limit
每个订阅的存储同步服务数Storage Sync Services per subscription 15 个存储同步服务15 Storage Sync Services No
每个存储同步服务的同步组数Sync groups per Storage Sync Service 30 个同步组30 sync groups Yes
每个存储同步服务的已注册服务器Registered servers per Storage Sync Service 99 台服务器99 servers Yes
每个同步组的云终结点数Cloud endpoints per Sync Group 1 个云终结点1 cloud endpoint Yes
每个同步组的服务器终结点数Server endpoints per Sync Group 50 个服务器终结点50 server endpoints No
每个服务器的服务器终结点数Server endpoints per server 33 到 99 个服务器终结点33-99 server endpoints 是,但因配置而异Yes, but varies based on configuration
终结点大小Endpoint size 4 TiB4 TiB No
每个同步组的文件系统对象数(目录和文件)File system objects (directories and files) per sync group 600 万个对象6 million objects No
文件大小File size 100 GiB100 GiB No
要进行分层的文件的最小文件大小Minimum file size for a file to be tiered 64 KiB64 KiB Yes

另请参阅See also