跳到主要內容 跳至補充內容

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 控制表格.

此頁面是否對您有幫助?

若您發現此頁面或其內容有任何問題——錯字、遺漏步驟或技術錯誤——請告知我們可以如何改善!