Real-time sync Azure SQL DB for on-premise DB

Lotus88 176 Reputation points
2022-01-17T01:36:24.477+00:00

Hi,

I have a on-premise application that required to get data from Azure SQL DB and transform it to consume by my application. Is there a way to do it real-time?

Azure SQL Database
{count} votes

3 answers

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2022-01-17T01:51:42.98+00:00

    Yes you can do this with Azure SQL Data Sync. You can enable "Automatic Sync" and set a number for Seconds, Minutes, Hours, or Days in the Sync Frequency section. Please try this step-by-step procedure to setup Azure SQL Data Sync. The tool is free.


  2. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2022-01-17T02:10:33.197+00:00

    No, Azure SQL Database can sync only to SQL Server on-premises databases. However, you can create a custum solution using Sync Framework. SQL Data Sync is based on Sync Framework. You can adapt this and this resources to your needs.

    You can also try commercial tools like SymmetricDS and consider doing the transformation on the Oracle side.

    0 comments No comments

  3. Anurag Sharma 17,631 Reputation points
    2022-01-17T06:29:26.92+00:00

    Hi @Lotus88 , welcome to Microsoft Q&A forum.

    Adding on top of @Alberto Morillo answer, we can also use ADF to achieve this requirement. ADF can read from oracle on-premise data source, transform the data as needed and then populate the Azure SQL Database. We can then define the Schedule Trigger based on our scheduling requirement. However there is not a direct step by step document available but below 2 articles can help us create it:

    Copy data from and to Oracle by using Azure Data Factory or Azure Synapse Analytics

    Copy and transform data in Azure SQL Database by using Azure Data Factory or Azure Synapse Analytics

    Referenced Article: Azure data factory: data migration from Oracle 12g to Azure SQL server


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.