通用迁移性能指南General migration performance guidance

重要

许多 Microsoft SharePoint 和 Microsoft OneDrive 客户会针对后台运行的服务来运行业务关键应用程序。Many Microsoft SharePoint and Microsoft OneDrive customers run business-critical applications against the service that run in the background. 其中包括内容迁移、数据丢失防护 (DLP) 和备份解决方案。These include content migration, Data Loss Prevention (DLP), and backup solutions. 在这个前所未有的时代,我们正在采取行动,以确保 SharePoint 和 OneDrive 服务保持高可用性和可靠性,为在远程工作场景中比以往任何时候都更依赖这些服务的用户提供便利。During these unprecedented times, we are taking steps to ensure that SharePoint and OneDrive services remain highly available and reliable for your users who depend on the service more than ever in remote work scenarios.

为了支持这一目标,我们对在工作日日间时间段内运行的后台应用(迁移、DLP 和备份解决方案)实施了更严格的限制。In support of this objective, we have implemented tighter throttling limits on background apps (migration, DLP and backup solutions) during weekday daytime hours. 预计这些应用应该会在这段时间内实现非常有限的吞吐量。You should expect that these apps will achieve very limited throughput during these times. 不过,在相应区域的夜间和周末时间段内,服务将可以处理来自后台应用的大量请求。However, during evening and weekend hours for the region, the service will be ready to process a significantly higher volume of requests from background apps.

重要

Microsoft 能否禁用限制来帮助我进行迁移?Can Microsoft turn off the throttle to help me with migration? 不能。No. 限制是为了保护服务的可靠性和可用性。Throttling is in place to protect the reliability and availability of the service. 无法禁用或暂停限制规则。Throttling rules cannot be disabled or suspended. 开立支持票证不会解除限制。Opening a support ticket will not lift throttle. 有关详细信息,请参阅下面的常见问题解答和疑难解答部分。See the FAQ and Troubleshooting section below for additional information.

本文介绍了当 Microsoft 365 的 SharePoint 和 OneDrive 迁移内容时,将会影响性能的因素。This article explains the factors that influence performance when migrating content to SharePoint and OneDrive in Microsoft 365.

迁移性能受网络基础结构、文件大小、迁移时间和限制的影响。了解这些有助于你规划和最大化迁移效率。Migration performance can be impacted by network infrastructure, file size, migration time, and throttling. Understanding these will help you plan and maximize the efficiency of your migration.

目前,Microsoft 的 SharePoint 迁移工具 (SPMT) 和各种第三方供应商工具均使用 SharePoint API 进行迁移。它利用 Azure 并使用多种渠道进行大型内容传输。无论使用哪种迁移工具,这些因素均适用。请按照下面列出的建议,了解迁移过程的各个阶段。Currently, Microsoft's SharePoint Migration Tool (SPMT) and other third party vendor tools use the SharePoint API for migration. It leverages Azure and uses channels for large content transfer. Whatever migration tool you use, these factors will apply. Follow the recommendations listed below for each phase of your migration process.

迁移前Before migration

合理规划是优化迁移的关键因素。确定需要迁移的内容,对要迁移的内容进行优先级排序,并确定应使用的最优迁移基础结构。Planning is the key to optimizing your migration. Determine what content you need to migrate, prioritize when the content needs to be migrated, and decide on what the optimal migration infrastructure should be.

I. 扫描源I. Scan the source

优秀迁移的第一个原则是在迁移之前了解源,评估和会审内容。哪些内容确实需要迁移?哪些无需迁移?应包括多少个文件版本?需要迁移的内容量决定着项目的整体大小。The first rule of a good migration is to know your source; evaluate and triage your content before you migrate. What content really needs be migrated? What can be left behind? How many file versions should be included? The amount of content you migrate will determine the overall size of your project.

II. 打包内容II. Package the content

在此步骤中,将会通过工具为要导入到云中的内容创建一个合适的包。此步骤将在 SPMT 和大多数第三方工具中自动进行。This step is where the tool creates a proper package for the content to be imported into the cloud. This step is automated in SPMT and in most third-party tools.

包大小。 若要提高迁移吞吐量,我们建议为每次传输打包至少 250 个文件。对于传输大小,我们建议每个包的大小为大于 100MB 且小于 250MB。遵守这些原则,会提高上传至 Azure 的速度,并利用迁移 API 的扩展功能。Package size. To improve migration throughput, we recommend that you package at least 250 files per transfer. For the transfer size, we recommend a minimum of 100 MB and less than 250 MB per package. Keeping within these guidelines will result in a faster upload speed to Azure and leverages the scale capabilities of the migration API.

下表中提供的可以实现的速度类型估计值基于迁移的内容类型。The following table provides estimates of the type of speed you may achieve based on the types of content you are migrating.

元数据类型Type of metadata 示例Examples 最大值Maximum
轻负载Light ISO 文件、视频文件ISO files, video files 10 TB/天10 TB/day
Medium 列表项、Office 文件(约 1.5 MB)List items, Office files (~1.5 MB) 1 TB/天1 TB/day
重负载Heavy 含有自定义列的列表项、小文件(约 50 kb)List items with custom columns, small files (~50 kb) 250 GB/天250 GB /day
  • 与小的文件大小相比,大的文件大小的迁移速度更快。小的文件大小可能会导致更大的开销和更长的处理时间,直接影响性能。Large file size migrates faster than smaller ones. Small file size can result in larger overhead and processing time which directly impacts the performance.

  • 文件的迁移速度快于对象和列表项目。Files migrate faster than objects and list items.

此步骤的速度取决于所使用工具的效率以及所打包内容的类型。智能拆分内容包可以显著提高此步骤的速度。此外,请确保为迁移正确设置权限、共享或其他限制,并且它们均未超出 SharePoint 限制和边界The speed of this step depends on the efficiency of the tool you are using and the type of content that you package. Splitting your packages in a smart way is something that will greatly improve this step. In addition, ensure that your permissions, sharing, or other limits are set up properly for migration and are within SharePoint limits and boundaries.

备注

如果计划迁移超过 100 TB,请查看下面的“大型迁移”部分。If you are planning to migrate over 100TB, review the following section, Large Migration.

在迁移过程中During migration

I. 上传到 AzureI. Upload to Azure

SPMT 或第三方工具将 Azure 用作临时保留位置,使用迁移 API 将内容迁移到 SharePoint。SPMT or your third-party tool will migrate your content into SharePoint using the Migration API, leveraging Azure as a temporary holding place.

如果连接正常且可配置数据中心,则为 Azure 和 Microsoft 365 帐户选择从地理位置来说离你最近的同一数据中心位置。迁移数据吞吐量在非高峰期,通常为所在区域时区中的夜间和周末时,是最大的。所在区域的时区由设置 SharePoint 租户时所处的位置决定。If you have a good connection and can configure your datacenter, choose the same datacenter location closest geographically to you for your Azure and your Microsoft 365 account. Migration data throughput is highest during off-peak hours, which are typically nights and weekends in your region's time zone. Your region's time zone is determined by where your SharePoint tenant is set up.

II. 迁移 APIII. The Migration API

迁移过程的最后一个步骤是将数据从 Azure 移至 SharePoint。如果使用的是 SPMT 或第三方工具,则此操作对于用户是透明的。The final step of the migration process is when the data is moved from Azure to SharePoint. This action is transparent to the user when using SPMT or a third- party tool.

若要提高吞吐量,建议用户尽量根据不同的网站集运行并行任务。我们建议你不要一次提交超过 5,000 个迁移作业/请求。如果网络队列过长,则会对数据库产生额外的负荷,从而减慢迁移速度。请确保先完成现有任务,然后再开始上传新的迁移请求。某些工具可能已经为你完成了此操作。To improve throughput, users are encouraged to run parallel tasks against different site collections if possible. We recommend that you do not submit more than 5,000 migration jobs/requests at one time. Over-queuing the network will create an extra load on the database and slow migration down. Make sure your task has completed before you upload a new migration request. Some tools may already be doing this for you.

在迁移过程中,迁移任务受限的情况很常见。实施限制是为了确保提供 Sharepoint 最佳用户体验和可靠性。它主要用于平衡数据库负载,在错误配置迁移设置时(例如,在单个任务中迁移所有内容或者尝试在高峰期进行迁移等)可能会出现此情况。During migration, it is not uncommon for your migration task to be throttled. Throttling is implemented to ensure the best user experience and reliability of SharePoint. It is primarily used to load balance the database and can occur if you misconfigure migration settings, such as migrating all your content in a single task or attempting to migrate during peak hours.

如需更多的技术背景和信息,请参阅For more technical background and information, please see

迁移后After migration

迁移完成后,验证你的内容是否已成功移至 SharePoint 或 OneDrive。After the migration is completed, verify that your content has been successfully moved to SharePoint or OneDrive.

超过 100TB 的大型迁移Large migrations over 100TB

如果计划迁移超过 100TB,请按照下面列出的步骤提交支持请求。If you are planning to migrate over 100TB, please submit a support request following the steps listed below. 请确保包含所有请求的信息。Make sure to include all requested information.

请按以下步骤操作:Follow these steps:

  1. 导航到 https://admin.microsoft.comNavigate to https://admin.microsoft.com
  2. 确保你使用的是新管理中心预览。Ensure you are using the new admin center preview.

备注

如果你使用的是旧 Microsoft 365 管理中心,则可以跳过步骤 8 ,因为“说明”字段将不存在。If you are using the old Microsoft 365 admin center you can skip step 8 as the "Description" field will not exist.

  1. 在左侧导航窗格中,选择“支持”****,然后选择“新建服务请求”****。On the left nav pane, select Support, and then select New Service Request.

    新建服务请求

这将激活屏幕右侧的“需要帮助?”窗格。This will activate the Need Help? pane on the right-hand side of your screen.

  1. 在“简要描述你的问题”区域,输入“内容超过 100 TB 的 SharePoint 迁移”。In the Briefly describe your issue area, enter "SharePoint Migration over 100TB".

    需要帮助

  2. 选择“联系支持人员”****。Select Contact Support.

  3. 在“说明”**** 下,输入“超过 100 TB 的 SharePoint 迁移”。Under Description, enter "SharePoint Migration over 100TB".

  4. 填写其余信息,然后选择“与我联系”****。Fill out the remaining info, and select Contact me.

  5. 创建票证后,请确保向支持专员提供以下信息:After the ticket has been created, ensure you provide the support agent with the following information:

  • 预估的迁移规模。Estimated size of your migration.
  • 预计想要开始和完成迁移的时间。An estimate of when you would like to start and complete your migration.
  • 要从何处迁移内容,例如 SharePoint Server、Box、GDrive 和文件共享等。Where you are migrating your content from, such as SharePoint Server, Box, GDrive, File shares, and so on.

常见问题解答和疑难解答FAQ and Troubleshooting

问题:迁移过程中感受到性能下降或受限。Question: I am experiencing poor performance or throttling during migration.
答案:请在本文档中查阅指南,以及有关 Microsoft 限制指南的详细信息,请参阅避免在 SharePoint 中受限制或被阻止Answer: Please check the guidance in this document, plus refer to Avoid getting throttled or blocked in SharePoint for more information on Microsoft throttling guidance. 有关具体的工具配置或问题,请联系第三方工具供应商,了解详细信息。For specific tools configuration or questions, please contact your third party tools vendor for more information.

问题:我在尝试迁移时不断受到限制。Microsoft 能否关闭限制以帮助我进行迁移?Question: I'm continually getting throttled while I am attempting to migrate. Can Microsoft turn off the throttle to help me with migration?
答案:限制用以保护服务的可靠性和可用性。Answer: Throttling is in place to protect the reliability and availability of the service. 无法禁用或暂停限制规则,并且开立支持票证不会提升限制Throttling rules cannot be disabled or suspended and opening a support ticket will not lift throttle. 有关详细信息,请参阅避免在 SharePoint 中受限制或被阻止Please refer to Avoid getting throttled or blocked in SharePoint for more information.

问题:如果不能关闭限制,如果我受到限制或体验的性能较差,该怎么办?Question: If you cannot turn off the throttle, what can I do if I am being throttled or experience poor performance?
答案:下面是一些可供考虑的快速自助材料:Answer: Here are some quick self-help checks to consider:

  • 尝试在非高峰工作时间进行迁移Try to migrate during off-peak business hours
  • 如遇运行缓慢,请确保未运行可能与迁移资源争用的任何不必要的软件。If you are experiencing slowness, make sure you are not running any unnecessary software which may compete with migration resources.
  • 请与软件提供商联系,确保使用“基于应用的身份验证”迁移到 SPO/OneDrive。Check with your software provider to ensure you are migrating to SPO/OneDrive using app-based authentication. 迁移是后台任务应用程序,不能在用户模式下运行。Migration is a background task and should not be run in user mode. 如果尝试在用户模式下迁移,触发可能大于正常限制。If attempted to migrate in user mode, it can trigger larger than normal throttling.

问:我的迁移遭到阻止,频繁发生 Http 503 错误(“服务器太忙”)?Question: My migration is blocked with consistent high volume of Http 503 errors ("Server Too Busy") ?
回答:如果遇到大量 HTTP 503 响应在 夜间和周末阻止迁移,请按照下面的步骤创建支持票证。Answer: If you are experiencing a high volume of HTTP 503 responses blocking your migration during evening and weekend hours, follow the steps below to create a support ticket.

  1. 导航至 https://admin.microsoft.comNavigate to https://admin.microsoft.com
  2. 确保您使用的是新的管理中心预览。Ensure you're using the new admin center preview.

备注

如果使用的是旧 M365 管理中心,可以跳过第 8 步,因为“说明”字段不存在。If you are using the old M365 admin center you can skip step 8 as the "Description" field will not exist.

  1. 若要激活 " 需要帮助" 窗格,请在屏幕右侧:在左侧导航窗格中,选择 " 支持",然后选择 " 新建服务请求"。To activate the Need Help? pane on the right-hand side of your screen: On the left nav pane, select Support, and then select New Service Request.

    新建服务请求

  2. 在“请简要描述你的问题”区域中,输入“出现错误 503 的 SharePoint 迁移限制”。In the Briefly describe your issue area, enter "SharePoint Migration Throttling with 503".

    需要帮助

  3. 选择“联系支持人员”****。Select Contact Support.

  4. 在“说明”**** 下,输入“出现错误 503 的 SharePoint 迁移限制”。Under Description, enter "SharePoint Migration Throttling with 503".

  5. 填写其余信息,然后选择“与我联系”****。Fill out the remaining info, and select Contact me.

  6. 创建票证后,请确保向支持专员提供以下信息:After the ticket has been created, ensure you provide the support agent with the following information:

    • 剩余迁移量(还有多少 TB 的内容未迁移?)。How much is left of your migration (x TB?).
    • 迁移开始日期和结束日期。Migration start and end date.
    • 描述从中迁移内容的位置,如 SharePoint Server、Box、GDrive、文件共享等。Describe where you're migrating your content from, such as SharePoint Server, Box, GDrive, File shares, etc.
    • 预估限制次数(例如,每小时限制多少次?),以及何时出现限制(特定时间和日期)。Estimate the number of throttles (for example, x throttle per hour?) and when (specific time and date) did the throttling happened.
    • 您正在使用哪种迁移工具。Which migration tool you are using. 例如,SPMT、ShareGate、移动器等。For example, SPMT, ShareGate, Mover, etc.

如何打开 Microsoft 支持票证How to open a Microsoft support ticket

如果你想提出 Microsoft 支持票证,请按照以下步骤操作并为任何迁移原因包含以下信息:If you want to file a Microsoft support ticket, follow these steps and include the following information for any migration reason:

  1. 导航至 https://admin.microsoft.comNavigate to https://admin.microsoft.com

  2. 确保你使用的是新管理中心预览。Ensure you are using the new admin center preview.

  3. 在左侧导航窗格中,选择“支持”****,然后选择“新建服务请求”****。On the left nav pane, select Support, and then select New Service Request. 这将激活屏幕右侧的“需要帮助?”**** 窗格。This activates the Need Help? pane on the right-hand side of your screen.

  4. 在“请简要描述你的问题”**** 区域中,输入“SharePoint 迁移问题”。In the Briefly describe your issue area, enter "SharePoint Migration issue.

  5. 选择“联系支持人员”****。Select Contact Support.

  6. 在“描述”**** 下输入迁移问题的简要描述。Under Description, enter a brief description of your migration issue.

  7. 填写其余信息,然后选择“与我联系”****。Fill out the remaining info, and select Contact me.

备注

如果使用的是旧 M365 管理中心,可以跳过第 8 步,因为“说明”字段不存在。If you are using the old M365 admin center you can skip step 8 as the "Description" field will not exist.

  1. 创建票证后,请确保包含以下信息:After the ticket has been created, make sure to include the following information:

    • 你的组织的 URL。Your organization URL.
    • 剩余迁移量(还有多少 TB 的内容未迁移?)。How much is left of your migration (x TB?).
    • 迁移开始日期和结束日期。Migration start and end date.
    • 您要从中迁移内容的位置的说明,如 SharePoint Server、Box、GDrive、文件共享等。A description of where you're migrating your content from, such as SharePoint Server, Box, GDrive, File shares, etc.
    • 如果是限制相关的升级,请提供限制的次数、每小时限制数和限制发生的具体时间和日期等信息。If it is a throttling related escalation, provide information such as the number of throttles, how many throttles per hour, and the specific time and date the throttling happened. 如果体验的性能较差,请描述性能较差的特征。If you are experiencing poor performance, please describe the nature of the poor performance.
    • 指定使用哪种迁移工具 (例如,SPMT、ShareGate、移动器等) 。Indicate which migration tool you are using (for example, SPMT, ShareGate, Mover, and so on).
    • 注明是否使用“用户登录”或“基于应用的身份验证登录。State if you are logging in using user login or app-based authentication.

我们欢迎提供反馈,鼓励提交有助于改进内容的建议或问题。We welcome feedback and encourage you to submit suggestions or questions that will help us improve the content.

避免在 SharePoint 中受限或遭屏蔽Avoid getting throttled or blocked in SharePoint