简体   繁体   English

何时使用 Azure blob 存储与 Azure 文件共享?

[英]When to use Azure blob storage versus Azure file share?

Azure newbie here. Azure 新手在这里。 I have an architecture requirement to move the data from on-premise to cloud database.我有将数据从内部部署到云数据库的架构要求。 This is done in two steps due to security restrictions and timelines.由于安全限制和时间表,这分两步完成。

  1. Move the file to azure blob storage将文件移动到 azure blob 存储
  2. Read from the blob and Import to the sql database.从 blob 读取并导入到 sql 数据库。

Azure blob is suggested for unstructured data.对于非结构化数据,建议使用 Azure blob。 However, the data we want to export to cloud is a simple export of data from sql tables to csv files.但是,我们要导出到云端的数据是从 sql 表到 csv 文件的简单数据导出。

For such requirements what is recommended?对于这样的要求,推荐什么? Azure blob or Azure file share? Azure blob 或 Azure 文件共享? When to use blob versus azure file share?何时使用 blob 与 azure 文件共享?

Actually, if you want to migrate database from local/on-premise SQL Server to Azure SQL, there are many ways can help do that directly without Blob or File Storage.实际上,如果您想将数据库从本地/本地 SQL 服务器迁移到 Azure SQL,有很多方法可以帮助您直接执行此操作而无需 Blob。

Such as:如:

  1. Using Data Migration Assistant(DMA) to help you migrate the data/database to Azure.使用数据迁移助手 (DMA)帮助您将数据/数据库迁移到 Azure。

    Ref: Migrate on-premises SQL Server or SQL Server on Azure VMs to Azure SQL Database using the Data Migration Assistant Ref: Migrate on-premises SQL Server or SQL Server on Azure VMs to Azure SQL Database using the Data Migration Assistant

  2. SQL Server Management Studio(SSMS) task: Deploy Database to Microsoft Azure SQL Database. SQL Server Management Studio(SSMS)任务:将数据库部署到 Microsoft Azure SQL 数据库。

    在此处输入图像描述

    Ref: Using the Deploy Database to SQL Azure Wizard in SQL Server Management Studio to move to the Cloud参考: 使用部署数据库到 SQL Azure 向导在 SQL 服务器管理工作室移动到云

Of course you could export the sql server data as CSV files to Blob or File storage, then import the csv file to Azure SQL. Of course you could export the sql server data as CSV files to Blob or File storage, then import the csv file to Azure SQL. In usually, we often use Blob Storage work with Azure SQL database.通常,我们经常将 Blob 存储与 Azure SQL 数据库一起使用。 It's up to you, reference the document @Gaurav Mantri-AIS mentioned.这取决于您,请参考@Gaurav Mantri-AIS 提到的文档

Hope this helps.希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Azure Runbook 将文件从本地计算机或网络驱动器上传到 Azure 文件共享或 Blob 存储 - Use Azure Runbook to upload files from local machine or network drive to Azure file share or blob storage 使用强大的文件上传到 azure blob 存储 - use formidable to upload file to azure blob storage Powershell:将文件从 Azure 文件共享复制到 Blob 存储帐户 - Powershell: Copy file from Azure File Share to Blob Storage account Azure Blob存储拆分Blob并存储在Cloud文件共享中 - Azure blob storage split blobs and store on Cloud file share Azure 事件网格适用于 Blob 存储上的文件共享吗? - Azure Event Grid works on File Share on Blob Storage? Azure Blob 存储或 Azure 文件存储 - Azure Blob Storage or Azure File Storage 如何使用 azure 逻辑应用程序、function 应用程序从 azure 存储(文件共享或 BLOB)读取、写入、删除文件 - how to use azure logic apps, function aps to read, write, delete files from an azure storage(file share or BLOB) Kubernetes 使用 Azure Blob 存储 - Kubernetes use Azure Blob Storage 尝试使用 Python 库 azure-storage-blob 时未解决的导入“azure.storage.blob” - Unresolved import 'azure.storage.blob' when trying to use Python library azure-storage-blob 将 Azure 块 blob 复制到 Azure 文件共享? - Copy Azure block blob to Azure file share?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM