Replicate data from Azure SQL Managed Instance to Autonomous Transaction Processing
Learn to replicate data from Azure SQL Managed Instance to an Autonomous Database using OCI GoldenGate.
Before you begin
To successfully complete this quicktart, you must:
- Create an Azure SQL Managed Instance resource.
- Configure Azure SQL Managed Instance to allow public connections.
- Connect to Azure SQL Managed Instance using a SQL client, and then complete
the following steps:
- Set up Autonomous Transaction Processing:
Task 1: Create the OCI GoldenGate Resources
This quickstart example requires deployments and connections for both
the source and target.
- Create deployments for the source SQL Server and target Oracle database.
- Create an Azure Managed Instance connection for
Azure SQL database, using following values:
- For Database, enter
SRC_OCIGGLL
. - For Port, enter
3342
for public endpoints. - For Host, use the server name from Azure Managed Instance
details page in Azure console (for
example,
xyz.database.windows.net
). - For User, enter
GGADMIN
. - For Password, enter the
GGADMIN
user password. - For Security protocol, select Plain from the dropdown.
- For Database, enter
- Assign the Azure Manage Instance connection to the SQL Server deployment.
- Create a GoldenGate connection and then assign it to the SQL Server deployment.
- Create an Autonomous Transaction Processing (ATP) connection.
- Assign the ATP connection to the Oracle deployment.
Task 3: Create the Distribution Paths
- If using GoldenGate credential store, create a user for the Distribution Path in the target Oracle deployment, and a Path Connection in the source SQL Server deployment. If using IAM credential store, skip this step.
- In the source Azure SQL Managed Instance GoldenGate deployment console, Create Distribution Path
for Initial Load Extract. In our example, we
name our Initial Load Extract,
EIL
. - Create Distribution Path for Change Data Capture
Extract. In our example, we name our Change Data Capture Extract,
ECDC
.