Reputation: 777
Question looks fairly simple but in my case it has some intricacies involved in it. So here is the deal:
Azure database will not be updated by any application but on premise database will keep on updating frequently. So we need modified/inserted data from on premise database to be moved to Azure database. We are using Azure Data Factory (ADF) for this.
All database tables contain one column called LastModifiedDate indicating when was record modified.
Problems with current approach:
Creating staging table correspoding to each table doesn't look like a good idea. If number of tables in database increases, we need those many corresponding staging table.
Question:
Is there any better approach to handle this scenario with using ADF and without creating huge number of staging tables?
Upvotes: 0
Views: 421
Reputation: 15608
You can try using SQL Data Sync instead and make SQL Data Sync just to sync in one direction, from on-premise to Azure SQL Database. When configuring SQL Data Sync choose "To the hub" on "Sync Directions" as shown on below image.
Upvotes: 2