The following images are required for this tutorial:
- Oracle Database 21.3 XE (
oracle/database:21.3.0-xe
) - OpenLogReplicator (
bersler/openlogreplicator:tutorial
)
Refer to Docker images for image creation scripts.
The default container names are:
ORA1
- Oracle Database 21.3 XEOLR1
- OpenLogReplicator
Container names are defined cfg.sh
script.
All files for the database devices and redo log files are placed outside the containers. Refer to The folders are created in step 2 and cleaned up in step 5.
- Check if images are correct:
Run:
./1.check.sh
- Setup folders for database tablespaces and scripts
Run:
./2.setup.sh
- Create containers
Run:
./3.create.sh
- Run SQL and check results
Run:
./4.test.sh
The expected result would be that the output dir has resuts.txt file with the JSON representation of the transaction run from the sql/test.sql script
- Cleanup
Run:
./5.cleanup.sh