Thanks for using MS Q&A platform and posting your query.
There are a couple of approaches you can take to synchronize the Synapse table with the Oracle table upon data changes in Oracle, without relying on scheduled triggers:
1. Change Data Capture (CDC):
- Oracle GoldenGate: If you're using Oracle GoldenGate for CDC in your Oracle environment, you can leverage it to capture changes in the Oracle table and replicate them to your Azure Synapse Analytics dedicated SQL pool. GoldenGate provides real-time or near real-time data integration capabilities.
2. Azure Data Factory (ADF) with Triggers:
- SQL Database triggers: While you can't use scheduled triggers in ADF, you can set up triggers directly on the Oracle table. These triggers can then call an ADF pipeline that reads the changed data and updates the Synapse table. This approach requires some development effort on the Oracle side to create the triggers.
3. Azure Synapse Pipeline with Monitor:
- Monitor existing data: You can create an ADF pipeline that monitors the Oracle table for changes. This pipeline could leverage tools like Azure Logic Apps or custom code to periodically check for updates in the Oracle table. However, this approach wouldn't be real-time and might introduce some latency in synchronization.
Important points to consider:
- Data volume and latency: Choose the approach that best suits your data volume and latency requirements. CDC solutions offer near real-time updates, while trigger-based approaches might have some delay.
- Development effort: CDC tools and Oracle triggers require more development effort compared to a simple monitoring pipeline.
- Cost: Evaluate the cost implications of each approach, including any licensing fees for third-party CDC tools.
Oracle Connector Properties:
Unfortunately, the Oracle connector in Azure Synapse doesn't have a built-in property for change data capture. However, you can leverage the connector to read data from the Oracle table within your chosen synchronization approach.
Hope this helps. Do let us know if you any further queries.