[英]Azure pipeline copy data activity for copying data from Azure MSSQL to Azure MySQL
I'm aware that Azure Pipeline's Copy Data Activity does not support MySQL as sink. 我知道Azure管道的“复制数据活动”不支持将MySQL作为接收器。 But is there any workaround via some other component to do so?
但是,是否有任何其他方法可以解决此问题呢?
It depends on the ammount of rows you are trying to copy. 这取决于您要复制的行数。 If you just need a few tables/rows, you may try with Azure Automation.
如果只需要几个表/行,则可以尝试使用Azure自动化。 That way you can just create a runbook with Powershell that connects to Azure Sql Server, queries the server and then sends that data to the Azure MySql Server.
这样,您可以使用Powershell创建连接到Azure Sql Server的运行手册,查询服务器,然后将数据发送到Azure MySql Server。 Then you can call the runbook from data factory using a webhook :)
然后,您可以使用Webhook从数据工厂调用Runbook :)
If you end up going this route, remember that runbooks have a limitation and cannot run for more than 3 hours. 如果您最终选择了这种方法,请记住运行手册有一个限制,并且不能运行超过3个小时。 More information here: https://docs.microsoft.com/en-us/azure/automation/automation-runbook-execution#fair-share
此处的更多信息: https : //docs.microsoft.com/zh-cn/azure/automation/automation-runbook-execution#fair-share
Another option would be to create a custom activity for data factory. 另一个选择是为数据工厂创建自定义活动。 For this you need an Azure Batch pool.
为此,您需要一个Azure批处理池。 More here: https://docs.microsoft.com/en-us/azure/data-factory/transform-data-using-dotnet-custom-activity
此处更多内容: https : //docs.microsoft.com/zh-cn/azure/data-factory/transform-data-using-dotnet-custom-activity
Hope this helped! 希望这对您有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.