Skip to content

Commit d32d20f

Browse files
authored
Merge pull request #6987 from yuki-tei/patch-12
Update 08_mtk_command_options.mdx
2 parents fba4edb + 6184f7a commit d32d20f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

product_docs/docs/migration_toolkit/55/07_invoking_mtk/08_mtk_command_options.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,10 @@ Use the migration options to control the details of the migration process.
403403

404404
Truncate the data from the table before importing new data. Use this option with the `-dataOnly` option.
405405

406+
!!!note
407+
If `-truncLoad` is specified, all indexes and constraints are dropped before data load and recreated afterwards. Hence, if the data load fails, it may lead to a lack of indexes, constraints and triggers. Manual intervention might be necessary, depending on the situation.
408+
!!!
409+
406410
### `-enableConstBeforeDataLoad`
407411

408412
Include the `-enableConstBeforeDataLoad` option if a nonpartitioned source table is mapped to a partitioned table. This option enables all triggers on the target table, including any triggers that redirect data to individual partitions, before the data migration. `-enableConstBeforeDataLoad` is valid only if you also specify the `-truncLoad` parameter.

0 commit comments

Comments
 (0)