Skip to content

Commit

Permalink
update MD by dispatch event pingcap/docs release-8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 10, 2025
1 parent c1cd2a0 commit 0816388
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ In v7.0.0-DMR, the key new features and improvements are as follows:
| [`tidb_opt_enable_late_materialization`](/system-variables.md#tidb_opt_enable_late_materialization-new-in-v700) | Newly added | This variable controls whether to enable the [TiFlash Late Materialization](/tiflash/tiflash-late-materialization.md) feature. The default value is `OFF`, which means the feature is not enabled. |
| [`tidb_opt_ordering_index_selectivity_threshold`](/system-variables.md#tidb_opt_ordering_index_selectivity_threshold-new-in-v700) | Newly added | This variable controls how the optimizer selects indexes when the SQL statement contains `ORDER BY` and `LIMIT` clauses and has filtering conditions. |
| [`tidb_pessimistic_txn_fair_locking`](/system-variables.md#tidb_pessimistic_txn_fair_locking-new-in-v700) | Newly added | Controls whether to enable the enhanced pessimistic lock-waking model to reduce the tail latency of transactions under single-row conflict scenarios. The default value is `ON`. When the cluster is upgraded from an earlier version to v7.0.0 or later, the value of this variable is set to `OFF`. |
| [`tidb_slow_txn_log_threshold`](/system-variables.md#tidb_slow_txn_log_threshold-new-in-v700) | Newly added | Sets the threshold for slow transaction logging. When the execution time of a transaction exceeds this threshold, TiDB logs detailed information about the transaction. The default value `0` means that this feature is disabled. |
| [`tidb_ttl_running_tasks`](/system-variables.md#tidb_ttl_running_tasks-new-in-v700) | Newly added | This variable is used to limit the concurrency of TTL tasks across the entire cluster. The default value `-1` means that the TTL tasks are the same as the number of TiKV nodes. |

### Configuration file parameters
Expand Down
10 changes: 10 additions & 0 deletions markdown-pages/en/tidb/release-8.1/system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -5277,6 +5277,16 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).

</CustomContent>

### tidb_slow_txn_log_threshold <span class="version-mark">New in v7.0.0</span>

- Scope: SESSION
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
- Type: Unsigned integer
- Default value: `0`
- Range: `[0, 9223372036854775807]`
- Unit: Milliseconds
- This variable sets the threshold for slow transaction logging. When the execution time of a transaction exceeds this threshold, TiDB logs detailed information about the transaction. When the value is set to `0`, this feature is disabled.

### tidb_snapshot

- Scope: SESSION
Expand Down
10 changes: 10 additions & 0 deletions markdown-pages/en/tidbcloud/master/system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -5277,6 +5277,16 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).

</CustomContent>

### tidb_slow_txn_log_threshold <span class="version-mark">New in v7.0.0</span>

- Scope: SESSION
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
- Type: Unsigned integer
- Default value: `0`
- Range: `[0, 9223372036854775807]`
- Unit: Milliseconds
- This variable sets the threshold for slow transaction logging. When the execution time of a transaction exceeds this threshold, TiDB logs detailed information about the transaction. When the value is set to `0`, this feature is disabled.

### tidb_snapshot

- Scope: SESSION
Expand Down

0 comments on commit 0816388

Please sign in to comment.