-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for non-transactional DMLs #33485
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Comments
12 tasks
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 15, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 18, 2022
This was referenced Apr 19, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 25, 2022
espresso98
pushed a commit
to espresso98/tidb
that referenced
this issue
Apr 25, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
May 9, 2022
This was referenced May 9, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 10, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
May 11, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 12, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
May 17, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 18, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
May 23, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Oct 19, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 3, 2022
14 tasks
15 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 24, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 28, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Dec 1, 2022
12 tasks
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement
Users need to do a bulk delete or update using a single statement, while currently TiDB cannot satisfy the requirement because of the performance issue, transaction size limit, and compatibility issues with tools.
A new syntax is proposed to work around the problem. A non-transactional DML contains a DML and information that are used to "split" the statement, thus it is equivalent to a sequence of DMLs which is not transactional since it does not provide atomicity and probably isolation.
Different from the deprecated batch-DML, a non-transactional DML splits SQLs so every split SQL is a normal statement and does not risk data-index consistency.
The text was updated successfully, but these errors were encountered: