当前位置:网站首页>Zhangxiaobai teaches you how to use Ogg to synchronize Oracle 19C data with MySQL 5.7 (1)
Zhangxiaobai teaches you how to use Ogg to synchronize Oracle 19C data with MySQL 5.7 (1)
2022-06-10 16:20:00 【Hua Weiyun】
( One ) sketch
OGG yes Oracle GoldenGate For short , It can do Oracle Real time data synchronization to heterogeneous databases .
Use OGG complete Oracle To MySQL Synchronization of , The principle is as follows :

Therefore, using OGG complete Oracle To MySQL Data synchronization for requires the following steps :
( One ) stay Oracle End installation OGG for Oracle
( Two ) Source end OGG To configure
(1)OGG Source side related Oracle To configure ( establish c##ogg user 、 Build a test table test_ogg wait )
(2)OGG Source side table level completion log trandata To configure
(3)OGG Source side management process MGR To configure ( Listen on local port 7809)
(4)OGG Source side extraction process extorcl To configure ( from Oracle Database tables extract data into data files )
(5)OGG Source side transport process pumysql To configure ( Send the extracted data file to OGG Destination )
(6)OGG Source end heterogeneity mapping file defgen Generate
( 3、 ... and ) stay MySQL End installation OGG for MySQL
( Four ) Destination OGG To configure
(1)OGG The end MySQL To configure
(2)OGG Destination management process MGR To configure ( Listen on local port 7810)
(3)OGG Destination checkpoint log table checkpoint To configure
(4)OGG Destination playback thread r_tab1 To configure ( Write the extracted data file to MySQL Database table )
( Two ) stay Oracle End installation OGG 21 for Oracle
open https://www.oracle.com/middleware/technologies/goldengate-downloads.html
Search for Oracle GoldenGate 21.3.0.0.0 for Oracle on Linux x86-64
download OGG for Oracle Installation package 213000_fbo_ggs_Linux_x64_Oracle_shiphome.zip

With Oracle The user login :
modify .bashrc, Add the following
export JAVA_HOME=$HOME/jdk1.8.0_141export PATH=$JAVA_HOME/bin:$PATHexport TNS_ADMIN=$ORACLE_HOME/network/adminexport OGG_HOME=/opt/ogg/source_endpointexport LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64:$JAVA_HOME/jre/lib/amd64/server:$JAVA_HOME/jre/lib/amd64/libjsig.so:$JAVA_HOME/jre/lib/amd64/server/libjvm.so:$OGG_HOME/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/usr/libexport PATH=$OGG_HOME:$PATH:$ORACLE_HOME/binSwitch to root user
su - root
useradd ogg -g oinstall
passwd ogg

mkdir -p /opt/ogg
chown -R ogg /opt/ogg
mkdir -p /home/oracle/oradata/OGG/ORCLCDB
mkdir -p /home/oracle/oradata/OGG/tablespace
chown -R oracle:oinstall /home/oracle/oradata/OGG

Switch to ogg user :
take ogg Installation package 213000_fbo_ggs_Linux_x64_Oracle_shiphome.zip to /home/ogg Next :

unzip -d ~ 213000_fbo_ggs_Linux_x64_Oracle_shiphome.zip

cd fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/response/
edit oggcore.rsp
Update the following lines :
INSTALL_OPTION=ORA19CSOFTWARE_LOCATION=/opt/ogg/source_endpoint
cd ..
./runInstaller -silent -nowait -responseFile /home/ogg/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/response/oggcore.rsp

newspaper /u01/app/oracle/oraInventory No permission to write ... Checked the , Not really. , Then add permissions .

again :
Switch to ogg user :
cd fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/
./runInstaller -silent -nowait -responseFile /home/ogg/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/response/oggcore.rsp

( To be continued )
边栏推荐
- Comply with medical reform and actively layout -- insight into the development of high-value medical consumables under the background of centralized purchase 2022
- Methods commonly used in uniapp (part) - timestamp problem and rich text parsing image problem
- Error org codehaus. plexus. component. repository. exception. ComponentLookupException:
- 统一认证中心 Oauth2 认证坑
- 2D human posture estimation for posture estimation - associated embedding: end to end learning for joint detection and grouping
- json. Load (s) and json dump(s)
- 安霸CV2FS/CV22FS获得ASIL C芯片功能安全认证,超越市场同类芯片水平
- Android 13 re upgrade for intent filters security
- 排序与分页
- PV operation daily question - single log bridge problem
猜你喜欢

运行mapreduce任务缺失setJarByClass()报错找不到类

Comply with medical reform and actively layout -- insight into the development of high-value medical consumables under the background of centralized purchase 2022

MapReduce案例之聚合求和

Sorting of MapReduce cases

Online document collaboration tool is the first step to improve work efficiency

Apple mailbox configures QQ mailbox, 163 mailbox, edu mailbox, Gmail mailbox, and obtains Gmail calendar

this和对象原型

Aggregate sum of MapReduce cases

Driver development and abnormal analysis of "technical dry goods" industrial touch screen (serial)

2D human posture estimation for posture estimation - associated embedding: end to end learning for joint detection and grouping
随机推荐
2D human posture estimation for posture estimation - simple baseline (SBL)
Driver development and abnormal analysis of "technical dry goods" industrial touch screen (serial)
Rk3308 key and LED light
Apple mailbox configures QQ mailbox, 163 mailbox, edu mailbox, Gmail mailbox, and obtains Gmail calendar
Diagram of the quarterly report of station B: the revenue is RMB 5.1 billion, with a year-on-year increase of 30% and nearly 300million monthly active users
Common methods and selection principles of test cases
【无标题】
Distribution aware coordinate representation for human pose estimation
This and object prototypes
this和对象原型
Add Anaconda's bin directory to path
sm59远程连接,如果提示没有host,则在服务器上加上host,然后重启sap_SAP刘梦
torch. nn. utils. rnn. pad_ Detailed explanation of sequence() [pytoch getting started manual]
Google x open source grabbing manipulator can find the target part at a glance without manual marking [turn]
【無標題】
Live broadcast preview | deconstruct OLAP! The new multidimensional analysis architecture paradigm is fully open! Apache Doris will bring five big issues!
Matlab learning notes (3) advanced operation of MATLAB matrix
Jerry's long press reset and high level reset [chapter]
AttributeError: module ‘gym. envs. Box2d 'has no attribute' lunarlander 'solution
MapReduce之Reduce阶段的join操作案例