Specify copyStats at Job Level | Teradata Data Mover - Specifying Copy Statistics at Job Level - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.11
Published
October 2021
Language
English (United States)
Last Update
2021-10-14
dita:mapPath
cai1626458602965.ditamap
dita:ditavalPath
cai1626458602965.ditaval
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem
Specifying copyStats at the job level allows for copying statistics in bulk instead of individually at the object level. When enabled, all tables and indexes (hash or join) in the job inherit the statistics at the job level. If a different value is specified at the table or index (hash or join) level, the job-level value is overridden.
  1. In the job definition, set copyStats to true as in the following example:
    <dmCreate>
    ...
    <copyStats>true</copyStats>
    <database selection="unselected">
    	<name>database1</name>
    	<table selection="included">
    		<name>test</name>
    		<validate_row_count>all</validate_row_count>
    	</table>
    </database>
    ...
    </dmCreate>