[英]Push data from SQL Server on Prem into SQL Azure for PowerBI purposes
I am new to PowerBI and have uploaded PIBX files for use by PowerBI, however, I have a scenario where I have some data in a local SQL Server but I want to get it into SQL Azure (preferably an automated push twice per day) so that I can create some PowerBI Embedded reports. 我是PowerBI的新手,并且上载了PIBX文件供PowerBI使用,但是,在这种情况下,我在本地SQL Server中有一些数据,但是我希望将其导入SQL Azure(最好是每天两次自动推送),因此我可以创建一些PowerBI Embedded报告。
I am not sure what the best approach is, if I should be pushing it somehow or pulling it, or what tools to use to do this? 我不确定最好的方法是什么,是否应该以某种方式推动或拉动它,或者使用什么工具来做到这一点?
Any recommendations? 有什么建议吗?
There are many approaches you can use, to push data from Onpremises to Azure.. 您可以使用多种方法将数据从本地推送到Azure。
1.SSIS 1,SSIS
You can write an SSIS data flow task 您可以编写一个SSIS数据流任务
2.Replication 2.复制
You can replicate your Onpremises database to azure starting from SQLAzure v12 您可以从SQLAzure v12开始将本地数据库复制到Azure
3.write a console application and schedule it through SQLAgent 3.编写控制台应用程序并通过SQLAgent安排它
I would go with Replication,since it reduces the effort of knowing what to sync and what not to 我会选择复制,因为它减少了知道要同步什么和不知道同步什么的工作量。
refer below link for more details on how to do this 请参阅下面的链接以获取有关如何执行此操作的更多详细信息
https://azure.microsoft.com/en-us/blog/transactional-replication-to-azure-sql-db/ https://azure.microsoft.com/zh-CN/blog/transactional-replication-to-azure-sql-db/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.