联接索引和哈希索引版本注意事项 - Teradata Data Mover

Teradata® Data Mover 用户指南

Product
Teradata Data Mover
Release Number
17.12
Published
2022 年 1 月
Language
中文 (简体)
Last Update
2022-02-22
dita:mapPath
zh-CN/ptl1635805434108.ditamap
dita:ditavalPath
zh-CN/mpm1591127278842.ditaval
dita:id
B035-4101
Product Category
Analytical Ecosystem

可以在使用 DSA 复制完整数据库的过程中复制联接索引和哈希索引,但无法在重定位完整数据库的过程中复制这些内容,因为目标数据库与源数据库不同名。复制某个数据库时,如果目标具有联接索引或哈希索引,而源不具有相应的索引,则会在复制整个数据库后重新创建目标索引(前提是目标数据库上存在索引)。

要在使用 DSA 复制整个数据库时复制联接索引和哈希索引,请将可选的 database.copy.joinIndex 配置属性设置为 true,如以下示例 configuration.xml 所示:
<property>
    <key>database.copy.joinIndex</key>
    <value>true</value>
    <description>Purpose: If set to true, all Join Index and Hash Index associated with a table will automatically be copied to the target when copying the table between DBS version 13.0 or higher. This parameter is only used to support previous functionality of Data Mover. The default is false.</description>
</property>
当源或目标数据库版本低于 16.20 时,不管 database.copy.joinIndex 值为何,DSA 都会自动复制联接索引或哈希索引。