简体   繁体   English

如何使用Logic Apps将巨大表从Azure SQL数据库导出到CSV

[英]How to Export Huge Table from Azure SQL Database to CSV using Logic Apps

I work on proof of concept of Azure Logic Apps. 我致力于Azure Logic应用程序的概念验证。 I have a table with 70 columns and 10 million rows. 我有一个包含70列和1000万行的表。 I use Logic Apps to export data and upload to FTP. 我使用Logic Apps导出数据并上传到FTP。

The process works on a small dataset (3000 rows); 该过程在一个小的数据集(3000行)上进行; however, the process fails on the whole table. 但是,该过程在整个表上失败。

I get the error message below: 我收到以下错误消息:

BadRequest. 错误的请求。 Http request failed as there is an error: 'Cannot write more bytes to the buffer than the configured maximum buffer size: 104857600.' Http请求失败,因为出现错误:“无法向缓冲区写入的字节数超过配置的最大缓冲区大小:104857600。”

Logic App Steps: 逻辑应用步骤:

  1. Recurrence 循环
  2. SELECT statement - failure SELECT语句-失败
  3. Create CSV Table 创建CSV表
  4. Upload to FTP 上载到FTP

Please advise. 请指教。 I could use a stored procedure and batch it in 5,000 rows but I'm not sure how to implement it in Logic Apps. 我可以使用存储过程并将其分批处理为5,000行,但是我不确定如何在Logic Apps中实现它。

Based on this documentation, there is a file a HTTP message size limit of 100 MB and a file size limit of 50 MB when processing FTP files. 根据文档,处理FTP文件时,HTTP消息大小限制为100 MB,文件大小限制为50 MB。 You can use chunking to workaround those limits, if the connector supports it. 如果连接器支持,则可以使用分块方式解决这些限制。

暂无
暂无

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

相关问题 Azure 逻辑应用从 SFTP 服务器获取 csv 文件并插入到 Azure SQL 数据库表中 - Azure Logic App gets csv file from SFTP Server and inserts into Azure SQL Database Table 使用Logic Apps将数据从XML文件加载到Azure中的SQL数据库 - Load data from XML file to SQL database in Azure using Logic Apps 如何使用 SSIS 脚本或 Azure 逻辑应用程序任务将 excel 文件从一个 Azure blob 容器转换为另一个 - How to convert excel file to CSV using SSIS Script or Azure Logic apps task from One Azure blob container to another 如何使用 Liquid 在 Azure 逻辑应用程序中从 xml 转换为 json - How to Transform from xml to json in Azure Logic apps using Liquid 将 data.table 从 Databricks dbfs 导出到 azure sql 数据库 - Export data table from Databricks dbfs to azure sql database 使用 Azure 逻辑应用程序将 CSV 元素转换为单个数组 - Convert CSV elements into a single Array using Azure Logic Apps Logic Apps,Azure函数访问具有IP限制的SQL数据库 - Logic Apps, Azure Function accessing a SQL Database with IP restriction 如何使用Azure函数或逻辑应用程序将数据保存到sql数据库中? - How can I use Azure functions or logic apps to save data into sql database? 在 Azure 逻辑应用程序中循环 SQL 服务器表中的所有行 - Loop all the rows in SQL server table in Azure logic apps 使用 AD 身份验证从 Azure SQL Server 导入/导出数据库 - Import / Export database from Azure SQL Server using AD authentication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM