Stage and merge data into Autonomous AI Lakehouse using OCI GoldenGate
This quickstart guides you on how to stage and merge data from Autonomous AI Transaction Processing to Autonomous AI Lakehouse using an OCI GoldenGate Big Data deployment.
Before you begin
You must have the following in order to proceed:
- An existing source database.
- An existing target Autonomous AI Lakehouse.
- An existing Oracle Object Storagee Bucket which will be used as a temporary staging area.
- Before configuring Autonomous AI Lakehouse Stage & Merge replication, target schemas and tables should be created in the target Autonomous AI Lakehouse instance.
- You can download Archive.zip and follow Task 0 to set up source and target databases using Autonomous AI Lakehouse.
Task 0: Set up the source & target Autonomous Databases
- Download and unzip the sample database schema.
- Set up the source Autonomous AI Transaction Processing:
- Set up the target Autonomous AI Lakehouse:
- In the Oracle Cloud console, select your Autonomous AI Lakehouse instance from the Autonomous AI Databases page to view its details and access DB tools.
- Click Database Actions.
- In the Database Actions menu, under Development, select SQL.
- Copy and paste the script from previously downloaded
OCIGGLL_OCIGGS_SETUP_USERS_ADW.sql
into the SQL worksheet. - Click Run Script. The Script Output tab displays confirmation messages.
- Clear the SQL worksheet and then copy and paste the SQL script from
OCIGGLL_OCIGGS_SRC_MIRROR_USER_SEED_DATA.sql
- Click Run Script.
Task 1: Create OCI GoldenGate resources
This quickstart example requires deployments and connections for both the source and
target.
- Create an Oracle deployment for the source Autonomous AI Transaction Processing instance.
- Create a Big Data deployment for the target Autonomous AI Lakehouse.
- Create a connection for the source Autonomous AI Transaction Processing instance.
- Create a connection for the target Autonomous AI Lakehouse instance.
- Create connection for Oracle Object Storage.
- Create a connection to GoldenGate, and then assign this connection to the source Oracle deployment.
- Assign the Autonomous AI Transaction Processing connection to the source Oracle deployment.
- Assign the Autonomous AI Lakehouse connection the target Big Data deployment.
- Assign the Oracle Object Storage connection to the target Big Data deployment.
Task 2: Add the Extract
- On the Deployments page, select the source Oracle deployment.
- On the deployment details page, click Launch Console.
- Log in with the source deployment's administrator username and password.
- Add transaction information.
- Add an Extract.