Skip to content

Conversation

yuki-tei
Copy link
Contributor

Hi team,
Greetings.

What Changed?

We got to know that only -trunLoad will drop/recreate indexes/constraints, user should know this before using it.

Kind Regards,
Yuki Tei

@yuki-tei yuki-tei requested a review from a team as a code owner October 10, 2025 00:52
@nidhibhammar
Copy link
Contributor

@gvasquezvargas, can we get this reviewed by an engineer on the MTK team?

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

!!!note
If -truncLoad is spcified, all indexes and constraints are dropped before data laod and recreated afterward. Hence if data load is failed, indexes and constraints might be lacking. Manual operation might be necessary, depending on the situation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If -truncLoad is spcified, all indexes and constraints are dropped before data laod and recreated afterward. Hence if data load is failed, indexes and constraints might be lacking. Manual operation might be necessary, depending on the situation.
If `-truncLoad` is specified, all indexes and constraints are dropped before data load and recreated afterward. Hence, if the data load fails, it may be due to a lack of indexes and constraints. Manual intervention might be necessary, depending on the situation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zahid75 do you mind taking a look at this suggestion from an external contributor (which I rephrased above) and letting us know if its accurate so we can merge it? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants