国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

【大數(shù)據(jù)實(shí)時(shí)數(shù)據(jù)同步】超級(jí)詳細(xì)的生產(chǎn)環(huán)境OGG(GoldenGate)12.2實(shí)時(shí)異構(gòu)同步Oracle數(shù)據(jù)部署方案(下)

這篇具有很好參考價(jià)值的文章主要介紹了【大數(shù)據(jù)實(shí)時(shí)數(shù)據(jù)同步】超級(jí)詳細(xì)的生產(chǎn)環(huán)境OGG(GoldenGate)12.2實(shí)時(shí)異構(gòu)同步Oracle數(shù)據(jù)部署方案(下)。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

系列文章目錄

【大數(shù)據(jù)實(shí)時(shí)數(shù)據(jù)同步】超級(jí)詳細(xì)的生產(chǎn)環(huán)境OGG(GoldenGate)12.2實(shí)時(shí)異構(gòu)同步Oracle數(shù)據(jù)部署方案(上)
【大數(shù)據(jù)實(shí)時(shí)數(shù)據(jù)同步】超級(jí)詳細(xì)的生產(chǎn)環(huán)境OGG(GoldenGate)12.2實(shí)時(shí)異構(gòu)同步Oracle數(shù)據(jù)部署方案(中)
【大數(shù)據(jù)實(shí)時(shí)數(shù)據(jù)同步】超級(jí)詳細(xì)的生產(chǎn)環(huán)境OGG(GoldenGate)12.2實(shí)時(shí)異構(gòu)同步Oracle數(shù)據(jù)部署方案(下)



前言

博主所在單位目前使用Oracle GoldenGate將各個(gè)業(yè)務(wù)生產(chǎn)庫(kù)匯聚到一起做數(shù)倉(cāng)實(shí)時(shí)ODS平臺(tái),源端庫(kù)可能涉及Oracle、Mysql、達(dá)夢(mèng)、Guassdb庫(kù)。
之前寫過(guò)一系列關(guān)于GoldenGate異構(gòu)同步Mysql、Kafka、Kylin、Flink做實(shí)時(shí)計(jì)算的場(chǎng)景文章。但是突然發(fā)現(xiàn),臥槽最最最應(yīng)該第一個(gè)做的Oracle->Oracle的實(shí)時(shí)異構(gòu)同步文檔竟然沒寫!
來(lái)彌補(bǔ)一下這個(gè)空白?。。?br> 好了,扯遠(yuǎn)了,回歸技術(shù)!
下面是我給大家的生產(chǎn)環(huán)境下,如何部署GoldenGate12C及異構(gòu)實(shí)時(shí)同步數(shù)據(jù)的解決方案。本文主要介紹如何實(shí)現(xiàn)實(shí)時(shí)異構(gòu)的進(jìn)行Oracle->Oracle的數(shù)據(jù)同步,這種數(shù)據(jù)同步適用于災(zāi)備、升級(jí)、實(shí)時(shí)ODS等場(chǎng)景使用。我這里給大家了三個(gè)GoldenGate部署方式,看大家喜歡用哪種吧!!
注意:本部署方案分為三章節(jié),三章節(jié)的重點(diǎn)分別是:

  • GoldenGate12C安裝前,數(shù)據(jù)庫(kù)層面的準(zhǔn)備工作!??!
  • 給你GoldenGate12C的三種部署方式,看你喜歡哪種部署方式?。?!
  • 配置支持DDL操作的實(shí)時(shí)數(shù)據(jù)同步?。。?/li>

八、配置支持DDL同步操作

在源庫(kù)執(zhí)行,根據(jù)提示輸入ogg管理賬戶:ogg

[oracle@source ogg12]$ cd $GGHOME
[oracle@source ogg12]$ sqlplus / as sysdba

執(zhí)行如下腳本:

1、@marker_setup.sql

SQL>  @marker_setup.sql

Marker setup script

You will be prompted for the name of a schema for the Oracle GoldenGate database objects.
NOTE: The schema must be created prior to running this script.
NOTE: Stop all DDL replication before starting this installation.

Enter Oracle GoldenGate schema name:OGG


Marker setup table script complete, running verification script...
Please enter the name of a schema for the GoldenGate database objects:
Setting schema name to OGG

MARKER TABLE
-------------------------------
OK

MARKER SEQUENCE
-------------------------------
OK

Script complete.

2、@ddl_setup.sql

該腳本創(chuàng)建了進(jìn)行DDL抽取所需要的觸發(fā)器和包。
主要提示:執(zhí)行此腳本時(shí),所有發(fā)出DDL的會(huì)話都必須關(guān)閉并重新連接,否則可能會(huì)發(fā)生錯(cuò)誤6508(找不到被調(diào)用的程序單元)并且DDL操作可能會(huì)失敗。這是因?yàn)橐粋€(gè)已知的Oracle bug#2747350。
未關(guān)閉的DDL會(huì)話會(huì)以列表的形式顯示出來(lái)。

3、@role_setup.sql

該腳本刪除并且重建DDL同步所需要的角色,它授權(quán)管理賬戶對(duì)DDL對(duì)象上的DML權(quán)限
根據(jù)提示執(zhí)行如下授權(quán)操作:

Grant GGS_GGSUSER_ROLE to ogg;

4、@ddl_enable.sql

改腳本創(chuàng)建DDL觸發(fā)器,以捕獲DDL操作,用于向marker和history表插入DDL信息

5、@marker_status.sql

驗(yàn)證ddl安裝
如下即正常安裝ddl支持

SQL> @marker_status.sql
Please enter the name of a schema for the GoldenGate database objects:
OGG
Setting schema name to OGG

MARKER TABLE
-------------------------------
OK

MARKER SEQUENCE
-------------------------------
OK

九、配置主庫(kù)到備庫(kù)同步(支持DDL)

需求:將源端scott用戶下的emp,dept 表通過(guò)ogg同步到目的端 ,邏輯同生產(chǎn)ODS

1、源端配置

MGR進(jìn)程配置(源端和目的端都做下面操作,添加的參數(shù)也一樣):

GGSCI (source) 6> info all    

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING   
GGSCI (source) 7> edit params mgr
--加入下面內(nèi)容
PORT 7809
DYNAMICPORTLIST 7810-7860
AUTORESTART ER *, RETRIES 3, WAITMINUTES 5
PURGEOLDEXTRACTS ./dirdat/*, USECHECKPOINTS, MINKEEPDAYS 30
lagreporthours 1
laginfominutes 30
lagcriticalminutes 60
--保存退出后,重啟管理進(jìn)程,讓配置生效:
GGSCI (source) 8> stop mgr
Manager process is required by other GGS processes.
Are you sure you want to stop it (y/n)?y

Sending STOP request to MANAGER ...
Request processed.
Manager stopped.

GGSCI (source) 9> start mgr
Manager started.
GGSCI (source) 10> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING           

2、源端新增抽取進(jìn)程配置

GGSCI (source) 12> edit params e_sc    
--加入如下內(nèi)容:
extract e_sc
userid ogg,password ogg
setenv(NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
setenv(ORACLE_SID="orcl")
reportcount every 30 minutes,rate
numfiles 5000
discardfile ./dirrpt/e_sc.dsc,append,megabytes 1000
warnlongtrans 2h,checkinterval 30m
exttrail ./dirdat/sc
dboptions allowunusedcolumn
tranlogoptions archivedlogonly
tranlogoptions altarchivelogdest primary /u01/arch
ddl include mapped
ddloptions addtrandata,report
notcpsourcetimer
nocompressupdates
fetchoptions USEROWID
NOCOMPRESSDELETES
----------scott.EMP
table SCOTT.EMP,tokens(
TKN-CSN = @GETENV('TRANSACTION', 'CSN'),
TKN-COMMIT-TS = @GETENV ('GGHEADER', 'COMMITTIMESTAMP'),
TKN-OP-TYPE = @GETENV ('GGHEADER', 'OPTYPE')
);
----------SCOTT.DEPT
table SCOTT.DEPT,tokens(
TKN-CSN = @GETENV('TRANSACTION', 'CSN'),
TKN-COMMIT-TS = @GETENV ('GGHEADER', 'COMMITTIMESTAMP'),
TKN-OP-TYPE = @GETENV ('GGHEADER', 'OPTYPE')
);

3、源端配置投遞進(jìn)程配置

GGSCI (source) 13>edit params d_sc
--加入如下內(nèi)容:
extract d_sc
rmthost 192.168.1.10,mgrport 7809,compress
userid ogg,password ogg
PASSTHRU
numfiles 5000
rmttrail ./dirdat/sc
dynamicresolution
table scott.*;

4、源端增加抽取進(jìn)程

GGSCI (source) 16> add extract e_sc,tranlog,begin now
EXTRACT added.

GGSCI (source) 17> add exttrail ./dirdat/sc,extract e_sc,megabytes 500
EXTTRAIL added.

5、源端增加投遞進(jìn)程

add extract d_sc,exttrailsource ./dirdat/sc
add rmttrail ./dirdat/sc,extract d_sc,megabytes 500

6、源端添加表級(jí)別附加日志

GGSCI (source) 40> dblogin userid ogg,password ogg
Successfully logged into database.

GGSCI (source as ogg@orcl) 41> add trandata SCOTT.EMP

Logging of supplemental redo data enabled for table SCOTT.EMP.
TRANDATA for scheduling columns has been added on table 'SCOTT.EMP'.
TRANDATA for instantiation CSN has been added on table 'SCOTT.EMP'.
GGSCI (source as ogg@orcl) 42> 

GGSCI (source as ogg@orcl) 42> add trandata SCOTT.DEPT

Logging of supplemental redo data enabled for table SCOTT.DEPT.
TRANDATA for scheduling columns has been added on table 'SCOTT.DEPT'.
TRANDATA for instantiation CSN has been added on table 'SCOTT.DEPT'.
GGSCI (source as ogg@orcl) 43> info trandata SCOTT.EMP

Logging of supplemental redo log data is enabled for table SCOTT.EMP.

Columns supplementally logged for table SCOTT.EMP: EMPNO.

Prepared CSN for table SCOTT.EMP: 1108355

7、啟動(dòng)Extract和PUMP進(jìn)程

GGSCI (source) 38> start er *

Sending START request to MANAGER ...
EXTRACT D_SC starting

Sending START request to MANAGER ...
EXTRACT E_SC starting


GGSCI (source) 39> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           
EXTRACT     RUNNING     D_SC        00:00:00      00:00:04    
EXTRACT     RUNNING     E_SC        00:00:00      00:00:04    

8、目的端編輯REPLICAT進(jìn)程配置

GGSCI (ogg) 1> edit params mgr
---加入下面配置
replicat r_sc
setenv(NLS_LANG=AMERICAN_AMERICA.UTF8)
userid ogg,password ogg
reportcount every 30 minutes,rate
reperror default,abend
numfiles 20000
checkpointsecs 40
assumetargetdefs
discardfile ./dirrpt/r_sc.dsc,append,megabytes 1000
allownoopupdates
ddl &
include mapped &
exclude objname scott.*_audit &
exclude optype create &
        objtype 'table' &
exclude optype drop &
        objtype 'table' &
exclude objtype 'index' &
        objname scott.*_his &
exclude instr 'constraint' &
--exclude instr 'null' &
exclude instr 'trigger' &
exclude instr 'rename to' &
exclude instr 'grant' &
exclude instr 'revoke' &
exclude instr 'analyze'
ddloptions report
allowduptargetmap
----------EMP
getinserts
getupdates
getdeletes
noupdatedeletes
map SCOTT.EMP,target SCOTT.EMP,keycols(EMPNO),colmap(
usedefaults,
etltime=@DATENOW()
);
ignoreinserts
ignoreupdates
getdeletes
INSERTDELETES
map SCOTT.EMP,target SCOTT.EMP_HIS,keycols(EMPNO),colmap(
usedefaults,
etltime=@DATENOW()
);
NOINSERTDELETES
updatedeletes
getinserts
getupdates
getdeletes
map SCOTT.EMP,target SCOTT.EMP_AUDIT,keycols(EMPNO),colmap(
EMPNO=@if(@strfind(@token('tkn-op-type'),'PK UPDATE')>0,before.EMPNO,EMPNO),
csn=@token('tkn-csn'),
optime=@token('tkn-commit-ts'),
optype=@if(@strfind(@token('tkn-op-type'),'PK UPDATE')>0,'DELETE',@token('tkn-op-type')),
inserttime=@eval(@strfind(@token('tkn-op-type'),'INSERT')>0,@token('tkn-commit-ts')),
curdate=@DATENOW()
);
ignoreinserts
getupdates
ignoredeletes
map SCOTT.EMP,target SCOTT.EMP_AUDIT,keycols(EMPNO),colmap(
usedefaults,
csn=@token('tkn-csn'),
optime=@token('tkn-commit-ts'),
optype=@case(@token('tkn-op-type'),'PK UPDATE','INSERT'),
inserttime=@token('tkn-commit-ts'),
curdate=@DATENOW()
),filter(@strfind(@token('tkn-op-type'),'PK UPDATE') >0),insertallrecords;
----------DEPT
getinserts
getupdates
getdeletes
noupdatedeletes
map SCOTT.DEPT,target SCOTT.DEPT,keycols(DEPTNO),colmap(
usedefaults,
etltime=@DATENOW()
);
ignoreinserts
ignoreupdates
getdeletes
INSERTDELETES
map SCOTT.DEPT,target SCOTT.DEPT_HIS,keycols(DEPTNO),colmap(
usedefaults,
etltime=@DATENOW()
);
NOINSERTDELETES
updatedeletes
getinserts
getupdates
getdeletes
map SCOTT.DEPT,target SCOTT.DEPT_AUDIT,keycols(DEPTNO),colmap(
DEPTNO=@if(@strfind(@token('tkn-op-type'),'PK UPDATE')>0,before.DEPTNO,DEPTNO),
csn=@token('tkn-csn'),
optime=@token('tkn-commit-ts'),
optype=@if(@strfind(@token('tkn-op-type'),'PK UPDATE')>0,'DELETE',@token('tkn-op-type')),
inserttime=@eval(@strfind(@token('tkn-op-type'),'INSERT')>0,@token('tkn-commit-ts')),
curdate=@DATENOW()
);
ignoreinserts
getupdates
ignoredeletes
map SCOTT.DEPT,target SCOTT.DEPT_AUDIT,keycols(DEPTNO),colmap(
usedefaults,
csn=@token('tkn-csn'),
optime=@token('tkn-commit-ts'),
optype=@case(@token('tkn-op-type'),'PK UPDATE','INSERT'),
inserttime=@token('tkn-commit-ts'),
curdate=@DATENOW()
),filter(@strfind(@token('tkn-op-type'),'PK UPDATE') >0),insertallrecords;

9、添加應(yīng)用進(jìn)程

GGSCI (ogg) 8> dblogin userid ogg,password ogg
Successfully logged into database.

GGSCI (ogg as ogg@ogg) 9> ADD CHECKPOINTTABLE ogg.ckpt
Successfully created checkpoint table ogg.ckpt.

GGSCI (ogg as ogg@ogg) 10> add replicat r_sc,exttrail ./dirdat/sc checkpointtable ogg.ckpt

10、源端導(dǎo)出emp.dept表并傳到目的端應(yīng)用

10.1、源端通過(guò)數(shù)據(jù)泵導(dǎo)出表

[oracle@source ogg12]$ mkdir /u01/exp--創(chuàng)建目錄
[oracle@source ogg12]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 20 18:34:35 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create directory expdir as '/u01/exp';

Directory created.

SQL> grant read,write on directory  expdir to scott;

Grant succeeded.

SQL> grant dba to scott;--這個(gè)權(quán)限是為了測(cè)試方便所以給的dba權(quán)限。生產(chǎn)慎用

Grant succeeded.
SQL> set num 50
SQL> select current_scn from v$database;---查詢當(dāng)前scn

				       CURRENT_SCN
--------------------------------------------------
					   1108836
SQL> exit 
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

[oracle@source ~]$ expdp \' / as sysdba\' directory=EXPDIR dumpfile=expdp_20180920.dmp logfile=expdp_20180920.log tables=SCOTT.EMP,SCOTT.DEPT exclude=ref_constraint flashback_scn=1108836 

Export: Release 11.2.0.4.0 - Production on Thu Sep 20 18:45:47 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
FLASHBACK automatically enabled to preserve database integrity.
Starting "SYS"."SYS_EXPORT_TABLE_01":  "/******** AS SYSDBA" directory=EXPDIR dumpfile=expdp_20180920.dmp logfile=expdp_20180920.log tables=SCOTT.EMP,SCOTT.DEPT exclude=ref_constraint flash
back_scn=1108836 Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type TABLE_EXPORT/TABLE/PROCACT_INSTANCE
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "SCOTT"."DEPT"                              5.929 KB       4 rows
. . exported "SCOTT"."EMP"                               8.562 KB      14 rows
Master table "SYS"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_TABLE_01 is:
  /u01/exp/expdp_20180920.dmp
Job "SYS"."SYS_EXPORT_TABLE_01" successfully completed at Thu Sep 20 18:46:21 2018 elapsed 0 00:00:24
 

10.2、目的端配置導(dǎo)入目錄

[oracle@ogg ~]$ mkdir /u01/imp
[oracle@ogg ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 20 18:34:24 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create directory expdir as '/u01/exp';

Directory created.

SQL> create directory impdir as '/u01/imp';

Directory created.

SQL> grant read,write on directory  impdir to scott;

Grant succeeded.

10.3、將源端導(dǎo)出的dump文件傳到目的端

[oracle@source ~]$ scp /u01/exp/expdp_20180920.* 192.168.1.10:/u01/imp/
oracle@192.168.1.10's password: 
expdp_20180920.dmp                                                                                                                                         100%  168KB 168.0KB/s   00:00    
expdp_20180920.log    

10.4、目標(biāo)端導(dǎo)入數(shù)據(jù)到原表

impdp \' / as sysdba\' directory=IMPDIR dumpfile=expdp_20180920.dmp logfile=expdp_20180920.log

10.5、OGG庫(kù)審計(jì)表數(shù)據(jù)初始化

create table SCOTT.EMP_AUDIT
(
  EMPNO   NUMBER(4),
  CSN        NUMBER,
  OPTIME     TIMESTAMP(6),
  OPTYPE     VARCHAR2(20),
  INSERTTIME TIMESTAMP(6),
  CURDATE    TIMESTAMP(6)
);
create table SCOTT.DEPT_AUDIT
(
  DEPTNO   NUMBER(2),
  CSN        NUMBER,
  OPTIME     TIMESTAMP(6),
  OPTYPE     VARCHAR2(20),
  INSERTTIME TIMESTAMP(6),
  CURDATE    TIMESTAMP(6)
);
insert into SCOTT.EMP_AUDIT select EMPNO,1108836,sysdate,'INITIAL',sysdate,'' from SCOTT.EMP;
insert into SCOTT.DEPT_AUDIT select DEPTNO,1108836,sysdate,'INITIAL',sysdate,'' from SCOTT.DEPT;
commit;

10.6、OGG庫(kù)添加ETLTIME字段

---目標(biāo)表
alter table  scott.emp add etltime timestamp;
alter table  scott.dept add etltime timestamp;
---HIS表
alter table  scott.emp_HIS add etltime timestamp;
alter table  scott.dept_HIS add etltime timestamp;

10.7、OGG庫(kù)ETLTIME字段數(shù)據(jù)初始化

----目標(biāo)表
update scott.emp set etltime=sysdate;
update scott.dept set etltime=sysdate;
commit;

10.8、OGG庫(kù)添加索引,防止進(jìn)程lag過(guò)高

CREATE INDEX scott.emp_idx  ON scott.emp_audit(empno);
CREATE INDEX scott.dept_idx  ON scott.dept_audit(deptno);

11、啟動(dòng)應(yīng)用進(jìn)程

start replicat r_sc aftercsn 1108836

12、驗(yàn)證

12.1、源端操作

[oracle@source ~]$ sqlplus scott/tiger

SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 20 19:11:57 2018

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> alter table dept add test number;

Table altered.

SQL> insert into dept values(50,'a','a','1');

1 row created.

SQL> alter table dept drop column test;

Table altered.

SQL> alter system switch logfile;

System altered.

SQL> alter system switch logfile;
alter system switch logfile;

System altered.

12.2、目的端查看

ogg方案在兩個(gè)系統(tǒng)中的實(shí)施方案,GoldenGate,oracle,大數(shù)據(jù),GoldenGate,ogg進(jìn)程延遲,DDL同步
看一下日志,DDL也正常應(yīng)用了:

2018-09-20 19:00:49  INFO    OGG-06510  Using the following key columns for target table SCOTT.DEPT_AUDIT: DEPTNO.


2018-09-20 19:00:49  INFO    OGG-03010  Performing implicit conversion of column data from character set UTF-8 to zhs16gbk.

2018-09-20 19:00:49  INFO    OGG-00482  DDL found, operation [alter table dept drop column test  (size 34)].

2018-09-20 19:00:49  INFO    OGG-00489  DDL is of mapped scope, after mapping new operation [alter table "SCOTT"."DEPT" drop column test  (size 44)].

2018-09-20 19:00:49  INFO    OGG-00487  DDL operation included [include mapped], optype [ALTER], objtype [TABLE], objowner [SCOTT], objname [DEPT].

2018-09-20 19:00:49  INFO    OGG-01407  Setting current schema for DDL operation to [SCOTT].

2018-09-20 19:00:49  INFO    OGG-00484  Executing DDL operation.

2018-09-20 19:00:50  INFO    OGG-00483  DDL operation successful.

2018-09-20 19:00:50  INFO    OGG-01408  Restoring current schema for DDL operation to [OGG].

2018-09-20 19:00:50  INFO    OGG-00489  DDL is of mapped scope, after mapping new operation [alter table "SCOTT"."DEPT_HIS" drop column test  /* GOLDENGATE_DDL_REPLICATION */ (size 81)].

2018-09-20 19:00:50  INFO    OGG-00487  DDL operation included [include mapped], optype [ALTER], objtype [TABLE], objowner [SCOTT], objname [DEPT_HIS].

2018-09-20 19:00:50  INFO    OGG-01407  Setting current schema for DDL operation to [SCOTT].

2018-09-20 19:00:50  INFO    OGG-00484  Executing DDL operation.

2018-09-20 19:00:50  INFO    OGG-00483  DDL operation successful.

2018-09-20 19:00:50  INFO    OGG-01408  Restoring current schema for DDL operation to [OGG].

2018-09-20 19:00:50  INFO    OGG-00489  DDL is of mapped scope, after mapping new operation [alter table "SCOTT"."DEPT_AUDIT" drop column test  /* GOLDENGATE_DDL_REPLICATION */ (size 83)].

2018-09-20 19:00:50  INFO    OGG-00488  DDL operation excluded [exclude objname scott.*_audit], optype [ALTER], objtype [TABLE], objowner [SCOTT], objname [DEPT_AUDIT].



總結(jié)

我用了三個(gè)章節(jié)介紹完了生產(chǎn)環(huán)境下如何實(shí)時(shí)異構(gòu)同步Oracle->Oracle,且其中包括了如何初始化以及增量應(yīng)該從哪個(gè)時(shí)間點(diǎn)開始才能夠保證數(shù)據(jù)不重復(fù)、不丟失,如果有用到的各位可以作為參考?。?!文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-780385.html

到了這里,關(guān)于【大數(shù)據(jù)實(shí)時(shí)數(shù)據(jù)同步】超級(jí)詳細(xì)的生產(chǎn)環(huán)境OGG(GoldenGate)12.2實(shí)時(shí)異構(gòu)同步Oracle數(shù)據(jù)部署方案(下)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 看這篇就明白大數(shù)據(jù)實(shí)時(shí)數(shù)倉(cāng)、離線數(shù)倉(cāng)、數(shù)據(jù)湖之間的關(guān)系

    看這篇就明白大數(shù)據(jù)實(shí)時(shí)數(shù)倉(cāng)、離線數(shù)倉(cāng)、數(shù)據(jù)湖之間的關(guān)系

    ??20世紀(jì)70年代,MIT(麻省理工)的研究員致力于研究一種優(yōu)化的技術(shù)架構(gòu),該架構(gòu)試圖將業(yè)務(wù)處理系統(tǒng)和分析系統(tǒng)分開,即將業(yè)務(wù)處理和分析處理分為不同層次,針對(duì)各自的特點(diǎn)采取不同的架構(gòu)設(shè)計(jì)原則,MIT的研究員認(rèn)為這兩種信息處理的方式具有顯著差別,以至于必須采取完

    2024年02月08日
    瀏覽(21)
  • 【大數(shù)據(jù)實(shí)訓(xùn)】基于當(dāng)當(dāng)網(wǎng)圖書信息的數(shù)據(jù)分析與可視化(八)

    【大數(shù)據(jù)實(shí)訓(xùn)】基于當(dāng)當(dāng)網(wǎng)圖書信息的數(shù)據(jù)分析與可視化(八)

    溫馨提示:文末有 CSDN 平臺(tái)官方提供的博主 的聯(lián)系方式,有償幫忙部署 一、實(shí)驗(yàn)環(huán)境 (1)Linux: Ubuntu 16.04 (2)Python: 3.5 (3)Hadoop:3.1.3(4)Spark: 2.4.0(5)Web框架:flask 1.0.3 (6)可視化工具:Echarts (7)開發(fā)工具:Visual Studio Code 二、小組成員及分工 (1)成員:林海瀅,

    2024年02月04日
    瀏覽(27)
  • 【大數(shù)據(jù)實(shí)訓(xùn)】基于Hadoop的2019年11月至2020年2月寧波天氣數(shù)據(jù)分析(五)

    【大數(shù)據(jù)實(shí)訓(xùn)】基于Hadoop的2019年11月至2020年2月寧波天氣數(shù)據(jù)分析(五)

    博主介紹 : ? 全網(wǎng)粉絲6W+,csdn特邀作者、博客專家、Java領(lǐng)域優(yōu)質(zhì)創(chuàng)作者,博客之星、掘金/華為云/阿里云/InfoQ等平臺(tái)優(yōu)質(zhì)作者、專注于大數(shù)據(jù)技術(shù)領(lǐng)域和畢業(yè)項(xiàng)目實(shí)戰(zhàn) ? ?? 文末獲取項(xiàng)目聯(lián)系 ?? 2019—2020 學(xué)年第二學(xué)期《分布式系統(tǒng)原理與技術(shù)》期末大作業(yè)評(píng)分表 評(píng)價(jià)內(nèi)容

    2024年02月06日
    瀏覽(47)
  • 【大數(shù)據(jù)實(shí)驗(yàn)系列】一文輕松搞定云服務(wù)器Centos8.x下安裝MySQL5.x版本,以阿里云服務(wù)器為例?。ǔ敿?xì)安裝流程)

    【大數(shù)據(jù)實(shí)驗(yàn)系列】一文輕松搞定云服務(wù)器Centos8.x下安裝MySQL5.x版本,以阿里云服務(wù)器為例?。ǔ敿?xì)安裝流程)

    ? ? ? ?本篇博客主要涉及云服務(wù)器(以阿里云服務(wù)器為例子)Centos8.x下安裝MySQL軟件。( 通讀本篇博客需要10分鐘左右的時(shí)間) 。 ? ? ? ? 本篇博客內(nèi)容參考于:centOS8安裝MySql5.7 2.1 MySQL rpm源包下載 ? ? ? ?我們首先點(diǎn)擊官網(wǎng)MySQL下載地址,如下圖所示: ? ? ? ?博主這里選擇上

    2024年02月03日
    瀏覽(33)
  • 大數(shù)據(jù)實(shí)訓(xùn)

    大數(shù)據(jù)實(shí)訓(xùn)

    1、Hadoop集群框架搭建(學(xué)過(guò),但是沒有現(xiàn)成的) 2、python(機(jī)器學(xué)習(xí)) 3、Spark(沒有) 4、Flume(沒有) 5、Sqoop(沒有接觸) 6、編程語(yǔ)言: SpringBoot(有)+echarts(數(shù)據(jù)可視化框架) 1.1?百度百科:大數(shù)據(jù),短期無(wú)法運(yùn)用常規(guī)一些手段去及時(shí)處理海量數(shù)據(jù),需要使用新型的技術(shù)

    2024年02月02日
    瀏覽(27)
  • 泰迪大數(shù)據(jù)實(shí)訓(xùn)平臺(tái)產(chǎn)品介紹

    泰迪大數(shù)據(jù)實(shí)訓(xùn)平臺(tái)產(chǎn)品介紹

    ? ? ? 大數(shù)據(jù)產(chǎn)品包括: 大數(shù)據(jù)實(shí)訓(xùn)管理平臺(tái)、大數(shù)據(jù)開發(fā)實(shí)訓(xùn)平臺(tái)、大數(shù)據(jù)編程實(shí)訓(xùn)平臺(tái) 等 ? ? ?大數(shù)據(jù)實(shí)訓(xùn)管理平臺(tái) ? ? ?泰迪大數(shù)據(jù)實(shí)訓(xùn)平臺(tái)從課程管理、資源管理、實(shí)訓(xùn)管理等方面出發(fā),主要解決現(xiàn)有實(shí)驗(yàn)室無(wú)法滿足教學(xué)需求、傳統(tǒng)教學(xué)流程和工具低效耗時(shí)和內(nèi)部

    2024年02月11日
    瀏覽(26)
  • 大數(shù)據(jù)實(shí)驗(yàn)三-HBase編程實(shí)踐

    大數(shù)據(jù)實(shí)驗(yàn)三-HBase編程實(shí)踐

    目錄 一.實(shí)驗(yàn)內(nèi)容 二.實(shí)驗(yàn)?zāi)康?三.實(shí)驗(yàn)過(guò)程截圖及說(shuō)明 1、安裝HBase 2、配置偽分布式模式: 3、使用hbase的shell命令來(lái)操作表: 4、使用hbase提供的javaAPI來(lái)編程實(shí)現(xiàn)類似操作: 5、實(shí)驗(yàn)總結(jié)及心得體會(huì) 6、完整報(bào)告在文章開頭,掛載。 HBase編程實(shí)踐: 1)在Hadoop基礎(chǔ)上安裝H

    2024年04月12日
    瀏覽(34)
  • 【大數(shù)據(jù)實(shí)驗(yàn)五】 MapReduce初級(jí)編程實(shí)踐

    【大數(shù)據(jù)實(shí)驗(yàn)五】 MapReduce初級(jí)編程實(shí)踐

    1實(shí)驗(yàn)?zāi)康?1.通過(guò)實(shí)驗(yàn)掌握基本的MapReduce編程方法; 2.掌握用MapReduce解決一些常見的數(shù)據(jù)處理問題,包括數(shù)據(jù)去重、數(shù)據(jù)排序和數(shù)據(jù)挖掘等。 2實(shí)驗(yàn)平臺(tái) 已經(jīng)配置完成的Hadoop偽分布式環(huán)境。 (1)操作系統(tǒng):Linux(Ubuntu18.04) (2)Hadoop版本:3.1.3 3實(shí)驗(yàn)內(nèi)容和要求 1.編程實(shí)現(xiàn)文件

    2024年02月03日
    瀏覽(155)
  • 云計(jì)算與大數(shù)據(jù)實(shí)驗(yàn)四 HDFS編程

    云計(jì)算與大數(shù)據(jù)實(shí)驗(yàn)四 HDFS編程

    一、實(shí)驗(yàn)?zāi)康?深入理解 HDFS 工作原理和編程思想 使用 HDFS 的 Java 接口進(jìn)行文件的讀寫 使用 HDFS 的 Java 接口進(jìn)行之上傳文件 使用 HDFS 的 Java 接口進(jìn)行之刪除文件 二、實(shí)驗(yàn)內(nèi)容 HDFS 的 Java API 接口進(jìn)行文件的讀寫操作 HDFS 的 Java API 接口進(jìn)行之上傳文件操作 HDFS 的 Java API 接口進(jìn)

    2024年02月08日
    瀏覽(17)
  • 大數(shù)據(jù)實(shí)驗(yàn) 實(shí)驗(yàn)二:熟悉HDFS常用操作

    大數(shù)據(jù)實(shí)驗(yàn) 實(shí)驗(yàn)二:熟悉HDFS常用操作

    附件中有word版本的實(shí)驗(yàn)報(bào)告 理解HDFS在Hadoop體系結(jié)構(gòu)中的角色。 熟練使用HDFS操作常用的Shell命令。 熟悉HDFS操作常用的Java API。 Oracle VM VirtualBox虛擬機(jī) 系統(tǒng)版本centos7 JDK1.8版本 Hadoop-3.1.3 Windows11 Java IDE:IDEA 1.向HDFS中上傳任意文本文件,如果指定的文件在HDFS中已經(jīng)存在,由用戶

    2024年04月12日
    瀏覽(27)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包