简体   繁体   English

是否可以在 Azure 托管实例上将数据工厂管道作为 SQL 代理作业中的一个步骤执行?

[英]Is it possible to execute a Data Factory Pipeline as a step in a SQL Agent Job on Azure Managed Instance?

I've currently got an ETL process that dynamically builds and executes sql jobs based on job steps that are saved in my database.我目前有一个 ETL 过程,它根据保存在我的数据库中的作业步骤动态构建和执行 sql 个作业。 Included in these jobs are steps to call SSIS packages that move data from one server to another and/or call stored procs on target servers to do further processing.这些作业中包括调用 SSIS 包的步骤,这些包将数据从一台服务器移动到另一台和/或调用目标服务器上的存储过程以进行进一步处理。 I'm looking at what it would take to migrate our process from SQL Server to a Azure Managed Instance.我正在研究如何将我们的流程从 SQL 服务器迁移到 Azure 托管实例。 One of the specific things I'm looking at is the feasibility of replacing the steps that call the SSIS packages with steps that execute Azure Data Factory pipelines or other ADF actions that accomplish the same results.我正在研究的具体事项之一是,将调用 SSIS 程序包的步骤替换为执行 Azure 数据工厂管道或实现相同结果的其他 ADF 操作的步骤的可行性。 So far I have not run across any examples of this.到目前为止,我还没有遇到任何这样的例子。 Anyone have any experience with accessing Data Factory functionality with SQL Agent jobs?任何人都有使用 SQL 代理作业访问数据工厂功能的经验吗?

You can run powershell scripts via SQL agent as mentioned in below MSFT docs: https://learn.microsoft.com/en-us/sql/powershell/run-windows-powershell-steps-in-sql-server-agent?view=sql-server-ver16您可以通过以下 MSFT 文档中提到的 SQL 代理运行 powershell 脚本: https://learn.microsoft.com/en-us/sql/powershell/run-windows-powershell-steps-in-sql-server-agent?view =sql-server-ver16

And via powershell and ADF REST APIS, you can trigger the ADF pipelines通过 powershell 和 ADF REST APIS,您可以触发 ADF 管道

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM