Skip to content

Commit a711916

Browse files
committed
sql: update tidb_batch_insert autocommit
Via: pingcap/docs-cn#721
1 parent 469800b commit a711916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/tidb-specific.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ If you need to set the global variable, run:
135135

136136
- Scope: SESSION | GLOBAL
137137
- Default value: 0
138-
- This variable is used to set whether to divide the data for deletion automatically.
139-
- When deleting a large amount of data, you can set the variable value to true. Then the data for deletion is automatically divided into multiple batches and each batch is deleted by a single transaction.
138+
- This variable is used to set whether to divide the data for deletion automatically. It is valid only when `autocommit` is enabled.
139+
- When deleting a large amount of data, you can set the variable value to true. Then the data for deletion is automatically divided into multiple batches and each batch is deleted by a single transaction.
140140

141141
### tidb_dml_batch_size
142142

0 commit comments

Comments
 (0)