Copy a Table with no Journaling | Teradata Data Mover - Copying a Table With No Journaling - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
16.20
Published
November 2021
Language
English (United States)
Last Update
2021-11-04
dita:mapPath
wph1512683331242.ditamap
dita:ditavalPath
4101_UG_dm_1620.ditaval
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem
  1. Edit the job definition.
  2. In the xml file, add the string <journaling>false</journaling> as a child of the table element.
    In the following example, the source table DBName.Accounts with an associated journal is created on the target with no journal attribute.
    <database selection="unselected">
    	<name>DBName</name>
    	 <table selection="included">
    		 <name>Accounts</name>
       <journaling>false</journaling>
     	</table>
    </database>
    These DDL statements highlight the differences between the definitions of tables when you specify journal and no journal. The following example shows the DDL for DBName.Accounts on the source.
    CREATE SET TABLE Accounts ,FALLBACK ,
          DUAL BEFORE JOURNAL, DUAL AFTER JOURNAL, WITH JOURNAL TABLE = DBName.Journal1  ,
         CHECKSUM = DEFAULT
         (
          Col1 VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC,
          Col2 VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC,
          col3 TIMESTAMP(0))
    PRIMARY INDEX ( Col1 )
    INDEX ( Col2 );
    
    The following example shows the DDL for DBName.Accounts after it is created on the target without journaling.
    CREATE SET TABLE Accounts ,FALLBACK ,
          NO BEFORE JOURNAL, NO AFTER JOURNAL, 
         CHECKSUM = DEFAULT
         (
          Col1 VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC,
          Col2 VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC,
          col3 TIMESTAMP(0))
    PRIMARY INDEX ( Col1 )
    INDEX ( Col2 );