Copy Entire Database with ARC or DSA | Teradata Data Mover - About Copying Entire Databases - 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
You can copy all the objects from a source to a target database without specifying each object in the database when using Teradata ARC or Teradata DSA. This is a useful alternative to specifying a copy of individual tables, especially when the database has a large number of objects. When copying the entire database to a target, you can do any or all of the following:
  • Exclude specific tables from being copied
  • Rename tables to be copied in the target
  • Copy partial table data
  • Copy join and hash indexes
  • Copy triggers
  • Copy permanent journals (not supported by DSA)
  • Enable the compare DDL feature for all tables to be copied
  • Disable the compare DDL feature for selected tables to be copied
  • Rename and relocate hash and join indexes
  • Copy entire databases and all their children
  • Exclude child databases from being copied
  • Rename tables in a child database
  • Copy specific tables in a child database
  • Copy to a different target database
  • Copy a parent database with its children, but relocate a child database to a different database on the target

Rules and Restrictions

  • If a job copies the entire database with Teradata ARC or Teradata DSA, and the database has tables with foreign keys, the target tables are created without foreign keys.
  • You can only copy an entire database between Teradata Database systems using the ARC or DSA utility.
  • Teradata PT API operators and Teradata JDBC utility do not support copying an entire database.
  • The specified target database must exist and have adequate space.
  • When using ARC or DSA to copy an entire database on which statistics have been collected, the statistics of all objects within the database are copied regardless of the copyStats attribute.
  • Databases cannot be copied between Teradata and Aster or Hadoop systems.

  • When using ARC to copy data to a target system that is one or more major releases newer than the source system, the job log may contain the following ARC warning:
    Warning ARC1257: A cross-release data restore requires that a Teradata SQL conversion script be run.
    Data Mover does not execute this post-data restore conversion script automatically. In most cases, it is not necessary to execute this script unless you are copying an entire database where the database contains an external stored procedure (XSP) or a user-defined function (UDF).