SlideShare a Scribd company logo
Advanced Goldengate Training Ⅰwww.oggers.net    2011-07-25
Agenda□Mothod of initialize data□   Handing essential DML and DML error□   Handing  Advanced  DDL  sync and DDL error□  Map and manipulating data□   Monitor and TroubleshootingⅠ
Initialize Data    If  your database is huge and application transcations are still ongoing ,there is little stop-time,How should you Initialize  your data?           □ Use  Keys + Handlecollsions           □Use the commit SCN
Handlecollsions□How does the Handlecollsions work? □ Where is the drawbacks with Handlecollsions? ●  Does your tables have any primary key or unique key?● Is there primary key update  during initialization ?Suitable for your environment ?Ⅰ
Commit SCN♦ Commit SCN/GoldengateCSN♦ the common initialized mothods Via  SCN□ exp/imp   □ expdp/impdp□ Transport Tablespace with Backupset(compare                                                  Transport  Tablespace)□ Datagurd/RMAN  □ Other consistent read utilityⅠ□
How to re-initialize a special table  □ split replicat group and merge it  □ Using transaction  CSN Filter map hr.job, target hr.job, filter (@GETENV ("transaction", "csn") > xxx);
Agenda□Mothod of initialize data□   Handing essential DML and DML error□   Handing  Advanced  DDL  sync and DDL error□  Map and manipulating data□   Monitor and TroubleshootingⅠ
Non-supported data types● ANYDATA● ANYDATASET● ANYTYPE● BFILE● BINARY_INTEGER● MLSLABEL● PLS_INTEGER● TIMEZONE_ABBR● TIMEZONE_REGION● URITYPE● UROWIDⅠ
DML  replication  action□  Keys(Primary key/unique key/keycols) action● why   to recommend to use keys?      ● How  to use keycols?□supplemental  non-key  column  actionⅠ
Handing DML error □ Handing replicat errors on DML operations via  REPERROR  Abort:  roll back the transaction and stop processingDiscard:  log the error to the discard file and continue processingException: send the error for exceptions processingIgnore: ignore the error and continue processing    example:reperror default,discard    discardfile ./dirrpt/rep_hr.dsc,append,megabytes 100Ⅰ
Use  multiple  REPERROR statements□ handing special  error-codereperror XXXX discard□ handing special  object                                                                                                                                reperror default  ignore exclude/include objname “hr.jobs”Ⅰ
Use exception table REPERROR (DEFAULT, EXCEPTION)MAP hr.jobs, TARGET hr.jobs, &COLMAP (USEDEFAULTS);MAP hr.jobs, TARGET hr.jobs_exception, &EXCEPTIONSONLY, &INSERTALLRECORDS &COLMAP (USEDEFAULTS, &DML_DATE = @DATENOW(), &OPTYPE = @GETENV("LASTERR", "OPTYPE"), &ERR_NUM = @GETENV("LASTERR", "DBERRNUM"), &ERR_MSG = @GETENV("LASTERR", "DBERRMSG"));Ⅰ
Agenda□Mothod of initialize data□   Handing essential DML and DML error□   Handing  Advanced  DDL  sync and DDL error□  Map and manipulating data□   Monitor and TroubleshootingⅠ
DDL limitations and influence □  Disable recycle  bin and affect other database  environment□ affect data filtering, and manipulation by the data pump (passthru/nopassthru)□affect  data-definition □OthersⅠMust  configure DDL synchronization?
DDL  Scope□ MappedObjects that are specified in TABLE and MAP statements □ UnmappedObjects that are not  specified in TABLE and MAP statements □Other scopeDDL operations that cannot be mapped are of OTHER scope,justlike the follow operations: create user,grantrole,createtablespace ,alter datafile …Ⅰ
DDL  Filter ● exclude/include ● mapped/unmapped/other/allfilter scope● opttype/objtype/objnamefilter special ddl action and object● instr/instrwors   filter via matchingⅠddl &include mapped exclude  objtype'table‘ objname"hr.jobs", &exclude INSTRWORDS  'alter add “city"', &include unmapped, objname "hr3.jobs", &include other
DDL DDLSUBST● When may we use DDLSUBST  like as the objects on source and target have  the different  tablespace  like as the datafile on source and tarhet have  different destination   ---------DDLSUBST 'users' with 'system' include mapped objtype ‘table’ INSTRWORDS 'create   table  tablespace "users"'Ⅰ       Notice:Must be careful and the best way  is to restrict the DDL statement via DDL inclusion and exclusion optionsTake care of  ddl matching via instr, it’s strict matching, including space character, carriage-return character
derived object□ Notice the derived object action●  Rename●  CTAS●  Index●  Trigger□ mapderived/ nomapderivedⅠ
DDL Other Topic□ Sequencecan the sequence really be synchronized before V11.1.1.1.0?□ Password□ Add supplemental log groupsddloptionsaddtrandataretryopⅠ
Use  multiple  DDLERROR statements□ handing special  error-codeddlerror XXXX discard□ handing special  object                                                                                                                                ddlerror default  ignore include OBJTYPE TABLE OBJNAME “hr1.*”Ⅰ
Agenda□Mothod of initialize data□Handing essential DML and DML error□   Handing  Advanced  DDL  sync and DDL error□  Map and manipulating data□   Monitor and TroubleshootingⅠ
Select  Rows□Method of select rows● Filterselect rows based on a numeric value by using basic operators  or one or more GoldenGate column-conversion functionsMAP  hr.jobs,TARGET hr.jobs, FILTER (ON INSERT, job_id > 1000); ● Whereselect rows based on a conditional statementMAP  hr.jobs,TARGET hr.jobs, where (job_name=@presentand= “Jerry”);Ⅰ
Map Columns□COLMAPmap table-level column map hr.jobs, target hr.jobs_add,&colmap (usedefaults,totol_salary=salary*days);  □COLMATCH    map between similarly structured tables that have different column names for the same sets of datacolmatch suffix  _s map hr.jobs, target hr.jobs, colmap(usedefaults);The column named Job_id on  source is named Job_id_s on target Ⅰ
Data-definationsfile□data-definations fileIt’s used to synchronize source and target tables that have dissimilar data definitions● DEFGEN       the tool is used to create a data-definations filedefgenparamfiledirprm/defgen.prm● SOURCEDEFS      Specifies a file that contains source data definitions created by the DEFGEN utilityⅠ
Convert  DML  operations□ select  dml type ●  GETUPDATES | IGNOREUPDATES  ●  GETDELETES | IGNOREDELETES  ●  GETINSERTS | IGNOREINSERTS□ convert dml  type ● INSERTALLRECORDS  ● INSERTUPDATES ● INSERTDELETES● UPDATEDELETESⅠ
Obtain  transaction info□  the useful  of  transaction info□   FunctionGETENV (“TRANSACTION”, “<return value>”)GETENV (“GGHEADER”, “<return value>”) map hr.jobs, target hr.jobs,&colmap &  ( &usedefaults,&Op_type    = @GETENV (“GGHEADER”, “OPTYPE”),& Indicator   = @GETENV (“GGHEADER”, “BEFOREAFTERINDICATOR”), &   commit_ts= @GETENV (“GGHEADER”, “COMMITTIMESTAMP”) & ) Ⅰ

More Related Content

PDF
Setup oracle golden gate 11g replication
Kanwar Batra
 
PPTX
Apache spark Intro
Tudor Lapusan
 
PPTX
Apache Spark RDD 101
sparkInstructor
 
PDF
User Defined Aggregation in Apache Spark: A Love Story
Databricks
 
PDF
Apache Spark in Depth: Core Concepts, Architecture & Internals
Anton Kirillov
 
PDF
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
CloudxLab
 
PDF
Valerii Vasylkov Erlang. measurements and benefits.
Аліна Шепшелей
 
PDF
Structured Streaming for Columnar Data Warehouses with Jack Gudenkauf
Databricks
 
Setup oracle golden gate 11g replication
Kanwar Batra
 
Apache spark Intro
Tudor Lapusan
 
Apache Spark RDD 101
sparkInstructor
 
User Defined Aggregation in Apache Spark: A Love Story
Databricks
 
Apache Spark in Depth: Core Concepts, Architecture & Internals
Anton Kirillov
 
Apache Spark - Dataframes & Spark SQL - Part 1 | Big Data Hadoop Spark Tutori...
CloudxLab
 
Valerii Vasylkov Erlang. measurements and benefits.
Аліна Шепшелей
 
Structured Streaming for Columnar Data Warehouses with Jack Gudenkauf
Databricks
 

What's hot (20)

PPTX
Frustration-Reduced Spark: DataFrames and the Spark Time-Series Library
Ilya Ganelin
 
PDF
Horizontally Scalable Relational Databases with Spark: Spark Summit East talk...
Spark Summit
 
PDF
Apache Spark & Streaming
Fernando Rodriguez
 
PPTX
Tuning and Debugging in Apache Spark
Patrick Wendell
 
PDF
Wayfair Use Case: The four R's of Metrics Delivery
InfluxData
 
PPTX
Modus operandi of Spark Streaming - Recipes for Running your Streaming Applic...
DataWorks Summit
 
PDF
Spark & Spark Streaming Internals - Nov 15 (1)
Akhil Das
 
PDF
Large volume data analysis on the Typesafe Reactive Platform - Big Data Scala...
Martin Zapletal
 
PDF
DTCC '14 Spark Runtime Internals
Cheng Lian
 
PDF
Apache Spark with Scala
Fernando Rodriguez
 
PDF
SQL on everything, in memory
Julian Hyde
 
PDF
Matlab netcdf guide
Gilberto Pimentel
 
PDF
Best Practices for Building and Deploying Data Pipelines in Apache Spark
Databricks
 
PPTX
Updates from Cassandra Summit 2016 & SASI Indexes
Jim Hatcher
 
PPTX
Using Spark to Load Oracle Data into Cassandra
Jim Hatcher
 
PDF
Apache Spark - Key-Value RDD | Big Data Hadoop Spark Tutorial | CloudxLab
CloudxLab
 
PPTX
Spark rdd vs data frame vs dataset
Ankit Beohar
 
PDF
Don’t optimize my queries, optimize my data!
Julian Hyde
 
PPTX
Apache Spark overview
DataArt
 
PDF
Introduction to spark
Duyhai Doan
 
Frustration-Reduced Spark: DataFrames and the Spark Time-Series Library
Ilya Ganelin
 
Horizontally Scalable Relational Databases with Spark: Spark Summit East talk...
Spark Summit
 
Apache Spark & Streaming
Fernando Rodriguez
 
Tuning and Debugging in Apache Spark
Patrick Wendell
 
Wayfair Use Case: The four R's of Metrics Delivery
InfluxData
 
Modus operandi of Spark Streaming - Recipes for Running your Streaming Applic...
DataWorks Summit
 
Spark & Spark Streaming Internals - Nov 15 (1)
Akhil Das
 
Large volume data analysis on the Typesafe Reactive Platform - Big Data Scala...
Martin Zapletal
 
DTCC '14 Spark Runtime Internals
Cheng Lian
 
Apache Spark with Scala
Fernando Rodriguez
 
SQL on everything, in memory
Julian Hyde
 
Matlab netcdf guide
Gilberto Pimentel
 
Best Practices for Building and Deploying Data Pipelines in Apache Spark
Databricks
 
Updates from Cassandra Summit 2016 & SASI Indexes
Jim Hatcher
 
Using Spark to Load Oracle Data into Cassandra
Jim Hatcher
 
Apache Spark - Key-Value RDD | Big Data Hadoop Spark Tutorial | CloudxLab
CloudxLab
 
Spark rdd vs data frame vs dataset
Ankit Beohar
 
Don’t optimize my queries, optimize my data!
Julian Hyde
 
Apache Spark overview
DataArt
 
Introduction to spark
Duyhai Doan
 
Ad

Viewers also liked (20)

PPTX
Examining Oracle GoldenGate Trail Files
Bobby Curtis
 
PPTX
Oracle Goldengate training by Vipin Mishra
Vipin Mishra
 
PPTX
How many ways to monitor oracle golden gate-Collaborate 14
Bobby Curtis
 
PPTX
Extreme Replication - Performance Tuning Oracle GoldenGate
Bobby Curtis
 
PDF
Oracle GoldenGate Architecture Performance
Enkitec
 
PPT
Oracle GoldenGate
oracleonthebrain
 
PDF
GoldenGate Fundamentals Student Guide Version 10.4
voyna
 
PPTX
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Bobby Curtis
 
PDF
Case study_mediswitch golden gate implementation
Ishtiaq Khan
 
PPTX
Doag data replication with oracle golden gate: Looking behind the scenes
Trivadis
 
PPTX
Enable GoldenGate Monitoring with OEM 12c/JAgent
Bobby Curtis
 
PDF
Oracle GoldenGate DB2 to Oracle11gR2 Configuration
grigorianvlad
 
PPT
Sql DML
Vikas Gupta
 
PPT
OOUG: Oracle transaction locking
Kyle Hailey
 
PPTX
Oracle GoldenGate Demo and Data Integration Concepts
Fumiko Yamashita
 
PDF
Oracle Database Performance Tuning Concept
Chien Chung Shen
 
PDF
Replacing Oracle CDC with Oracle GoldenGate
Stewart Bryson
 
PPT
Earl Shaffer Oracle Performance Tuning pre12c 11g AWR uses
oramanc
 
PDF
Oracle Database Performance Tuning: The Not SQL Option
Guatemala User Group
 
PDF
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Examining Oracle GoldenGate Trail Files
Bobby Curtis
 
Oracle Goldengate training by Vipin Mishra
Vipin Mishra
 
How many ways to monitor oracle golden gate-Collaborate 14
Bobby Curtis
 
Extreme Replication - Performance Tuning Oracle GoldenGate
Bobby Curtis
 
Oracle GoldenGate Architecture Performance
Enkitec
 
Oracle GoldenGate
oracleonthebrain
 
GoldenGate Fundamentals Student Guide Version 10.4
voyna
 
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Bobby Curtis
 
Case study_mediswitch golden gate implementation
Ishtiaq Khan
 
Doag data replication with oracle golden gate: Looking behind the scenes
Trivadis
 
Enable GoldenGate Monitoring with OEM 12c/JAgent
Bobby Curtis
 
Oracle GoldenGate DB2 to Oracle11gR2 Configuration
grigorianvlad
 
Sql DML
Vikas Gupta
 
OOUG: Oracle transaction locking
Kyle Hailey
 
Oracle GoldenGate Demo and Data Integration Concepts
Fumiko Yamashita
 
Oracle Database Performance Tuning Concept
Chien Chung Shen
 
Replacing Oracle CDC with Oracle GoldenGate
Stewart Bryson
 
Earl Shaffer Oracle Performance Tuning pre12c 11g AWR uses
oramanc
 
Oracle Database Performance Tuning: The Not SQL Option
Guatemala User Group
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Ad

Similar to Advanced goldengate training ⅰ (20)

PPTX
SQL LECTURE.pptx
TechnoSavage
 
PDF
Oracle 12 c new-features
Navneet Upneja
 
PDF
Spark Structured APIs
Knoldus Inc.
 
PDF
Migrating data into Drupal using the migrate module
Johan Gant
 
PDF
Replacing ActiveRecord With DataMapper
Peter Degen-Portnoy
 
PDF
Etl confessions pg conf us 2017
Corey Huinker
 
PPTX
PL/SQL Fundamentals I
Nick Buytaert
 
PDF
Data Warehousing 101(and a video)
PostgreSQL Experts, Inc.
 
PDF
Object Oriented Programming using C++ - Part 5
University College of Engineering Kakinada, JNTUK - Kakinada, India
 
PPTX
PostgreSQL Database Slides
metsarin
 
PPTX
PL_SQL_1.pptx fvbxcfbhxdfgh .
RAMIROENRIQUERAMALLO
 
PPTX
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
PPTX
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
PPTX
Writing powerful stored procedures in PL/SQL
MariaDB plc
 
PDF
What SQL should actually be...
Open Academy
 
PDF
Apache Airflow® Best Practices: DAG Writing
Aggregage
 
PDF
Really Big Elephants: PostgreSQL DW
PostgreSQL Experts, Inc.
 
PPTX
Introduction to mysql part 3
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Automate ml workflow_transmogrif_ai-_chetan_khatri_berlin-scala
Chetan Khatri
 
PDF
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dan Lynn
 
SQL LECTURE.pptx
TechnoSavage
 
Oracle 12 c new-features
Navneet Upneja
 
Spark Structured APIs
Knoldus Inc.
 
Migrating data into Drupal using the migrate module
Johan Gant
 
Replacing ActiveRecord With DataMapper
Peter Degen-Portnoy
 
Etl confessions pg conf us 2017
Corey Huinker
 
PL/SQL Fundamentals I
Nick Buytaert
 
Data Warehousing 101(and a video)
PostgreSQL Experts, Inc.
 
Object Oriented Programming using C++ - Part 5
University College of Engineering Kakinada, JNTUK - Kakinada, India
 
PostgreSQL Database Slides
metsarin
 
PL_SQL_1.pptx fvbxcfbhxdfgh .
RAMIROENRIQUERAMALLO
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
Writing powerful stored procedures in PL/SQL
MariaDB plc
 
What SQL should actually be...
Open Academy
 
Apache Airflow® Best Practices: DAG Writing
Aggregage
 
Really Big Elephants: PostgreSQL DW
PostgreSQL Experts, Inc.
 
Automate ml workflow_transmogrif_ai-_chetan_khatri_berlin-scala
Chetan Khatri
 
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dan Lynn
 

Advanced goldengate training ⅰ

  • 1. Advanced Goldengate Training Ⅰwww.oggers.net 2011-07-25
  • 2. Agenda□Mothod of initialize data□ Handing essential DML and DML error□ Handing Advanced DDL sync and DDL error□ Map and manipulating data□ Monitor and TroubleshootingⅠ
  • 3. Initialize Data If your database is huge and application transcations are still ongoing ,there is little stop-time,How should you Initialize your data? □ Use Keys + Handlecollsions □Use the commit SCN
  • 4. Handlecollsions□How does the Handlecollsions work? □ Where is the drawbacks with Handlecollsions? ● Does your tables have any primary key or unique key?● Is there primary key update during initialization ?Suitable for your environment ?Ⅰ
  • 5. Commit SCN♦ Commit SCN/GoldengateCSN♦ the common initialized mothods Via SCN□ exp/imp □ expdp/impdp□ Transport Tablespace with Backupset(compare Transport Tablespace)□ Datagurd/RMAN □ Other consistent read utilityⅠ□
  • 6. How to re-initialize a special table □ split replicat group and merge it □ Using transaction CSN Filter map hr.job, target hr.job, filter (@GETENV ("transaction", "csn") > xxx);
  • 7. Agenda□Mothod of initialize data□ Handing essential DML and DML error□ Handing Advanced DDL sync and DDL error□ Map and manipulating data□ Monitor and TroubleshootingⅠ
  • 8. Non-supported data types● ANYDATA● ANYDATASET● ANYTYPE● BFILE● BINARY_INTEGER● MLSLABEL● PLS_INTEGER● TIMEZONE_ABBR● TIMEZONE_REGION● URITYPE● UROWIDⅠ
  • 9. DML replication action□ Keys(Primary key/unique key/keycols) action● why to recommend to use keys? ● How to use keycols?□supplemental non-key column actionⅠ
  • 10. Handing DML error □ Handing replicat errors on DML operations via REPERROR Abort: roll back the transaction and stop processingDiscard: log the error to the discard file and continue processingException: send the error for exceptions processingIgnore: ignore the error and continue processing example:reperror default,discard discardfile ./dirrpt/rep_hr.dsc,append,megabytes 100Ⅰ
  • 11. Use multiple REPERROR statements□ handing special error-codereperror XXXX discard□ handing special object reperror default ignore exclude/include objname “hr.jobs”Ⅰ
  • 12. Use exception table REPERROR (DEFAULT, EXCEPTION)MAP hr.jobs, TARGET hr.jobs, &COLMAP (USEDEFAULTS);MAP hr.jobs, TARGET hr.jobs_exception, &EXCEPTIONSONLY, &INSERTALLRECORDS &COLMAP (USEDEFAULTS, &DML_DATE = @DATENOW(), &OPTYPE = @GETENV("LASTERR", "OPTYPE"), &ERR_NUM = @GETENV("LASTERR", "DBERRNUM"), &ERR_MSG = @GETENV("LASTERR", "DBERRMSG"));Ⅰ
  • 13. Agenda□Mothod of initialize data□ Handing essential DML and DML error□ Handing Advanced DDL sync and DDL error□ Map and manipulating data□ Monitor and TroubleshootingⅠ
  • 14. DDL limitations and influence □ Disable recycle bin and affect other database environment□ affect data filtering, and manipulation by the data pump (passthru/nopassthru)□affect data-definition □OthersⅠMust configure DDL synchronization?
  • 15. DDL Scope□ MappedObjects that are specified in TABLE and MAP statements □ UnmappedObjects that are not specified in TABLE and MAP statements □Other scopeDDL operations that cannot be mapped are of OTHER scope,justlike the follow operations: create user,grantrole,createtablespace ,alter datafile …Ⅰ
  • 16. DDL Filter ● exclude/include ● mapped/unmapped/other/allfilter scope● opttype/objtype/objnamefilter special ddl action and object● instr/instrwors filter via matchingⅠddl &include mapped exclude objtype'table‘ objname"hr.jobs", &exclude INSTRWORDS 'alter add “city"', &include unmapped, objname "hr3.jobs", &include other
  • 17. DDL DDLSUBST● When may we use DDLSUBST like as the objects on source and target have the different tablespace like as the datafile on source and tarhet have different destination ---------DDLSUBST 'users' with 'system' include mapped objtype ‘table’ INSTRWORDS 'create table tablespace "users"'Ⅰ Notice:Must be careful and the best way is to restrict the DDL statement via DDL inclusion and exclusion optionsTake care of ddl matching via instr, it’s strict matching, including space character, carriage-return character
  • 18. derived object□ Notice the derived object action● Rename● CTAS● Index● Trigger□ mapderived/ nomapderivedⅠ
  • 19. DDL Other Topic□ Sequencecan the sequence really be synchronized before V11.1.1.1.0?□ Password□ Add supplemental log groupsddloptionsaddtrandataretryopⅠ
  • 20. Use multiple DDLERROR statements□ handing special error-codeddlerror XXXX discard□ handing special object ddlerror default ignore include OBJTYPE TABLE OBJNAME “hr1.*”Ⅰ
  • 21. Agenda□Mothod of initialize data□Handing essential DML and DML error□ Handing Advanced DDL sync and DDL error□ Map and manipulating data□ Monitor and TroubleshootingⅠ
  • 22. Select Rows□Method of select rows● Filterselect rows based on a numeric value by using basic operators or one or more GoldenGate column-conversion functionsMAP hr.jobs,TARGET hr.jobs, FILTER (ON INSERT, job_id > 1000); ● Whereselect rows based on a conditional statementMAP hr.jobs,TARGET hr.jobs, where (job_name=@presentand= “Jerry”);Ⅰ
  • 23. Map Columns□COLMAPmap table-level column map hr.jobs, target hr.jobs_add,&colmap (usedefaults,totol_salary=salary*days); □COLMATCH map between similarly structured tables that have different column names for the same sets of datacolmatch suffix _s map hr.jobs, target hr.jobs, colmap(usedefaults);The column named Job_id on source is named Job_id_s on target Ⅰ
  • 24. Data-definationsfile□data-definations fileIt’s used to synchronize source and target tables that have dissimilar data definitions● DEFGEN the tool is used to create a data-definations filedefgenparamfiledirprm/defgen.prm● SOURCEDEFS Specifies a file that contains source data definitions created by the DEFGEN utilityⅠ
  • 25. Convert DML operations□ select dml type ● GETUPDATES | IGNOREUPDATES ● GETDELETES | IGNOREDELETES ● GETINSERTS | IGNOREINSERTS□ convert dml type ● INSERTALLRECORDS ● INSERTUPDATES ● INSERTDELETES● UPDATEDELETESⅠ
  • 26. Obtain transaction info□ the useful of transaction info□ FunctionGETENV (“TRANSACTION”, “<return value>”)GETENV (“GGHEADER”, “<return value>”) map hr.jobs, target hr.jobs,&colmap & ( &usedefaults,&Op_type = @GETENV (“GGHEADER”, “OPTYPE”),& Indicator = @GETENV (“GGHEADER”, “BEFOREAFTERINDICATOR”), & commit_ts= @GETENV (“GGHEADER”, “COMMITTIMESTAMP”) & ) Ⅰ