Oracle Golden Gate 19c
Oracle Golden Gate 19c
101
login as: oracle
[email protected]'s password:
Activate the web console with: systemctl enable --now cockpit.socket
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
STATUS
------------
OPEN
SQL>
[oracle@oraprd01 ~]$
[oracle@oraprd01 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[oracle@oraprd01 ~]$ cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.2"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.2"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.2"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:2:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
Database altered.
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
RMAN>
Statement processed
Statement processed
Statement processed
RMAN>
RMAN>
File created.
SQL> 2
[oracle@oractg01 ~]$
[oracle@oractg01 ~]$
[oracle@oractg01 ~]$ ps -ef | grep pmon
grid 10927 1 0 20:23 ? 00:00:00 asm_pmon_+ASM
oracle 11302 11248 0 20:24 pts/1 00:00:00 grep --color=auto pmon
[oracle@oractg01 ~]$
– remover el LISTENER_PRD
File created.
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
RMAN>
Statement processed
INSTALACION
—------------
[oracle@oraprd01 Install]$
[oracle@oraprd01 product]$ cd GoldenGate19c
[oracle@oraprd01 GoldenGate19c]$ ls
archivelog.sql ddl_status.sql dirrpt libggperf.so
oraInst.loc
bcpfmt.tpl ddl_staymetadata_off.sql dirsca libggrepo.so oui
bcrypt.txt ddl_staymetadata_on.sql dirsql libggssl.so
params.sql
cachefiledump ddl_tracelevel.sql dirtmp libggutil.so
pmsrvr
cfgtoollogs ddl_trace_off.sql dirwlt libicudata.so.62
prvtclkm.plb
checkprm ddl_trace_on.sql emsclnt libicui18n.so.62
prvtlmpg.plb
chkpt_ora_create.sql defgen extract libicuuc.so.62
prvtlmpg_uninstall.sql
convchk deinstall freeBSD.txt liblmdb.so
remove_seq.sql
convprm demo_more_ora_create.sql ggcmd libPocoCrypto.so.60
replicat
crypto demo_more_ora_insert.sql ggMessage.dat libPocoFoundation.so.60
retrace
db2cntl.tpl demo_ora_create.sql ggparam.dat libPocoJSON.so.60
role_setup.sql
db_upgrade demo_ora_insert.sql ggsci libPocoNet.so.60
sequence.sql
ddl_cleartrace.sql demo_ora_lob_create.sql ggserr.log libPocoNetSSL.so.60
server
ddl_create.sql demo_ora_misc.sql healthcheck libPocoUtil.so.60
SQLDataTypes.h
ddl_ddl2file.sql demo_ora_pk_befores_create.sql help.txt libPocoXML.so.60
sqlldr.tpl
ddl_disable.sql demo_ora_pk_befores_insert.sql install libstdc++.so.6 srvm
ddl_enable.sql demo_ora_pk_befores_updates.sql inventory libudt.so
tcperrs
ddl_filter.sql diagnostics jdk libxerces-c-3.2.so
ucharset.h
ddl_ora10.sql dirchk keygen logdump
ulg.sql
ddl_ora10upCommon.sql dircrd label.sql marker_remove.sql
UserExitExamples
ddl_ora11.sql dirdat libantlr3c.so marker_setup.sql
usrdecs.h
ddl_ora9.sql dirdef libboost_system-mt.so.1.67.0 marker_status.sql
version4j.jar
ddl_pin.sql dirdmp libdb-6.1.so mgr
zlib.txt
ddl_remove.sql diretc libgcc_s.so.1 noop.sql
ddl_session1.sql dirout libgglog.so notices.txt
ddl_session.sql dirpcs libggnnzitp.so oggerr
ddl_setup.sql dirprm libggparam.so OPatch
[oracle@oraprd01 GoldenGate19c]$
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
Manager is DOWN!
GGSCI (oraprd01.edutronic.pe) 6> start mgr
Manager started.
MANAGER RUNNING
[oracle@oractg01 Install]$ ls
191004_fbo_ggs_Linux_x64_shiphome.zip
[oracle@oractg01 Install]$ unzip 191004_fbo_ggs_Linux_x64_shiphome.zip
Archive: 191004_fbo_ggs_Linux_x64_shiphome.zip
creating: fbo_ggs_Linux_x64_shiphome/
creating: fbo_ggs_Linux_x64_shiphome/Disk1/
[oracle@oractg01 Install]$ vncserver
[oracle@oractg01 Install]$
[oracle@oractg01 GoldenGate19c]$ ./ggsci
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER RUNNING
3: create subdirs
4: shell date
5: shell df -h
6: shell free -m
7: shell top
8: shell date
9: shell date
10: shell date
11: histor
12: history
Syntax
VERSIONS
For DB2 for i, this command establishes a global start point for all journals
and is a required first step. After issuing the ADD EXTRACT command, you can
then optionally position any given journal at a specific journal sequence
number by using the ALTER EXTRACT command with an appropriate journal option.
Syntax
group_name
The name of the Extract group. The name of an Extract group can contain
up to eight characters. See for group naming conventions. See Administering
Oracle GoldenGate for group naming conventions.
The name of the Extract group. The name of an Extract group can contain
up to eight characters, see Choosing Names for Processes and F
shell date
info all
info mgr
shell free -m
shell df -h
shell uname -a
shell date
MANAGER RUNNING
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER RUNNING
Linux oraprd01.edutronic.pe 5.4.17-2011.1.2.el8uek.x86_64 #2 SMP Mon Apr 20 22:10:46 PDT 2020 x86_64 x86_64 x86_64
GNU/Linux
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
Database altered.
Database altered.
SQL>
RMAN>
RMAN>
RMAN> backup spfile format '/oracle/backup/bkp_spfile.rman';
RMAN>
RMAN>
RMAN>
File created.
SQL>
[oracle@oraprd01 backup]$ cd $ORACLE_HOME/dbs
[oracle@oraprd01 dbs]$ ls -lrht
total 11M
-rw-r--r-- 1 oracle oinstall 3.1K May 14 2015 init.ora
-rw-r----- 1 oracle asmadmin 24 Nov 4 2021 lkPRD
-rw-r----- 1 oracle oinstall 2.0K Nov 4 2021 orapwPRD
-rw-r----- 1 oracle asmadmin 24 Nov 4 2021 lkQAS
-rw-r----- 1 oracle oinstall 2.0K Nov 4 2021 orapwQAS
-rw-rw---- 1 oracle asmadmin 1.6K Aug 18 19:55 hc_QAS.dat
-rw-rw---- 1 oracle asmadmin 1.6K Aug 18 21:04 hc_PRD.dat
-rw-r----- 1 oracle asmadmin 11M Aug 18 21:09 snapcf_PRD.f
[oracle@oraprd01 dbs]$ cp orapwPRD /oracle/backup/
[oracle@oraprd01 dbs]$
File created.
RMAN>
SUPPLEME FORCE_LOGGING
-------- ---------------------------------------
NO NO
SQL>
Database altered.
Database altered.
SQL>
SUPPLEME FORCE_LOGGING
-------- ---------------------------------------
YES YES
SQL>
System altered.
Tablespace created.
User created.
Grant succeeded.
[oracle@oraprd01 ~]$
[oracle@oractg01 ~]$ vi .ogg19c.env
export ORACLE_HOSTNAME=oractg01.edutronic.pe
export ORACLE_BASE=/oracle
export ORACLE_HOME=/oracle/product/19c
export GOLDENGATE_HOME=/oracle/product/GoldenGate19c
export ORACLE_SID=PRD
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$GOLDENGATE_HOME:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export NLS_DATE_FORMAT='DD-MM-YYYY HH24:MI:SS'
export TMP=/tmp
export TMPDIR=$TMP
export CV_ASSUME_DISTID=OEL7.8
alias ggsci='cd $GOLDENGATE_HOME; ./ggsci'
[oracle@oractg01 ~]$
2022-08-18 21:44:25 ERROR OGG-15312 Cannot obtain database version information because verification
of database login failed with next error: Not logged into database, use DBLOGIN.
Operating System:
Linux
Version #2 SMP Mon Apr 20 22:10:46 PDT 2020, Release 5.4.17-2011.1.2.el8uek.x86_64
Node: oractg01.edutronic.pe
Machine: Linux
GGSCI (oractg01.edutronic.pe) 3> dblogin userid ggate_user, password oracle
Successfully logged into database.
Operating System:
Linux
Version #2 SMP Mon Apr 20 22:10:46 PDT 2020, Release 5.4.17-2011.1.2.el8uek.x86_64
Node: oractg01.edutronic.pe
Machine: Linux
Database:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
GGSCI (oractg01.edutronic.pe as ggate_user@PRD) 5>
[oracle@oraprd01 ~]$ ggsci
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
Operating System:
Linux
Version #2 SMP Mon Apr 20 22:10:46 PDT 2020, Release 5.4.17-2011.1.2.el8uek.x86_64
Node: oraprd01.edutronic.pe
Machine: Linux
Database:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 3>
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 3> info mgr
PORT 1976
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
REGION_ID REGION_NAME
---------- -------------------------
1 Europe
2 Americas
3 Asia
4 Middle East and Africa
SQL>
Table created.
User created.
SQL> create table hr_dev.alummos (id number, name varchar2(20));
Table created.
no rows selected
no rows selected
SQL>
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 2> add trandata hr.alummos
2022-08-18 21:58:50 WARNING OGG-06439 No unique key is defined for table ALUMMOS. All viable columns
will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the
key.
2022-08-18 21:58:50 INFO OGG-15130 No key found for table HR.ALUMMOS. All viable columns will be
logged.
2022-08-18 21:58:50 INFO OGG-15132 Logging of supplemental redo data enabled for table HR.ALUMMOS.
2022-08-18 21:58:51 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
HR.ALUMMOS.
2022-08-18 21:58:51 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
HR.ALUMMOS.
2022-08-18 21:58:52 INFO OGG-10471 ***** Oracle Goldengate support information on table HR.ALUMMOS
*****
Oracle Goldengate support native capture on table HR.ALUMMOS.
Oracle Goldengate marked following column as key columns on table HR.ALUMMOS: ID, NAME
No unique key is defined for table HR.ALUMMOS.
EXTRACT PRDEXT
EXTTRAIL ./dirdat/px
TRANLOGOPTIONS DBLOGREADER
USERID ggate_user, PASSWORD oracle
TABLE HR.alumnos;
EXTRACT PRDEXT
EXTTRAIL ./dirdat/px
TRANLOGOPTIONS DBLOGREADER
USERID ggate_user, PASSWORD oracle
TABLE HR.alumnos;
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 6> add extract PRDEXT, tranlog, begin now
EXTRACT added.
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 00:00:03
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 8> add EXTTRAIL ./dirdat/px, EXTRACT PRDEXT
EXTTRAIL added.
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 00:01:33
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:01:44 00:00:01
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:01:44 00:00:06
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 15> info PRDEXT
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:00:00 00:00:04
REPLICAT PRDREP
USERID ggate_user, PASSWORD oracle
ASSUMETARGETDEFS
MAP HR.alummos, TARGET HR_DEV.alummos;
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:00:00 00:00:03
REPLICAT STOPPED PRDREP 00:00:00 00:00:05
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:00:00 00:00:08
REPLICAT RUNNING PRDREP 00:00:00 00:00:02
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:00:00 00:00:05
REPLICAT RUNNING PRDREP 00:00:00 00:00:02
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 00:00:35
REPLICAT RUNNING PRDREP 00:00:00 00:00:07
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 32> edit params PRDREP
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 00:01:28
REPLICAT STOPPED PRDREP 00:00:00 00:00:09
MANAGER RUNNING
EXTRACT RUNNING PRDEXT 00:00:00 00:00:02
REPLICAT RUNNING PRDREP 00:00:00 00:00:02
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
EXTRACT STOPPED PRDEXT 00:00:00 118:44:05
REPLICAT STOPPED PRDREP 00:00:00 118:44:04
Manager is DOWN!
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
MANAGER RUNNING
PRD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraprd01.edutronic.pe)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRD.edutronic.pe)
)
)
CTG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oractg01.edutronic.pe)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRD.edutronic.pe)
)
)
vi /etc/hosts
172.168.1.201 oractg01.edutronic.pe oractg01
172.168.1.101 oraprd01.edutronic.pe oraprd01
[oracle@oraprd01 admin]$ tnsping PRD
TNS Ping Utility for Linux: Version 19.0.0.0.0 - Production on 23-AUG-2022 21:52:00
TNS Ping Utility for Linux: Version 19.0.0.0.0 - Production on 23-AUG-2022 21:52:02
TNS Ping Utility for Linux: Version 19.0.0.0.0 - Production on 23-AUG-2022 21:52:17
TNS Ping Utility for Linux: Version 19.0.0.0.0 - Production on 23-AUG-2022 21:52:21
EXTRACT PRDEXT2
EXTTRAIL ./dirdat/py
TRANLOGOPTIONS DBLOGREADER
USERID GGATE_USER@PRD, PASSWORD oracle
TABLE HR.REGIONS;
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 119:30:42
EXTRACT STOPPED PRDEXT2 00:00:00 00:00:59
REPLICAT STOPPED PRDREP 00:00:00 119:30:42
EXTRACT PRDPUMP2
RMTHOST oractg01, MGRPORT 1976
RMTTRAIL ./dirdat/pr
PASSTHRU
TABLE HR.REGIONS;
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 119:43:37
EXTRACT RUNNING PRDEXT2 00:00:00 00:00:03
EXTRACT STOPPED PRDPUMP2 00:00:00 00:00:55
REPLICAT STOPPED PRDREP 00:00:00 119:43:36
MANAGER RUNNING
REPLICAT STOPPED PRDREP2 00:00:00 00:00:14
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
REGION_ID REGION_NAME
---------- -------------------------
1 Europe
2 Americas
3 Asia
4 Middle East and Africa
1 row created.
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
SQL>
[oracle@oractg01 GoldenGate19c]$ sqlplus / as sysdba
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
REGION_ID REGION_NAME
---------- -------------------------
1 Europe
2 Americas
3 Asia
4 Middle East and Africa
5 Lima
REGION_ID REGION_NAME
---------- -------------------------
1 Europe
2 Americas
3 Asia
4 Middle East and Africa
5 Lima
SQL> select * from hr.regions;
REGION_ID REGION_NAME
---------- -------------------------
1 Europe
2 Americas
3 Asia
4 Middle East and Africa
5 Lima
6 Huancayo
6 rows selected.
REGION_ID REGION_NAME
---------- -------------------------
1 Europe
2 Americas
3 Asia
4 Middle East and Africa
5 Lima
6 Huancayo
6 rows selected.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oractg01 GoldenGate19c]$ ggsci
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER RUNNING
REPLICAT RUNNING PRDREP2 00:00:00 00:00:05
End of Statistics.
GGSCI (oraprd01.edutronic.pe) 1> info all
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 120:11:33
EXTRACT RUNNING PRDEXT2 00:00:01 00:00:02
EXTRACT RUNNING PRDPUMP2 00:00:00 00:00:06
REPLICAT STOPPED PRDREP 00:00:00 120:11:32
MANAGER STOPPED
EXTRACT STOPPED PRDEXT 00:00:00 120:13:35
EXTRACT STOPPED PRDEXT2 00:00:00 00:01:03
EXTRACT STOPPED PRDPUMP2 00:00:00 00:01:02
REPLICAT STOPPED PRDREP 00:00:00 120:13:34
***********************************************************************
Oracle GoldenGate Delivery for Oracle
Version 19.1.0.0.4 OGGCORE_19.1.0.0.0_PLATFORMS_191017.1054_FBO
Linux, x64, 64bit (optimized), Oracle 19c on Oct 17 2019 21:17:25
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
Description:
***********************************************************************
** Running with the following parameters **
***********************************************************************
2022-08-23 22:29:32 INFO OGG-03059 Operating system character set identified as UTF-8.
2022-08-23 22:29:32 INFO OGG-02695 ANSI SQL parameter syntax is used for parameter parsing.
REPLICAT PRDREP2
USERID GGATE_USER@CTG, PASSWORD ***
ASSUMETARGETDEFS
MAP HR.REGIONS, TARGET HR.REGIONS;
2022-08-23 22:29:34 INFO OGG-06604 Database PRD.EDUTRONIC.PE CPU info: CPU Count 2, CPU Core Count
2, CPU Socket Count 1.
2022-08-23 22:29:34 WARNING OGG-05673 CSN-based duplicate suppression is disabled because there is no
checkpoint table for this
Replicat.
***********************************************************************
** Run Time Messages **
***********************************************************************
2022-08-23 22:32:25 INFO OGG-03506 The source database character set, as determined from the trail
file, is UTF-8.
2022-08-23 22:32:25 INFO OGG-06505 MAP resolved (entry HR.REGIONS): MAP "HR"."REGIONS", TARGET
HR.REGIONS.
2022-08-23 22:32:29 INFO OGG-02756 The definition for table HR.REGIONS is obtained from the trail
file.
2022-08-23 22:32:29 INFO OGG-06511 Using following columns in default map by name: REGION_ID,
REGION_NAME.
2022-08-23 22:32:29 INFO OGG-06510 Using the following key columns for target table HR.REGIONS:
REGION_ID.
2022-08-23 22:34:18 INFO OGG-01021 Command received from GGSCI: STATS.
2022-08-23 22:39:47 INFO OGG-01971 The previous message, 'INFO OGG-01021', repeated 1 times.
2022-08-23 22:39:47 INFO OGG-04048 Processed graceful restart record at seq 1 rba 1,386.
2022-08-23 22:39:49 INFO OGG-04048 Processed graceful restart record at seq 1 rba 1,449.
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
EXTRACT STOPPED PRDEXT 00:00:00 333:49:37
EXTRACT STOPPED PRDEXT2 00:00:00 213:37:05
EXTRACT STOPPED PRDPUMP2 00:00:00 213:37:04
REPLICAT STOPPED PRDREP 00:00:00 333:49:36
Manager is DOWN!
PORT 1976
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
GGSCHEMA GGATE_USER
CHECKPOINTTABLE GGATE_USER.GGS_CHECKPOINT
GGSCHEMA GGATE_USER
CHECKPOINTTABLE GGATE_USER.GGS_CHECKPOINT
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 334:19:34
EXTRACT STOPPED PRDEXT2 00:00:00 214:07:02
EXTRACT STOPPED PRDPUMP2 00:00:00 214:07:01
REPLICAT STOPPED PRDREP 00:00:00 334:19:33
MANAGER RUNNING
REPLICAT ABENDED PRDREP2 00:00:00 212:16:37
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oraprd01 GoldenGate19c]$
Recyclebin purged.
SQL>
[oracle@oractg01 GoldenGate19c]$ sqlplus / as sysdba
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oractg01 GoldenGate19c]$
SQL> connect east/east
Connected.
SQL>
SQL> show recyeclebin
SP2-0735: unknown SHOW option beginning "recyeclebi..."
SQL> show recyclebin
ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME
---------------- ------------------------------ ------------ -------------------
ACCOUNT BIN$56kId5C/Uw7gU8kBqKzKaQ==$0 TABLE 2022-09-01:20:56:06
ACCOUNT_TRANS BIN$56kId5DCUw7gU8kBqKzKaQ==$0 TABLE 2022-09-01:20:56:06
BRANCH BIN$56kId5DFUw7gU8kBqKzKaQ==$0 TABLE 2022-09-01:20:56:06
BRANCH_ATM BIN$56kId5DOUw7gU8kBqKzKaQ==$0 TABLE 2022-09-01:20:56:06
TELLER BIN$56kId5DIUw7gU8kBqKzKaQ==$0 TABLE 2022-09-01:20:56:06
TELLER_TRANS BIN$56kId5DLUw7gU8kBqKzKaQ==$0 TABLE 2022-09-01:20:56:06
SQL> purge recyclebin
2 ;
Recyclebin purged.
SQL>
[oracle@oraprd01 GoldenGate19c]$ ggsci
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
2022-09-01 21:00:15 INFO OGG-15132 Logging of supplemental redo data enabled for table WEST.ACCOUNT.
2022-09-01 21:00:15 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
WEST.ACCOUNT.
2022-09-01 21:00:15 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
WEST.ACCOUNT.
2022-09-01 21:00:15 INFO OGG-15132 Logging of supplemental redo data enabled for table
WEST.ACCOUNT_TRANS.
2022-09-01 21:00:15 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
WEST.ACCOUNT_TRANS.
2022-09-01 21:00:15 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
WEST.ACCOUNT_TRANS.
2022-09-01 21:00:15 INFO OGG-15132 Logging of supplemental redo data enabled for table WEST.BRANCH.
2022-09-01 21:00:15 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
WEST.BRANCH.
2022-09-01 21:00:15 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
WEST.BRANCH.
2022-09-01 21:00:15 INFO OGG-15132 Logging of supplemental redo data enabled for table
WEST.BRANCH_ATM.
2022-09-01 21:00:15 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
WEST.BRANCH_ATM.
2022-09-01 21:00:15 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
WEST.BRANCH_ATM.
2022-09-01 21:00:15 INFO OGG-15132 Logging of supplemental redo data enabled for table WEST.TELLER.
2022-09-01 21:00:15 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
WEST.TELLER.
2022-09-01 21:00:15 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
WEST.TELLER.
2022-09-01 21:00:15 INFO OGG-15132 Logging of supplemental redo data enabled for table
WEST.TELLER_TRANS.
2022-09-01 21:00:15 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
WEST.TELLER_TRANS.
2022-09-01 21:00:15 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
WEST.TELLER_TRANS.
2022-09-01 21:00:17 INFO OGG-10471 ***** Oracle Goldengate support information on table WEST.ACCOUNT
*****
Oracle Goldengate support native capture on table WEST.ACCOUNT.
Oracle Goldengate marked following column as key columns on table WEST.ACCOUNT: ACCOUNT_NUMBER.
2022-09-01 21:00:17 INFO OGG-10471 ***** Oracle Goldengate support information on table
WEST.ACCOUNT_TRANS *****
Oracle Goldengate support native capture on table WEST.ACCOUNT_TRANS.
Oracle Goldengate marked following column as key columns on table WEST.ACCOUNT_TRANS: ACCOUNT_NUMBER,
TRANS_NUMBER, ACCOUNT_TRANS_TS.
2022-09-01 21:00:17 INFO OGG-10471 ***** Oracle Goldengate support information on table WEST.BRANCH
*****
Oracle Goldengate support native capture on table WEST.BRANCH.
Oracle Goldengate marked following column as key columns on table WEST.BRANCH: BRANCH_NUMBER.
2022-09-01 21:00:17 INFO OGG-10471 ***** Oracle Goldengate support information on table
WEST.BRANCH_ATM *****
Oracle Goldengate support native capture on table WEST.BRANCH_ATM.
Oracle Goldengate marked following column as key columns on table WEST.BRANCH_ATM: BRANCH_NUMBER,
ATM_NUMBER, TRANS_NUMBER, ATM_TRANS_TS.
2022-09-01 21:00:17 INFO OGG-10471 ***** Oracle Goldengate support information on table WEST.TELLER
*****
Oracle Goldengate support native capture on table WEST.TELLER.
Oracle Goldengate marked following column as key columns on table WEST.TELLER: TELLER_NUMBER.
2022-09-01 21:00:17 INFO OGG-10471 ***** Oracle Goldengate support information on table
WEST.TELLER_TRANS *****
Oracle Goldengate support native capture on table WEST.TELLER_TRANS.
Oracle Goldengate marked following column as key columns on table WEST.TELLER_TRANS: TELLER_NUMBER,
TRANS_NUMBER, TELLER_TRANS_TS.
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
2022-09-01 21:01:35 INFO OGG-15132 Logging of supplemental redo data enabled for table EAST.ACCOUNT.
2022-09-01 21:01:35 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EAST.ACCOUNT.
2022-09-01 21:01:35 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EAST.ACCOUNT.
2022-09-01 21:01:35 INFO OGG-15132 Logging of supplemental redo data enabled for table
EAST.ACCOUNT_TRANS.
2022-09-01 21:01:35 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EAST.ACCOUNT_TRANS.
2022-09-01 21:01:35 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EAST.ACCOUNT_TRANS.
2022-09-01 21:01:35 INFO OGG-15132 Logging of supplemental redo data enabled for table EAST.BRANCH.
2022-09-01 21:01:35 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EAST.BRANCH.
2022-09-01 21:01:35 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EAST.BRANCH.
2022-09-01 21:01:35 INFO OGG-15132 Logging of supplemental redo data enabled for table
EAST.BRANCH_ATM.
2022-09-01 21:01:35 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EAST.BRANCH_ATM.
2022-09-01 21:01:35 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EAST.BRANCH_ATM.
2022-09-01 21:01:35 INFO OGG-15132 Logging of supplemental redo data enabled for table EAST.TELLER.
2022-09-01 21:01:35 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EAST.TELLER.
2022-09-01 21:01:35 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EAST.TELLER.
2022-09-01 21:01:35 INFO OGG-15132 Logging of supplemental redo data enabled for table
EAST.TELLER_TRANS.
2022-09-01 21:01:35 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EAST.TELLER_TRANS.
2022-09-01 21:01:35 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EAST.TELLER_TRANS.
2022-09-01 21:01:36 INFO OGG-10471 ***** Oracle Goldengate support information on table EAST.ACCOUNT
*****
Oracle Goldengate support native capture on table EAST.ACCOUNT.
Oracle Goldengate marked following column as key columns on table EAST.ACCOUNT: ACCOUNT_NUMBER.
2022-09-01 21:01:36 INFO OGG-10471 ***** Oracle Goldengate support information on table
EAST.ACCOUNT_TRANS *****
Oracle Goldengate support native capture on table EAST.ACCOUNT_TRANS.
Oracle Goldengate marked following column as key columns on table EAST.ACCOUNT_TRANS: ACCOUNT_NUMBER,
TRANS_NUMBER, ACCOUNT_TRANS_TS.
2022-09-01 21:01:36 INFO OGG-10471 ***** Oracle Goldengate support information on table EAST.BRANCH
*****
Oracle Goldengate support native capture on table EAST.BRANCH.
Oracle Goldengate marked following column as key columns on table EAST.BRANCH: BRANCH_NUMBER.
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 6> edit params extwest3
extract extwest3
exttrail ./dirdat/ew
TRANLOGOPTIONS DBLOGREADER
userid ggate_user, password oracle
table WEST.*;
extract extwest3
exttrail ./dirdat/ew
TRANLOGOPTIONS DBLOGREADER
userid ggate_user, password oracle
table WEST.*;
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 334:38:26
EXTRACT STOPPED PRDEXT2 00:00:00 214:25:54
EXTRACT STOPPED PRDPUMP2 00:00:00 214:25:53
REPLICAT STOPPED PRDREP 00:00:00 334:38:26
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 9> add extract extwest3, tranlog, begin now
EXTRACT added.
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 10> add exttrail ./dirdat/ew, extract extwest3, megabytes
50
EXTTRAIL added.
MANAGER RUNNING
EXTRACT STOPPED EXTWEST3 00:00:00 00:00:52
EXTRACT STOPPED PRDEXT 00:00:00 334:39:43
EXTRACT STOPPED PRDEXT2 00:00:00 214:27:11
EXTRACT STOPPED PRDPUMP2 00:00:00 214:27:10
REPLICAT STOPPED PRDREP 00:00:00 334:39:42
extract pwest3
rmthost oractg01.edutronic.pe, mgrport 1976, compress
rmttrail ./dirdat/pe
Passthru
table WEST.*;
GGSCI (oractg01.edutronic.pe as ggate_user@PRD) 4> edit params reast3
replicat reast3
AssumeTargetDefs
DiscardFile ./dirdat/reast3.dsc, Purge
userid ggate_user, password oracle
Map WEST.*, Target EAST.*;
MANAGER RUNNING
REPLICAT ABENDED PRDREP2 00:00:00 212:45:42
MANAGER RUNNING
REPLICAT ABENDED PRDREP2 00:00:00 212:46:54
REPLICAT STOPPED REAST3 00:00:00 00:00:03
MANAGER RUNNING
REPLICAT ABENDED PRDREP2 00:00:00 212:47:18
REPLICAT RUNNING REAST3 00:00:00 00:00:27
1 row created.
SQL> commit;
Commit complete.
1 row created.
SQL> commit;
Commit complete.
1 row deleted.
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
SQL>
SQL> connect east/east
Connected.
SQL> select * from ACCOUNT;
ACCOUNT_NUMBER ACCOUNT_BALANCE
-------------- ---------------
1 2022
ACCOUNT_NUMBER ACCOUNT_BALANCE
-------------- ---------------
1 2022
2 2023
no rows selected
SQL>
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 23> stop ER *3
MANAGER RUNNING
EXTRACT STOPPED EXTWEST3 00:00:00 00:00:19
EXTRACT STOPPED PRDEXT 00:00:00 335:12:49
EXTRACT STOPPED PRDEXT2 00:00:00 215:00:17
EXTRACT STOPPED PRDPUMP2 00:00:00 215:00:16
EXTRACT STOPPED PWEST3 00:00:00 00:00:18
REPLICAT STOPPED PRDREP 00:00:00 335:12:48
extract extwest3
exttrail ./dirdat/ew
TRANLOGOPTIONS DBLOGREADER EXCLUDEUSER GGATE_USER
userid ggate_user, password oracle
table WEST.*;
extract extwest3
exttrail ./dirdat/ew
TRANLOGOPTIONS DBLOGREADER EXCLUDEUSER GGATE_USER
userid ggate_user, password oracle
table WEST.*;
extract pwest3
rmthost oractg01.edutronic.pe, mgrport 1976, compress
rmttrail ./dirdat/pe
Passthru
table WEST.*;
extract pwest3
rmthost oractg01.edutronic.pe, mgrport 1976, compress
rmttrail ./dirdat/pe
Passthru
table WEST.*;
MANAGER RUNNING
EXTRACT STOPPED EXTWEST3 00:00:00 00:04:43
EXTRACT STOPPED PRDEXT 00:00:00 335:23:14
EXTRACT STOPPED PRDEXT2 00:00:00 215:10:41
EXTRACT STOPPED PRDPUMP2 00:00:00 215:10:41
REPLICAT STOPPED PRDREP 00:00:00 335:23:13
extract eeast3
exttrail ./dirdat/ee
TRANLOGOPTIONS DBLOGREADER EXCLUDEUSER ggate_user
userid ggate_user, password oracle
table EAST.*;
extract peast3
rmthost oraprd01.edutronic.pe, mgrport 1976, compress
rmttrail ./dirdat/pw
Passthru
table east.*;
replicat rwest3
AssumeTargetDefs
DiscardFile ./dirdat/rwest3.dsc, Purge
userid ggate_user, password oracle
DDL INCLUDE ALL
DDLERROR DEFAULT IGNORE
MAP EAST.*, Target WEST.*;
replicat rwest3
AssumeTargetDefs
DiscardFile ./dirdat/rwest3.dsc, Purge
userid ggate_user, password oracle
DDL INCLUDE ALL
DDLERROR DEFAULT IGNORE
MAP EAST.*, Target WEST.*;
MANAGER RUNNING
EXTRACT STOPPED EXTWEST3 00:00:00 00:21:06
EXTRACT STOPPED PRDEXT 00:00:00 335:39:37
EXTRACT STOPPED PRDEXT2 00:00:00 215:27:05
EXTRACT STOPPED PRDPUMP2 00:00:00 215:27:04
EXTRACT STOPPED PWEST3 00:00:00 00:15:06
REPLICAT STOPPED PRDREP 00:00:00 335:39:37
REPLICAT STOPPED RWEST3 00:00:00 00:00:02
GGSCI (oraprd01.edutronic.pe) 18> info *3
replicat rwest3
AssumeTargetDefs
DiscardFile ./dirdat/rwest3.dsc, Purge
userid ggate_user, password oracle
DDL INCLUDE ALL
DDLERROR DEFAULT IGNORE
REPERROR (-1, IGNORE)
MAP EAST.*, Target WEST.*;
MANAGER RUNNING
EXTRACT RUNNING EXTWEST3 00:27:52 00:00:01
EXTRACT STOPPED PRDEXT 00:00:00 335:46:25
EXTRACT STOPPED PRDEXT2 00:00:00 215:33:53
EXTRACT STOPPED PRDPUMP2 00:00:00 215:33:52
EXTRACT RUNNING PWEST3 00:00:00 00:21:54
REPLICAT STOPPED PRDREP 00:00:00 335:46:25
REPLICAT RUNNING RWEST3 00:00:00 00:00:01
GGSCI (oractg01.edutronic.pe) 16> start ER *3
MANAGER RUNNING
EXTRACT RUNNING EEAST3 00:18:16 00:00:01
EXTRACT RUNNING PEAST3 00:00:00 00:13:04
REPLICAT ABENDED PRDREP2 00:00:00 213:43:21
REPLICAT RUNNING REAST3 00:00:00 00:00:01
Transaction Summary
=========================================================================================================
================================
Install 6 Packages
Verifying : mecab-0.996-1.module+el8.0.0+5253+1dce7bb2.9.x86_64
1/6
Verifying : mysql-8.0.26-1.module+el8.4.0+20311+30d12931.x86_64
2/6
Verifying : mysql-common-8.0.26-1.module+el8.4.0+20311+30d12931.x86_64
3/6
Verifying : mysql-errmsg-8.0.26-1.module+el8.4.0+20311+30d12931.x86_64
4/6
Verifying : mysql-server-8.0.26-1.module+el8.4.0+20311+30d12931.x86_64
5/6
Verifying : protobuf-lite-3.5.0-13.el8.x86_64
6/6
Installed:
mecab-0.996-1.module+el8.0.0+5253+1dce7bb2.9.x86_64 mysql-8.0.26-
1.module+el8.4.0+20311+30d12931.x86_64
mysql-common-8.0.26-1.module+el8.4.0+20311+30d12931.x86_64 mysql-errmsg-8.0.26-
1.module+el8.4.0+20311+30d12931.x86_64
mysql-server-8.0.26-1.module+el8.4.0+20311+30d12931.x86_64 protobuf-lite-3.5.0-13.el8.x86_64
Complete!
[root@oractg01 ~]#
[root@oractg01 ~]#
[root@oractg01 ~]# systemctl status mysqld.service
● mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql>
[root@oractg01 ~]# su - oracle
[oracle@oractg01 ~]$ mkdir -p /oracle/product/GoldenGateMySQL
[oracle@oractg01 ~]$
[oracle@oractg01 ~]$ cd /oracle/product/GoldenGateMySQL
[oracle@oractg01 GoldenGateMySQL]$ ls
191003_ggs_Linux_x64_MySQL_64bit.zip
[oracle@oractg01 GoldenGateMySQL]$ unzip 191003_ggs_Linux_x64_MySQL_64bit.zip
~
~
~
~
~
~
~
~
[root@oractg01 ~]# cd /
[root@oractg01 /]# find . -name libssl.so.10
./oragrid/product/19c/lib/stubs/libssl.so.10
./oracle/product/19c/lib/stubs/libssl.so.10
[root@oractg01 /]# cp ./oracle/product/19c/lib/stubs/libssl.so.10 /usr/lib
[root@oractg01 /]#
[root@oractg01 /]#
[root@oractg01 /]# su - oracle
[oracle@oractg01 ~]$ . .oggmysql.env
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
MANAGER RUNNING
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
User created.
Grant succeeded.
SQL>
SQL> connect edutronic/edutronic
Connected.
SQL> create table alumnos (id number, name varchar2(20));
Table created.
Table altered.
no rows selected
SQL>
mysql> create user 'oggate_user'@'localhost' identified by 'MySQLoggateuser1';
Query OK, 0 rows affected (0.02 sec)
mysql>
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql>
mysql>
[oracle@oraprd01 ~]$ . .ogg19c.env
[oracle@oraprd01 ~]$ ggsci
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
EXTRACT STOPPED PRDEXT 00:00:00 370:26:44
EXTRACT STOPPED PRDEXT2 00:00:00 250:14:11
EXTRACT STOPPED PRDPUMP2 00:00:00 250:14:11
REPLICAT STOPPED PRDREP 00:00:00 370:26:43
extract eedutron
exttrail ./dirdat/ee
TRANLOGOPTIONS DBLOGREADER EXCLUDEUSER ggate_user
userid ggate_user, password oracle
table EDUTRONIC.*;
extract eedutron
exttrail ./dirdat/ee
TRANLOGOPTIONS DBLOGREADER EXCLUDEUSER ggate_user
userid ggate_user, password oracle
table EDUTRONIC.*;
2022-09-03 08:58:20 INFO OGG-15132 Logging of supplemental redo data enabled for table
EDUTRONIC.ALUMNOS.
2022-09-03 08:58:20 INFO OGG-15133 TRANDATA for scheduling columns has been added on table
EDUTRONIC.ALUMNOS.
2022-09-03 08:58:20 INFO OGG-15135 TRANDATA for instantiation CSN has been added on table
EDUTRONIC.ALUMNOS.
2022-09-03 08:58:21 INFO OGG-10471 ***** Oracle Goldengate support information on table
EDUTRONIC.ALUMNOS *****
Oracle Goldengate support native capture on table EDUTRONIC.ALUMNOS.
Oracle Goldengate marked following column as key columns on table EDUTRONIC.ALUMNOS: ID.
MANAGER RUNNING
EXTRACT STOPPED PRDEXT 00:00:00 370:31:24
EXTRACT STOPPED PRDEXT2 00:00:00 250:18:52
EXTRACT STOPPED PRDPUMP2 00:00:00 250:18:51
REPLICAT STOPPED PRDREP 00:00:00 370:31:24
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 9> add extract eedutron, tranlog, begin now
EXTRACT added.
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 10> add exttrail ./dirdat/ee, extract eedutron, megabytes
50
EXTTRAIL added.
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 11> info all
MANAGER RUNNING
EXTRACT STOPPED EEDUTRON 00:00:00 00:00:40
EXTRACT STOPPED PRDEXT 00:00:00 370:32:34
EXTRACT STOPPED PRDEXT2 00:00:00 250:20:02
EXTRACT STOPPED PRDPUMP2 00:00:00 250:20:01
REPLICAT STOPPED PRDREP 00:00:00 370:32:34
extract pedutron
rmthost oractg01.edutronic.pe, mgrport 2021
rmttrail ./dirdat/pe
passthru
table EDUTRONIC.*;
GGSCI (oraprd01.edutronic.pe as ggate_user@PRD) 20> add rmttrail ./dirdat/pe, extract pedutron, megabytes
50
RMTTRAIL added.
MANAGER RUNNING
EXTRACT RUNNING EEDUTRON 00:00:00 00:00:00
EXTRACT STOPPED PEDUTRON 00:00:00 00:00:46
EXTRACT STOPPED PRDEXT 00:00:00 370:38:37
EXTRACT STOPPED PRDEXT2 00:00:00 250:26:04
EXTRACT STOPPED PRDPUMP2 00:00:00 250:26:04
REPLICAT STOPPED PRDREP 00:00:00 370:38:36
MANAGER RUNNING
EXTRACT RUNNING EEDUTRON 00:00:00 00:00:07
EXTRACT STOPPED PEDUTRON 00:00:00 00:01:03
EXTRACT STOPPED PRDEXT 00:00:00 370:38:54
EXTRACT STOPPED PRDEXT2 00:00:00 250:26:22
EXTRACT STOPPED PRDPUMP2 00:00:00 250:26:21
REPLICAT STOPPED PRDREP 00:00:00 370:38:53
GGSCI (oractg01.edutronic.pe) 4> view params redutron
replicat redutron
AssumeTargetDefs
DiscardFile ./dirrpt/redutron.dsc, Purge
targetdb edutronic@localhost:3306, userid oggate_user, password MySQLoggateuser1
map EDUTRONIC.ALUMNOS, target edutronic.alumnos
This is a stub library which can be used for linking only. It must *not*
be used as a runtime library. Please make sure this library is not found
in LD_LIBRARY_PATH.
[oracle@oractg01 GoldenGateMySQL]$
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
GGSCI (oractg01.edutronic.pe) 1> dblogin SOURCEDB edutronic@localhost:3306, userid oggate_user, password
MySQLoggateuser1
Successfully logged into database.
GGSCI (oractg01.edutronic.pe DBLOGIN as oggate_user) 7> add replicat redutron, exttrail ./dirdat/pe
checkpointtable edutronic.tbl_checkpoint
REPLICAT added.
MANAGER RUNNING
REPLICAT STOPPED REDUTRON 00:00:00 00:00:04
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
no rows selected
1 row created.
1 row created.
SQL> commit;
Commit complete.
SQL> insert into alumnos values (3,'Deydith');
1 row created.
SQL> commit;
Commit complete.
SQL>
[oracle@oractg01 ~]$ mysql -u oggate_user -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 8.0.26 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Database changed
mysql> select * from students;
+----+---------+
| id | name |
+----+---------+
| 1 | Gerardo |
| 2 | Peter |
+----+---------+
2 rows in set (0.00 sec)
mysql>