适用于小型数据集以及中低速网络带宽的数据传输Data transfer for small datasets with low to moderate network bandwidth

本文概述了在环境中有中低速网络带宽并且正在计划传输小型数据集时的数据传输解决方案。This article provides an overview of the data transfer solutions when you have low to moderate network bandwidth in your environment and you are planning to transfer small datasets. 本文还介绍了针对此情况的推荐数据传输选项和相应的关键功能矩阵。The article also describes the recommended data transfer options and the respective key capability matrix for this scenario.

若要查看所有可用数据传输选项的概述,请转到选择一个 Azure 数据传输解决方案To understand an overview of all the available data transfer options, go to Choose an Azure data transfer solution.

方案描述Scenario description

小型数据集指的是 GB 到 TB 级的数据大小。Small datasets refer to data sizes in the order of GBs to a few TBs. 中低速网络带宽表示 45 Mbps(数据中心的 T3 连接)到 1 Gbps。Low to moderate network bandwidth implies 45 Mbps (T3 connection in datacenter) to 1 Gbps.

  • 若只传输少量文件且不需要自动执行数据传输,请考虑使用带图形界面的工具。If you are transferring only a handful of files and you don't need to automate data transfer, consider the tools with a graphical interface.
  • 如果熟悉系统管理,请考虑使用命令行或编程/脚本工具。If you are comfortable with system administration, consider command line or programmatic/scripting tools.

此方案中推荐的选项包括:The options recommended in this scenario are:

  • 图形界面工具****,例如 Azure 门户中的 Azure 存储资源管理器和 Azure 存储。Graphical interface tools such as Azure Storage Explorer and Azure Storage in Azure portal. 这些工具提供了一种查看数据和快速传输几个文件的简便方法。These provide an easy way to view your data and quickly transfer a few files.

    • Azure 存储资源管理器**** - 此跨平台工具可用于管理 Azure 存储帐户的内容。Azure Storage Explorer - This cross-platform tool lets you manage the contents of your Azure storage accounts. 使用它可以上传、下载和管理 Blob、文件、队列、表以及 Azure Cosmos DB 实体。It allows you to upload, download, and manage blobs, files, queues, tables, and Azure Cosmos DB entities. 将它与 Blob 存储配合使用可以管理 Blob 和文件夹,以及在本地文件系统与 Blob 存储之间,或者在存储帐户之间上传和下载 Blob。Use it with Blob storage to manage blobs and folders, as well as upload and download blobs between your local file system and Blob storage, or between storage accounts.
    • Azure 门户**** - Azure 门户中的 Azure 存储提供一个基于 Web 的界面,可用于浏览文件以及一次上传一个新文件。Azure portal - Azure Storage in Azure portal provides a web-based interface to explore files and upload new files one at a time. 如果你希望不必安装任何工具或发出命令就能快速浏览文件,或者只是要上传少量的新文件,则此选项很合适。This is a good option if you do not want to install any tools or issue commands to quickly explore your files, or to simply upload a handful of new ones.
  • 脚本/编程工具****,例如 AzCopy/PowerShell/Azure CLI 和 Azure 存储 REST API。Scripting/programmatic tools such as AzCopy/PowerShell/Azure CLI and Azure Storage REST APIs.

    • AzCopy**** - 使用此命令行工具在保证最佳性能的同时轻松向/从 Azure Blob、文件和表存储复制数据。AzCopy - Use this command-line tool to easily copy data to and from Azure Blobs, Files, and Table storage with optimal performance. AzCopy 支持并发度和并行度,并且可以在复制操作中断后进行恢复。AzCopy supports concurrency and parallelism, and the ability to resume copy operations when interrupted.
    • Azure PowerShell**** - 对于熟悉系统管理的用户,请使用 Azure PowerShell 中的 Azure 存储模块来传输数据。Azure PowerShell - For users comfortable with system administration, use the Azure Storage module in Azure PowerShell to transfer data.
    • Azure CLI**** - 使用此跨平台工具,可管理 Azure 服务以及将数据上传到 Azure 存储。Azure CLI - Use this cross-platform tool to manage Azure services and upload data to Azure Storage.
    • Azure 存储 REST API/SDK**** - 生成应用程序时,可以针对 Azure 存储 REST API/SDK 开发应用程序,并使用以多种语言提供的 Azure 客户端库。Azure Storage REST APIs/SDKs – When building an application, you can develop the application against Azure Storage REST APIs/SDKs and use the Azure client libraries offered in multiple languages.

关键功能比较Comparison of key capabilities

下表汇总了各项关键功能方面的差异。The following table summarizes the differences in key capabilities.

功能Feature Azure 存储资源管理器Azure Storage Explorer Azure 门户Azure portal AzCopyAzCopy
Azure PowerShellAzure PowerShell
Azure CLIAzure CLI
Azure 存储 REST API 或 SDKAzure Storage REST APIs or SDKs
可用性Availability 下载并安装Download and install
独立工具Standalone tool
Azure 门户中基于 Web 的浏览工具Web-based exploration tools in Azure portal 命令行工具Command line tool 在 .NET、Java、Python、JavaScript、C++、Go、Ruby 和 PHP 中的可编程接口Programmable interfaces in .NET, Java, Python, JavaScript, C++, Go, Ruby and PHP
图形界面Graphical interface Yes Yes No No
支持的平台Supported platforms Windows、Mac、LinuxWindows, Mac, Linux 基于 WebWeb-based Windows、Mac、LinuxWindows, Mac, Linux 所有平台All platforms
允许对 blob 和文件夹进行的Allowed Blob storage operations
Blob 存储操作for blobs and folders
上传Upload
下载Download
管理Manage
上传Upload
下载Download
管理Manage
上传Upload
下载Download
管理Manage
是,可自定义Yes, customizable
允许对文件和文件夹进行的Allowed Data Lake Gen1 storage
Data Lake Gen1 存储操作operations for files and folders
上传Upload
下载Download
管理Manage
No 上传Upload
下载Download
管理Manage
No
允许对文件和目录进行的Allowed File storage operations
文件存储操作for files and directories
上传Upload
下载Download
管理Manage
上传Upload
下载Download
管理Manage
上传Upload
下载Download
管理Manage
是,可自定义Yes, customizable
允许对表格进行的Allowed Table storage operations
表存储操作for tables
管理Manage No AzCopy v7 中的表支持Table support in AzCopy v7 是,可自定义Yes, customizable
允许的队列存储Allowed Queue storage 管理Manage No No 是,可自定义Yes, is customizable

后续步骤Next steps