Skip to content

Commit

Permalink
performance: remove tidb_enable_batch_dml (#19633) (#19642)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 10, 2024
1 parent 9504112 commit b1c2169
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tidb-performance-tuning-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ The following sections explain how to handle each of these cases. You need to ad
If your workload involves frequent small transactions or queries that frequently request timestamps, TSO (Timestamp Oracle) can become a performance bottleneck. To check if TSO wait time is impacting your system, check the [**Performance Overview > SQL Execute Time Overview**](/grafana-performance-overview-dashboard.md#sql-execute-time-overview) panel. If TSO wait time constitutes a large portion of your SQL execution time, consider the following optimizations:

- Use low-precision TSO (enable [`tidb_low_resolution_tso`](/system-variables.md#tidb_low_resolution_tso)) for read operations that do not need strict consistency. For more information, see [Solution 1: use low-precision TSO](#solution-1-low-precision-tso).
- Enable [`tidb_enable_batch_dml`](/system-variables.md#tidb_enable_batch_dml) to reduce TSO requests for batch operations
- Combine small transactions into larger ones where possible. For more information, see [Solution 2: parallel mode for TSO requests](#solution-2-parallel-mode-for-tso-requests).

#### Solution 1: low-precision TSO
Expand Down

0 comments on commit b1c2169

Please sign in to comment.