Skip to content

add session system var delete_opt_to_truncate#20950

Merged
mergify[bot] merged 2 commits intomatrixorigin:2.0-devfrom
huby2358:dev
Dec 27, 2024
Merged

add session system var delete_opt_to_truncate#20950
mergify[bot] merged 2 commits intomatrixorigin:2.0-devfrom
huby2358:dev

Conversation

@huby2358
Copy link
Copy Markdown
Contributor

@huby2358 huby2358 commented Dec 26, 2024

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue # #20864

What this PR does / why we need it:

cherry-pick
增加session级别配置项delete_opt_to_truncate控制是否要对delete from table; 优化成truncate, 默认为true, 即优化成trucate, 通过set session delete_opt_to_truncate = 0;关闭该优化

@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Dec 26, 2024
@mergify mergify Bot requested a review from sukki37 December 26, 2024 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants