跳到主要内容 跳到补充内容

Metadata

Basic

  • Target table schema: The schema on the target to which the source tables will be replicated if you do not want to use the source table schema (or if there is no schema in the source database).

    信息注释When replicating to an Oracle target, the default target table schema is "system". Note also that if you leave this field empty (in which case the source schema will be used), you must make sure that the source schema already exists on the target. Otherwise, the task will fail.
    信息注释The maximum permitted length for the schema name is 128 characters.

Replicate LOB columns

  • Do not include LOB columns: Select this if you do not want source LOB columns to be replicated.
  • Limit LOB column size to (KB): This is the default. Select this option if you only need to replicate small LOBs or if the target platform does not support unlimited LOB size. The maximum permitted value for this field is 102400 KB (100 MB).

    When replicating small LOBs, this option is more efficient than the Allow unlimited LOB size option since the LOBs are replicated "inline" as opposed to via "lookup" from the source. During Change Processing, small LOBs are usually replicated via "lookup" from the source.

    As the value of the Limit LOB size to is in bytes, the size should be calculated according to the following formulas:

    • BLOB: The length of the largest LOB.
    • NCLOB: The length of the longest TEXT in characters multiplied by two (as each character is handled as a double-byte). If the data includes 4-byte characters, multiply it by four.
    • CLOB: The length of the longest TEXT in characters (as each character is handled as a UTF8 character). If the data includes 4-byte characters, multiply it by two.
    信息注释
    • Any LOBs larger than the specified size will be truncated.
    • During Change Processing from Oracle source, inline BLOBs are replicated inline.
    • Changes to this setting will only affect existing tables after they are reloaded.
  • Do not limit LOB column size: When this option is selected, LOB columns will be replicated, regardless of size.

    信息注释Replicating LOB columns may impact performance. This is especially true in the case of the large LOB columns which require Qlik Talend Data Integration to perform a lookup from the source table in order to retrieve the source LOB value.
    • Optimize when LOB size is less than: Select this option when you need to replicate both small and large LOBs, and most of the LOBs are small.

      信息注释

      This option is supported with the following sources and targets only:

      • Sources: Oracle, Microsoft SQL server, MySQL, PostgreSQL, and IBM DB2 for LUW

      • Targets: Oracle, Microsoft SQL Server, MySQL, PostgreSQL.

      When this option is selected, during Full Load, the small LOBs will be replicated "inline" (which is more efficient), and the large LOBs will be replicated by performing a lookup from the source table. During Change Processing, however, both small and large LOBs will be replicated by performing a lookup from the source table.

      信息注释

      When this option is selected, Qlik Talend Data Integration will check all of the LOB sizes to determine which ones to transfer "inline". LOBs larger than the specified size will be replicated using Full LOB mode.

      Therefore, if you know that most of the LOBs are larger than the specified setting, it is preferable to use the Replicate unlimited LOB columns option instead.

    • Chunk size (KB): Optionally, change the size of the LOB chunks to use when replicating the data to the target. The default chunk size should suffice in most cases, but if you encounter performance issues, adjusting the size may improve performance.

      信息注释

      With some databases, data type validation occurs when the data is inserted or updated. In such cases, replication of structured data types (e.g. XML, JSON, GEOGRAPHY, etc.) may fail if the data is bigger than the specified chunk size.

Advanced

Control table settings

  • Control tables schema: Specify the target schema for the Control Tables if you do not want them to be created in the source schema (the default), or in the target schema.

    信息注释The maximum permitted length for the schema name is 128 characters.
  • Create target control tables in tablespace: ​ 当目标复制目标是 Oracle 时,指定要在其中创建目标控制表的表空间。如果您没有在该字段中输入任何信息,那么表将在目标数据库的默认表空间中创建。
  • Create indexes for target control tables in tablespace: 当复制目标是 Oracle 时,指定要在其中创建控制表索引的表空间。如果不在此字段中输入任何信息,则索引将在与控制表相同的表空间中创建。
  • Replication history timeslot (minutes): The length of each time slot in the 复制历史记录 Control Table. The default is 5 minutes.

Control table selection

Select the Control Tables you want to be created on the target platform:

Logical name Name in target
Apply exceptions attrep_apply_exceptions
Replication status attrep_status
Suspended tables attrep_suspended_tables
Replication history attrep_history

For more information on Control Tables, see 控制表.

本页面有帮助吗?

如果您发现此页面或其内容有任何问题 – 打字错误、遗漏步骤或技术错误 – 请告诉我们如何改进!