SlideShare a Scribd company logo
1 of 42
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Oracle GoldenGate 12.3:
Conflict, Detection and Resolution
Bobby Curtis, EMBA
Senior Principal Product Manager - Core
Oracle GoldenGate
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 3
Speaker
@dbasolved
https://dbasolved.com
bobby.curtis@oracle.com
https://www.linkedin.com/in/bobbycurtis294/
https://www.slideshare.net/BobbyCurtisMBA
12/15/2017 4Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Oracle GoldenGate
Real time Performance
Extensible & Flexible
Proven & Reliable
Oracle GoldenGate provides low-impact capture, routing,
transformation, and delivery of database transactions
across homogeneous and heterogeneous environments in
real-time with no distance limitations.
Most
Databases
Data
Events
Transaction Streams
Cloud
DBs
Big
Data
Supports Databases, Big Data and NoSQL:
* The most popular enterprise integration tool in history
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Where does GoldenGate fit?
Business
Data
Serving
Layer
Apps
Analytics
EDWs
Batch Layer
Data Streams
Social and Logs
Enterprise Data
Highly Available
Databases
Analytics
Speed Layer
Pub / Sub
REST APIs
NoSQL
Bulk Data
Raw Data
Layer
GoldenGate
Data Integrator
Stream Analytics
Event Hub Big Data Database
Metadata Management (for Data Governance)
Big Data SQL
Oracle Software can help customers Accelerate & Reduce Risk around adoption:
• Ingest Data with lower latency, greater reliability and from any database using Oracle GoldenGate
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 7
Oracle GoldenGate Use Cases
New DB/
HW/OS/APP
Fully Active
Distributed DB
Application
Offloading
Big Data, DW
& Marts
Message Bus
& Data Grid
Global Data
Centers
Data
Streaming
GoldenGate
Databases
Applications
Big Data and
No SQL
Mainframes
Mobile
Streaming &
Messaging
Capture
Deliver
Distribute
Receive
Secure
Oracle
SQL Server
MySQL
IBM DB2 Z
IBM DB2 i
IBM DB2 LUW
HP NonStop
Informix
Sybase
Messaging
High Availability
Zero Downtime
Migration
Data Synchronization
Big Data Ingestion
Query/Report
Offloading
Stream Analytics
Data Bus
(Lambda/Kappa)
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 8Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 9
Oracle GoldenGate Architecture
Classic
Capture Trail
Files
Pump DeliveryTrail
Files
Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. As of V.11.2.1, GoldenGate
offers two options for capture for Oracle; Classic & Integrated Capture
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).
Route: data is compressed, encrypted for routing to target(s).
Delivery: applies data with transaction integrity. New with
GoldenGate 12c, Integrated Delivery.
12.2-
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 10
Oracle GoldenGate Architecture
Microservices
Capture Trail Files Trail Files DeliveryDistribution
Service
Network Receiver
Service
Administration
Service
Metrics
Service
ServiceManager
>HTML>>SQL >>CLI >>API
Customizable Interactive Experience
Deploy -- Embed -- Automate
Proxy/Reverse Proxy
12.3+
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 11Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 12
Conflict Management
• Most Active/Active or Multi-Master systems
will have some form of conflict
• Conflicts happen due to at least one row being
modified on more than one system
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Conflict Management
Example - Financial Institution: Active/Active
ACCTINFO
ID (PK)
NAME
ADDRESS
CITY
BALANCE
ACCTINFO
ID (PK)
NAME
ADDRESS
CITY
BALANCE
AcctInfo Table: General details related to a person’s bank account at a
national bank.
ServiceManager ServiceManager
Distribution
Service
Receiver
Service
Distribution
Service
Receiver
Service
Admin.
Service
Admin.
Service
EXT1
EXT2
REP1
REP2
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Conflict Management
Example - Financial Institution: Active/Active
ACCTINFO
ID (PK)
NAME
ADDRESS
CITY
BALANCE
CHANGE_TS
ACCTINFO
ID (PK)
NAME
ADDRESS
CITY
BALANCE
CHANGE_TS
ServiceManager ServiceManager
Distribution
Service
Receiver
Service
Distribution
Service
Receiver
Service
Admin.
Service
Admin.
Service
EXT1
EXT2
REP1
REP2
CHANGE_TS CHANGE_TS
• 12.2 and earlier - Tables should contain timestamp columns
• 12.3 and later - Timestamp column can be added without effecting the application or code
base - leverages invisible columns/RDBMS 12.2 kernel
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 15
Conflict Management
Supported Conflicts
Insert Conflict ✔ ✔
Update Conflict ✔ ✔
Delete Conflict ✔ ✔
Delta Resolution ✔ ✔
Insert-Update/Delete Conflict ✖ ✔
Column Group Conflict ✖ ✔
Piecewise LOB Update ✖ ✔
Conflict Type Classic CDR Auto CDR
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Conflict Management
Supported Data Types
Datatypes that can be compared are supported:
• NUMERIC
• DATE
• TIMESTAMP
• CHAR/NCHAR
• VARCHAR/NVARCHAR
Typically these data types are used with parameters like COMPARECOLS,
GETBEFORECOLS, and in resolution parameters using
RESOLVECONFLICT ([USEMIN] | [USEMAX])
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Conflict Management
Before and After Images
ACCTINFO BEFORE AFTER
ID (PK) 10 10
NAME 32 32
ADDRESS 96 Smith Rd 96 Smith Rd
CITY Atlanta Atlanta
BALANCE 1500 1550
CHANGE_TS
2014-10-29
00.00.00.000000 AM
2014-10-30
01.32.05.000000 PM
• Transaction logs are needed for
recovery
• Before Images
• Deletes and Updates
• After Images
• Inserts and Updates
Note: LogDump utility is useful for reading trail files to identify before/after images
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 18Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Requirements
Environment
Full before image of each record
Transactional Data
adminclient> dblogin user <gg user> password <password>
adminclient> add trandata SFAA.ACCTINFO, allcols
Behind the scene:
SQL> ALTER TABLE SFAA.ACCTINFO ADD SUPPLEMENTAL LOG GROUP
GGS_94879(id, name, address, city, balance, change_ts)
ALWAYS;
Note: System generated log group names can be located in DBA_LOG_GROUPS
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
• Sequences need to be unique on each system
• Use starting value and increment by
number of systems
• Applies to existing sequences and identity
columns<site_number>+3
<site_number>+3 <site_number>+3
Requirements
Environment - Sequences
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
• LOGALLSUPCOLS
Extract captures before images for UPDATE operations
Extract captures before images of supplemental logged columns for both UPDATE
and DELETE operations
• GETBEFORECOLS
Ensures certain columns are logged
GETBEFOREUPDATES (DB2 only)
TABLE option in extract
GETBEFORECOLS (ON UPDATE ALL, ON DELETE ALL)
Example:
TABLE SFAA.ACCTINFO, GETBEFORECOLS(ON UPDATE ALL, ON DELETE ALL);
Requirements
Environment - Extract Parameter File
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
• TRANSLOGOPTION EXCLUDETAG
• Tag supplied to transaction as it is extracted to prevent receiving replicat from
trying to send it back to source
• Classic/Integrated Extract (primary)
• Tag can be any number/letter [0-9 A-Z]
Example:
TRANSLOGOPTION EXCLUDETAG 0294
Requirements
Environment - Extract Parameter File
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
• REPERROR
Used to control how Replicat responds to errors
Default:
REPERROR(default, abend)
For CDR:
REPERROR(default, exception)
REPERROR(default2, [ abend | discard ])
REPERROR(-1, exception)
Requirements
Environment - Replicat Parameter File
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
• COMPARECOLS
Used by Replicat to detect and resolve update/delete conflicts
• RESOLVECONFLICT
Used by Replicat in bi-directional/multi-master to handle conflicts for DML operations
Example:
MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO,
COMPARECOLS (ON UPDATE ALL, ON DELETE ALL),
RESOLVECONFLICT (INSERTROWEXISTS, (DEFAULT,USEMAX(CHANGE_TS)));
Requirements
Environment - Replicat Parameter File
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
• Exception Table[s]
• User defined
• Used for troubleshooting or handling
errors
• Referenced in REPERROR and MAP
parameters
• Best if defined through macros
Requirements
Environment - Exception Table
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Requirements
Extract Parameter File
-- CHECKPARAMS
EXTRACT EXTAA
USERID <gg user>, PASSWORD <pwd>
TRANLOGOPTIONS DBLOGREADER
TRANLOGOPTIONS EXCLUDETAG 0294
SETENV (ORACLE_HOME="/u01/app/oracle/product/12.1.0/db12cr1")
SETENV (ORACLE_SID="oragg")
WARNLONGTRANS 10m, CHECKINTERVAL 5m
LOGALLSUPCOLS
EXTTRAIL ./dirdat/la
WILDCARDRESOLVE IMMEDIATE
TABLE SFAA.ACCTINFO, GETBEFORECOLS(ON UPDATE ALL, ON DELETE ALL);
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
-- CHECKPARAMS
REPLICAT REPAB
SETENV (ORACLE_HOME="/u01/app/oracle/product/12.1.0/db12cr1")
SETENV (ORACLE_SID="oragg")
USERID ggate, PASSWORD <pwd>
DISCARDFILE ./dirrpt/REPAB.discard APPEND MEGABYTES 100
REPERROR (default, exception)
REPERROR (default2, abend)
ASSUMETARGETDEFS
WILDCARDRESOLVE IMMEDIATE
INCLUDE ./dirmac/exceptions.mac
MAP ATLAA.ACCTINFO, target SFAA.ACCTINFO,
COMPARECOLS (ON UPDATE ALL, ON DELETE ALL),
RESOLVECONFLICT (insertrowexists, (default, usemax(change_ts))),
RESOLVECONFLICT (updaterowexists, (default, usemin(change_ts))),
RESOLVECONFLICT (deleterowmissing, (default, discard));
MAP ATLAA.ACCTINFO, #exception_handler(ggate);
Requirements
Replicat Parameter File
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 28Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 29
New Feature
Automatic Conflict Detection & Resolution Highlights
• Invisible timestamp columns automatically created and maintained
by database kernel
• Delete tombstone log to support updates-delete conflicts (new
capability)
• Enables supplemental logging on required columns
• Allows ability to detect conflicts for LOB column changes
• No need to specify CDR/REPERROR parameters
• Last record wins (highest timestamp)
No Visible Application Changes
Requirements
• Requires source and target to be Oracle Database 12.2
• Requires Integrated Extract (IE)
• Classic Extract (CE) does not support invisible columns
• Requires Integrated Replication (IR) or Integrated Parallel
Replicat (IPR)
12.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 30
New Feature
Simple to Enable
• Add parameter “MAPINVISIBLECOLUMNS” in your replicat parameter file
– Classic Replicat does not support invisible columns
• Run procedure ADD_AUTO_CDR or ADD_AUTO_CDR_COLUMN_GROUP
– Sets up Latest Timestamp CDR for a table
12.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 31
New Feature
ADD_AUTO_CDR Example
SQL> connect ggadmin/***@inst1
Connected
SQL> BEGIN
dbms_goldengate_adm.add_auto_cdr(
schema_name => ′HR′,
table_name => ’EMPLOYEES’);
END;
/
PL/SQL procedure successfully completed.
12.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 32
Key Name City
Enable Auto CDR
Key Name City CDRTS$ROW
Statement TS
PKey Delete TS
Statement TS
Invisible
DT$_TAB1
TAB1
TAB1
• Automatically creates an invisible timestamp
column to associate with the row
• Invisible timestamp column automatically
maintained
• Automatically enables Delete Tombstone
Log Table
• Tombstone table automatically maintained
• Automatically enables all column
supplemental logging
+
New Feature
ADD_AUTO_CDR Example
12.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 33
DML driver will automatically populate all the
ROW_TS timestamp columns with the current
timestamp
Key Name City ROW_TS
1 Alice San Mateo @T2
Key Name City ROW_TS
DML driver will automatically populate the
ROW_TS timestamp columns associated
with the modified columns with the
current timestamp
Automatically Record a tombstone record in
the Delete Tombstone log. Another
timestamp is used to record when the row
was deleted.
Key Name City ROW_TS
1 Alice San Mateo @T2
Key Name City ROW_TS
1 Alice South SF @T5
Key Delete TS
1 @T12
Key Name City ROW_TS
1 Alice South SF @T5
Inserts Updates Deletes
Denotes fields automatically populated and maintained by database
New Feature
ADD_AUTO_CDR Example
12.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 34
• DBA_APPLY_ERROR_MESSAGES tracks Error Resolution
• Win/Loss-Monitoring
CONFLICT_TYPE APPLIED_STATE CONFLICT_INFO
-------------------------- ------------------ ----------------------
UPDATE ROW EXISTS PARTIAL DRTS$C:L,CDRTS$ROW:W
• Custom Conflict Handlers
– Apply DML (Error) Handler with own sophisticated business logic
– PL/SQL Procedure is linked to the Apply process
Additional Features
12.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 35Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Examples
Insert Row Exists
MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO,
COMPARECOLS (ON UPDATE ALL, ON DELETE ALL),
RESOLVECONFLICT (INSERTROWEXISTS, (DEFAULT, USEMAX(CHANGE_TS)));
ACCTINFO SF ATL
ID 944 944
NAME 32 32
ADDRESS 55 5th Street 55 5th Street
CITY Symrna Symrna
BALANCE 1100 1200
CHANGE_TS
31-OCT-14
10.40.36.000000000 PM
31-OCT-14
10.40.40.000000000 PM
INSERTROWEXISTS
• Violates the unique
constraint on the target
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Examples
Update Row Exists
MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO,
COMPARECOLS (ON UPDATE ALL, ON DELETE ALL),
RESOLVECONFLICT (UPDATEROWEXISTS, (DEFAULT, USEMIN(CHANGE_TS)));
ACCTINFO BEFORE AFTER
ID 944 944
NAME 32 32
ADDRESS 55 5th Street 55 5th Street
CITY Symrna Symrna
BALANCE 1150 1100
CHANGE_TS
31-OCT-14
10.40.36.000000000 PM
31-OCT-14
10.40.40.000000000 PM
UPDATEROWEXISTS
• Updated row exists on target
side
• One or more columns have a
before image different from
current value
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Examples
Delete Row
MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO,
COMPARECOLS (ON UPDATE ALL, ON DELETE ALL),
RESOLVECONFLICT (DELETEROWMISSING, (DEFAULT, [ DISCARD | IGNORE ]));
DELETEROWMISSING
• Deleted row does not exist
on target
ACCTINFO SF ATL
ID 944 null
NAME 32 null
ADDRESS 55 5th Street null
CITY Symrna null
BALANCE 1100 null
CHANGE_TS
31-OCT-14
10.40.36.000000000 PM null
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 39Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Agenda
 Oracle GoldenGate 12c Overview
 Oracle GoldenGate 12c Architecture
 Conflict Management
 Requirements
 New Feature
 Examples
 Monitoring
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Monitoring
Statistics
Replicating from ATLAA.ACCTINFO to SFAA.ACCTINFO:
*** Total statistics since 2014-11-02 00:30:43 ***
Total inserts 719.00
Total updates 93.00
Total deletes 524.00
Total discards 0.00
Total operations 1336.00
Total CDR conflicts 377.00
CDR resolutions succeeded 377.00
CDR INSERTROWEXISTS conflicts 257.00
CDR UPDATEROWEXISTS conflicts 93.00
CDR DELETEROWMISSING conflicts 27.00
adminclient> stats replicat <group name>, reportcdr
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
Additional Information
@DBASOLVED
https://dbasolved.com
bobby.curtis@oracle.com
https://www.linkedin.com/in/bobbycurtis294/
CDR Info: https://docs.oracle.com/goldengate/c1230/gg-winux/GIORA/automatic-conflict-detection-and-
resolution2.htm#GIORA-GUID-DF68483B-1F77-4464-B5E3-BB42B360E813
Installing Oracle GoldenGate: https://docs.oracle.com/goldengate/c1230/gg-winux/GIORA/toc.htm
http://www.oracle.com/technetwork/middlewar
e/goldengate/downloads/index.html
Oracle GoldenGate 12c: Conflict Detection and Resolution

More Related Content

What's hot

Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Mari Kupatadze
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cIT Help Desk Inc
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
 
Oracle GoldenGate 18c - REST API Examples
Oracle GoldenGate 18c - REST API ExamplesOracle GoldenGate 18c - REST API Examples
Oracle GoldenGate 18c - REST API ExamplesBobby Curtis
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vaultOsama Mustafa
 
Enable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgentEnable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgentBobby Curtis
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprisesNelson Calero
 
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)オラクルエンジニア通信
 
ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...
ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...
ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...Databricks
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Carlos Sierra
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Carlos Sierra
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)オラクルエンジニア通信
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Oracle to Postgres Migration - part 1
Oracle to Postgres Migration - part 1Oracle to Postgres Migration - part 1
Oracle to Postgres Migration - part 1PgTraining
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New GenerationAnil Nair
 

What's hot (20)

Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12c
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
 
Oracle GoldenGate 18c - REST API Examples
Oracle GoldenGate 18c - REST API ExamplesOracle GoldenGate 18c - REST API Examples
Oracle GoldenGate 18c - REST API Examples
 
Enable oracle database vault
Enable oracle database vaultEnable oracle database vault
Enable oracle database vault
 
SQL Tuning 101
SQL Tuning 101SQL Tuning 101
SQL Tuning 101
 
Enable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgentEnable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgent
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprises
 
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
 
ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...
ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...
ACID ORC, Iceberg, and Delta Lake—An Overview of Table Formats for Large Scal...
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle to Postgres Migration - part 1
Oracle to Postgres Migration - part 1Oracle to Postgres Migration - part 1
Oracle to Postgres Migration - part 1
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New Generation
 

Similar to Oracle GoldenGate 12c: Conflict Detection and Resolution

Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Amazon Web Services
 
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdfDataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdfMiguel Angel Fajardo
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionLudovico Caldara
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
 
Hit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate MicroservicesHit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate MicroservicesBobby Curtis
 
Oracle goldegate microservice
Oracle goldegate microserviceOracle goldegate microservice
Oracle goldegate microserviceMojtaba Khandan
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningBobby Curtis
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
 
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...Neo4j
 
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...NomanKhalid56
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 
Meetup my sql5.6_cluster
Meetup my sql5.6_clusterMeetup my sql5.6_cluster
Meetup my sql5.6_clusterLee Stigile
 
Neo4j Vision and Roadmap
Neo4j Vision and Roadmap Neo4j Vision and Roadmap
Neo4j Vision and Roadmap Neo4j
 
오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)Linux Foundation Korea
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...avanttic Consultoría Tecnológica
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftSerhat Dirik
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Bobby Curtis
 
Oracle database 12c_and_DevOps
Oracle database 12c_and_DevOpsOracle database 12c_and_DevOps
Oracle database 12c_and_DevOpsMaria Colgan
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...Insight Technology, Inc.
 

Similar to Oracle GoldenGate 12c: Conflict Detection and Resolution (20)

Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdfDataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
DataEng Mad - 03.03.2020 - Tibero 30-min Presentation.pdf
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
Hit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate MicroservicesHit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate Microservices
 
Oracle goldegate microservice
Oracle goldegate microserviceOracle goldegate microservice
Oracle goldegate microservice
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
 
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
5675212318661411677_TRN4034_How_to_Migrate_to_Oracle_Autonomous_Database_Clou...
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
Meetup my sql5.6_cluster
Meetup my sql5.6_clusterMeetup my sql5.6_cluster
Meetup my sql5.6_cluster
 
Neo4j Vision and Roadmap
Neo4j Vision and Roadmap Neo4j Vision and Roadmap
Neo4j Vision and Roadmap
 
오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)오라클 DR 및 복제 솔루션(Dbvisit 소개)
오라클 DR 및 복제 솔루션(Dbvisit 소개)
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShift
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)
 
Oracle database 12c_and_DevOps
Oracle database 12c_and_DevOpsOracle database 12c_and_DevOps
Oracle database 12c_and_DevOps
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
 
Insync10 goldengate
Insync10 goldengateInsync10 goldengate
Insync10 goldengate
 

More from Bobby Curtis

MySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptxMySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptxBobby Curtis
 
ECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp TerraformECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp TerraformBobby Curtis
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateBobby Curtis
 
Terraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureTerraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureBobby Curtis
 
Oracle GoldenGate on Docker
Oracle GoldenGate on DockerOracle GoldenGate on Docker
Oracle GoldenGate on DockerBobby Curtis
 
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Oracle GoldenGate and Baseball - 5 Keys for Moving to the CloudOracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Oracle GoldenGate and Baseball - 5 Keys for Moving to the CloudBobby Curtis
 
Oracle GoldenGate Studio Intro
Oracle GoldenGate Studio IntroOracle GoldenGate Studio Intro
Oracle GoldenGate Studio IntroBobby Curtis
 
5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate ImplemenationsBobby Curtis
 
Extreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateExtreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateBobby Curtis
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Bobby Curtis
 
Examining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesExamining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesBobby Curtis
 
Exachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LVExachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LVBobby Curtis
 
Extreme Replication - RMOUG Presentation
Extreme Replication - RMOUG PresentationExtreme Replication - RMOUG Presentation
Extreme Replication - RMOUG PresentationBobby Curtis
 
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationIOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationBobby Curtis
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackBobby Curtis
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14Bobby Curtis
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Bobby Curtis
 
GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014Bobby Curtis
 

More from Bobby Curtis (20)

MySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptxMySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptx
 
ECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp TerraformECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp Terraform
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGate
 
Terraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureTerraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud Infrastructure
 
Oracle GoldenGate on Docker
Oracle GoldenGate on DockerOracle GoldenGate on Docker
Oracle GoldenGate on Docker
 
OOW19 - HOL5221
OOW19 - HOL5221OOW19 - HOL5221
OOW19 - HOL5221
 
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Oracle GoldenGate and Baseball - 5 Keys for Moving to the CloudOracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
 
Oracle GoldenGate Studio Intro
Oracle GoldenGate Studio IntroOracle GoldenGate Studio Intro
Oracle GoldenGate Studio Intro
 
5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations
 
Extreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGateExtreme Replication - Performance Tuning Oracle GoldenGate
Extreme Replication - Performance Tuning Oracle GoldenGate
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 
Examining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesExamining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail Files
 
Exachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LVExachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LV
 
Extreme Replication - RMOUG Presentation
Extreme Replication - RMOUG PresentationExtreme Replication - RMOUG Presentation
Extreme Replication - RMOUG Presentation
 
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationIOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attack
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14
 
Exachk and oem12c
Exachk and oem12cExachk and oem12c
Exachk and oem12c
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
 
GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

Oracle GoldenGate 12c: Conflict Detection and Resolution

  • 1.
  • 2. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle GoldenGate 12.3: Conflict, Detection and Resolution Bobby Curtis, EMBA Senior Principal Product Manager - Core Oracle GoldenGate
  • 3. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 3 Speaker @dbasolved https://dbasolved.com bobby.curtis@oracle.com https://www.linkedin.com/in/bobbycurtis294/ https://www.slideshare.net/BobbyCurtisMBA
  • 4. 12/15/2017 4Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 5. Oracle GoldenGate Real time Performance Extensible & Flexible Proven & Reliable Oracle GoldenGate provides low-impact capture, routing, transformation, and delivery of database transactions across homogeneous and heterogeneous environments in real-time with no distance limitations. Most Databases Data Events Transaction Streams Cloud DBs Big Data Supports Databases, Big Data and NoSQL: * The most popular enterprise integration tool in history
  • 6. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Where does GoldenGate fit? Business Data Serving Layer Apps Analytics EDWs Batch Layer Data Streams Social and Logs Enterprise Data Highly Available Databases Analytics Speed Layer Pub / Sub REST APIs NoSQL Bulk Data Raw Data Layer GoldenGate Data Integrator Stream Analytics Event Hub Big Data Database Metadata Management (for Data Governance) Big Data SQL Oracle Software can help customers Accelerate & Reduce Risk around adoption: • Ingest Data with lower latency, greater reliability and from any database using Oracle GoldenGate
  • 7. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 7 Oracle GoldenGate Use Cases New DB/ HW/OS/APP Fully Active Distributed DB Application Offloading Big Data, DW & Marts Message Bus & Data Grid Global Data Centers Data Streaming GoldenGate Databases Applications Big Data and No SQL Mainframes Mobile Streaming & Messaging Capture Deliver Distribute Receive Secure Oracle SQL Server MySQL IBM DB2 Z IBM DB2 i IBM DB2 LUW HP NonStop Informix Sybase Messaging High Availability Zero Downtime Migration Data Synchronization Big Data Ingestion Query/Report Offloading Stream Analytics Data Bus (Lambda/Kappa)
  • 8. Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 8Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 9. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 9 Oracle GoldenGate Architecture Classic Capture Trail Files Pump DeliveryTrail Files Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. As of V.11.2.1, GoldenGate offers two options for capture for Oracle; Classic & Integrated Capture Trail: stages and queues data for routing. Pump: distributes data for routing to target(s). Route: data is compressed, encrypted for routing to target(s). Delivery: applies data with transaction integrity. New with GoldenGate 12c, Integrated Delivery. 12.2-
  • 10. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 10 Oracle GoldenGate Architecture Microservices Capture Trail Files Trail Files DeliveryDistribution Service Network Receiver Service Administration Service Metrics Service ServiceManager >HTML>>SQL >>CLI >>API Customizable Interactive Experience Deploy -- Embed -- Automate Proxy/Reverse Proxy 12.3+
  • 11. Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 11Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 12. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 12 Conflict Management • Most Active/Active or Multi-Master systems will have some form of conflict • Conflicts happen due to at least one row being modified on more than one system
  • 13. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Conflict Management Example - Financial Institution: Active/Active ACCTINFO ID (PK) NAME ADDRESS CITY BALANCE ACCTINFO ID (PK) NAME ADDRESS CITY BALANCE AcctInfo Table: General details related to a person’s bank account at a national bank. ServiceManager ServiceManager Distribution Service Receiver Service Distribution Service Receiver Service Admin. Service Admin. Service EXT1 EXT2 REP1 REP2
  • 14. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Conflict Management Example - Financial Institution: Active/Active ACCTINFO ID (PK) NAME ADDRESS CITY BALANCE CHANGE_TS ACCTINFO ID (PK) NAME ADDRESS CITY BALANCE CHANGE_TS ServiceManager ServiceManager Distribution Service Receiver Service Distribution Service Receiver Service Admin. Service Admin. Service EXT1 EXT2 REP1 REP2 CHANGE_TS CHANGE_TS • 12.2 and earlier - Tables should contain timestamp columns • 12.3 and later - Timestamp column can be added without effecting the application or code base - leverages invisible columns/RDBMS 12.2 kernel
  • 15. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 15 Conflict Management Supported Conflicts Insert Conflict ✔ ✔ Update Conflict ✔ ✔ Delete Conflict ✔ ✔ Delta Resolution ✔ ✔ Insert-Update/Delete Conflict ✖ ✔ Column Group Conflict ✖ ✔ Piecewise LOB Update ✖ ✔ Conflict Type Classic CDR Auto CDR
  • 16. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Conflict Management Supported Data Types Datatypes that can be compared are supported: • NUMERIC • DATE • TIMESTAMP • CHAR/NCHAR • VARCHAR/NVARCHAR Typically these data types are used with parameters like COMPARECOLS, GETBEFORECOLS, and in resolution parameters using RESOLVECONFLICT ([USEMIN] | [USEMAX])
  • 17. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Conflict Management Before and After Images ACCTINFO BEFORE AFTER ID (PK) 10 10 NAME 32 32 ADDRESS 96 Smith Rd 96 Smith Rd CITY Atlanta Atlanta BALANCE 1500 1550 CHANGE_TS 2014-10-29 00.00.00.000000 AM 2014-10-30 01.32.05.000000 PM • Transaction logs are needed for recovery • Before Images • Deletes and Updates • After Images • Inserts and Updates Note: LogDump utility is useful for reading trail files to identify before/after images
  • 18. Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 18Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 19. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Requirements Environment Full before image of each record Transactional Data adminclient> dblogin user <gg user> password <password> adminclient> add trandata SFAA.ACCTINFO, allcols Behind the scene: SQL> ALTER TABLE SFAA.ACCTINFO ADD SUPPLEMENTAL LOG GROUP GGS_94879(id, name, address, city, balance, change_ts) ALWAYS; Note: System generated log group names can be located in DBA_LOG_GROUPS
  • 20. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. • Sequences need to be unique on each system • Use starting value and increment by number of systems • Applies to existing sequences and identity columns<site_number>+3 <site_number>+3 <site_number>+3 Requirements Environment - Sequences
  • 21. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. • LOGALLSUPCOLS Extract captures before images for UPDATE operations Extract captures before images of supplemental logged columns for both UPDATE and DELETE operations • GETBEFORECOLS Ensures certain columns are logged GETBEFOREUPDATES (DB2 only) TABLE option in extract GETBEFORECOLS (ON UPDATE ALL, ON DELETE ALL) Example: TABLE SFAA.ACCTINFO, GETBEFORECOLS(ON UPDATE ALL, ON DELETE ALL); Requirements Environment - Extract Parameter File
  • 22. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. • TRANSLOGOPTION EXCLUDETAG • Tag supplied to transaction as it is extracted to prevent receiving replicat from trying to send it back to source • Classic/Integrated Extract (primary) • Tag can be any number/letter [0-9 A-Z] Example: TRANSLOGOPTION EXCLUDETAG 0294 Requirements Environment - Extract Parameter File
  • 23. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. • REPERROR Used to control how Replicat responds to errors Default: REPERROR(default, abend) For CDR: REPERROR(default, exception) REPERROR(default2, [ abend | discard ]) REPERROR(-1, exception) Requirements Environment - Replicat Parameter File
  • 24. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. • COMPARECOLS Used by Replicat to detect and resolve update/delete conflicts • RESOLVECONFLICT Used by Replicat in bi-directional/multi-master to handle conflicts for DML operations Example: MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO, COMPARECOLS (ON UPDATE ALL, ON DELETE ALL), RESOLVECONFLICT (INSERTROWEXISTS, (DEFAULT,USEMAX(CHANGE_TS))); Requirements Environment - Replicat Parameter File
  • 25. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. • Exception Table[s] • User defined • Used for troubleshooting or handling errors • Referenced in REPERROR and MAP parameters • Best if defined through macros Requirements Environment - Exception Table
  • 26. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Requirements Extract Parameter File -- CHECKPARAMS EXTRACT EXTAA USERID <gg user>, PASSWORD <pwd> TRANLOGOPTIONS DBLOGREADER TRANLOGOPTIONS EXCLUDETAG 0294 SETENV (ORACLE_HOME="/u01/app/oracle/product/12.1.0/db12cr1") SETENV (ORACLE_SID="oragg") WARNLONGTRANS 10m, CHECKINTERVAL 5m LOGALLSUPCOLS EXTTRAIL ./dirdat/la WILDCARDRESOLVE IMMEDIATE TABLE SFAA.ACCTINFO, GETBEFORECOLS(ON UPDATE ALL, ON DELETE ALL);
  • 27. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. -- CHECKPARAMS REPLICAT REPAB SETENV (ORACLE_HOME="/u01/app/oracle/product/12.1.0/db12cr1") SETENV (ORACLE_SID="oragg") USERID ggate, PASSWORD <pwd> DISCARDFILE ./dirrpt/REPAB.discard APPEND MEGABYTES 100 REPERROR (default, exception) REPERROR (default2, abend) ASSUMETARGETDEFS WILDCARDRESOLVE IMMEDIATE INCLUDE ./dirmac/exceptions.mac MAP ATLAA.ACCTINFO, target SFAA.ACCTINFO, COMPARECOLS (ON UPDATE ALL, ON DELETE ALL), RESOLVECONFLICT (insertrowexists, (default, usemax(change_ts))), RESOLVECONFLICT (updaterowexists, (default, usemin(change_ts))), RESOLVECONFLICT (deleterowmissing, (default, discard)); MAP ATLAA.ACCTINFO, #exception_handler(ggate); Requirements Replicat Parameter File
  • 28. Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 28Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 29. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 29 New Feature Automatic Conflict Detection & Resolution Highlights • Invisible timestamp columns automatically created and maintained by database kernel • Delete tombstone log to support updates-delete conflicts (new capability) • Enables supplemental logging on required columns • Allows ability to detect conflicts for LOB column changes • No need to specify CDR/REPERROR parameters • Last record wins (highest timestamp) No Visible Application Changes Requirements • Requires source and target to be Oracle Database 12.2 • Requires Integrated Extract (IE) • Classic Extract (CE) does not support invisible columns • Requires Integrated Replication (IR) or Integrated Parallel Replicat (IPR) 12.3
  • 30. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 30 New Feature Simple to Enable • Add parameter “MAPINVISIBLECOLUMNS” in your replicat parameter file – Classic Replicat does not support invisible columns • Run procedure ADD_AUTO_CDR or ADD_AUTO_CDR_COLUMN_GROUP – Sets up Latest Timestamp CDR for a table 12.3
  • 31. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 31 New Feature ADD_AUTO_CDR Example SQL> connect ggadmin/***@inst1 Connected SQL> BEGIN dbms_goldengate_adm.add_auto_cdr( schema_name => ′HR′, table_name => ’EMPLOYEES’); END; / PL/SQL procedure successfully completed. 12.3
  • 32. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 32 Key Name City Enable Auto CDR Key Name City CDRTS$ROW Statement TS PKey Delete TS Statement TS Invisible DT$_TAB1 TAB1 TAB1 • Automatically creates an invisible timestamp column to associate with the row • Invisible timestamp column automatically maintained • Automatically enables Delete Tombstone Log Table • Tombstone table automatically maintained • Automatically enables all column supplemental logging + New Feature ADD_AUTO_CDR Example 12.3
  • 33. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 33 DML driver will automatically populate all the ROW_TS timestamp columns with the current timestamp Key Name City ROW_TS 1 Alice San Mateo @T2 Key Name City ROW_TS DML driver will automatically populate the ROW_TS timestamp columns associated with the modified columns with the current timestamp Automatically Record a tombstone record in the Delete Tombstone log. Another timestamp is used to record when the row was deleted. Key Name City ROW_TS 1 Alice San Mateo @T2 Key Name City ROW_TS 1 Alice South SF @T5 Key Delete TS 1 @T12 Key Name City ROW_TS 1 Alice South SF @T5 Inserts Updates Deletes Denotes fields automatically populated and maintained by database New Feature ADD_AUTO_CDR Example 12.3
  • 34. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 34 • DBA_APPLY_ERROR_MESSAGES tracks Error Resolution • Win/Loss-Monitoring CONFLICT_TYPE APPLIED_STATE CONFLICT_INFO -------------------------- ------------------ ---------------------- UPDATE ROW EXISTS PARTIAL DRTS$C:L,CDRTS$ROW:W • Custom Conflict Handlers – Apply DML (Error) Handler with own sophisticated business logic – PL/SQL Procedure is linked to the Apply process Additional Features 12.3
  • 35. Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 35Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 36. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Examples Insert Row Exists MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO, COMPARECOLS (ON UPDATE ALL, ON DELETE ALL), RESOLVECONFLICT (INSERTROWEXISTS, (DEFAULT, USEMAX(CHANGE_TS))); ACCTINFO SF ATL ID 944 944 NAME 32 32 ADDRESS 55 5th Street 55 5th Street CITY Symrna Symrna BALANCE 1100 1200 CHANGE_TS 31-OCT-14 10.40.36.000000000 PM 31-OCT-14 10.40.40.000000000 PM INSERTROWEXISTS • Violates the unique constraint on the target
  • 37. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Examples Update Row Exists MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO, COMPARECOLS (ON UPDATE ALL, ON DELETE ALL), RESOLVECONFLICT (UPDATEROWEXISTS, (DEFAULT, USEMIN(CHANGE_TS))); ACCTINFO BEFORE AFTER ID 944 944 NAME 32 32 ADDRESS 55 5th Street 55 5th Street CITY Symrna Symrna BALANCE 1150 1100 CHANGE_TS 31-OCT-14 10.40.36.000000000 PM 31-OCT-14 10.40.40.000000000 PM UPDATEROWEXISTS • Updated row exists on target side • One or more columns have a before image different from current value
  • 38. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Examples Delete Row MAP SFAA.ACCTINFO, TARGET ATLAA.ACCTINFO, COMPARECOLS (ON UPDATE ALL, ON DELETE ALL), RESOLVECONFLICT (DELETEROWMISSING, (DEFAULT, [ DISCARD | IGNORE ])); DELETEROWMISSING • Deleted row does not exist on target ACCTINFO SF ATL ID 944 null NAME 32 null ADDRESS 55 5th Street null CITY Symrna null BALANCE 1100 null CHANGE_TS 31-OCT-14 10.40.36.000000000 PM null
  • 39. Copyright © 2017, Oracle and/or its affiliates. All rights reserved.12/15/2017 39Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda  Oracle GoldenGate 12c Overview  Oracle GoldenGate 12c Architecture  Conflict Management  Requirements  New Feature  Examples  Monitoring
  • 40. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Monitoring Statistics Replicating from ATLAA.ACCTINFO to SFAA.ACCTINFO: *** Total statistics since 2014-11-02 00:30:43 *** Total inserts 719.00 Total updates 93.00 Total deletes 524.00 Total discards 0.00 Total operations 1336.00 Total CDR conflicts 377.00 CDR resolutions succeeded 377.00 CDR INSERTROWEXISTS conflicts 257.00 CDR UPDATEROWEXISTS conflicts 93.00 CDR DELETEROWMISSING conflicts 27.00 adminclient> stats replicat <group name>, reportcdr
  • 41. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Additional Information @DBASOLVED https://dbasolved.com bobby.curtis@oracle.com https://www.linkedin.com/in/bobbycurtis294/ CDR Info: https://docs.oracle.com/goldengate/c1230/gg-winux/GIORA/automatic-conflict-detection-and- resolution2.htm#GIORA-GUID-DF68483B-1F77-4464-B5E3-BB42B360E813 Installing Oracle GoldenGate: https://docs.oracle.com/goldengate/c1230/gg-winux/GIORA/toc.htm http://www.oracle.com/technetwork/middlewar e/goldengate/downloads/index.html

Editor's Notes

  1. Virtually every company will approach its journey to Cloud from a distinct point of view, based on an individual history and circumstances Our own four-decade history means Oracle has seen it all And when it comes to enabling the journey to Cloud, we can provide a path from any starting point Supports new cloud, existing environments, and hybrid Supports all workloads, all developers, and all data Connects all applications and business practices Goes beyond migrate - Run, Manage, Support Provide Lifetime Value What do we mean when we talk about providing lifetime value? ADDITIONAL Also, innovation goes to HOW we delivered this. I would say that you have to look at the challenges that enterprises are facing in adopting this new delivery model of the public cloud. First and foremost, is the challenge that the technology stack of the cloud is completely different from what enterprises have invested in on prem. Innovation is how we can leverage a customer’s prior investment in technology while allowing them to enjoy the benefits of the new model seamlessly, painlessly. No writing of applications, no modifications of VMs while providing bi-directional portability to the cloud and back. That is innovation. Secondly, allowing customers to leverage their existing IT processes, their architectural blueprints, their complicated network topology in the cloud is innovation. And thirdly, operational excellence in our data centers, allowing incredibly fast performance in all cloud service operations is innovation that only a few if any companies can match Oracle’s ability on. Not everyone is starting fresh in the Cloud, and in fact, few—if any—customers have this luxury. Most organizations are currently taking some initial steps or just contemplating their first steps. Their first steps they do make In the Cloud are services that need to co-exist within current environments and investments. New applications need to interoperate with on-premises applications. New forms of doing business need to co-mingle with existing business processes. Just as important as providing solutions is providing a path. Otherwise you and me are no different from many of the Cloud competitors out there. There are multiple roads a customer can take in the journey to the Cloud. With Oracle there isn’t just one solution or one path to the Cloud. Only Oracle offers a full technology continuum to enable customers wherever they might be on that journey. We can… Support new cloud, existing environments and hybrid Support all workloads, all developers, and all data Connect all applications and business practices Go beyond migrate – Architect, Run, Manage, Support Provide Lifetime Value And what do I mean by provide lifetime value??