Skip to content

Commit 3edad37

Browse files
Auto-sync: Update English docs from Chinese PR qiancai/docs-cn#15
Synced from: qiancai/docs-cn#15 Target PR: #50 AI Provider: gemini Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 05f6804 commit 3edad37

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

system-variables.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,6 +1791,16 @@ Assume that you have a cluster with 4 TiDB nodes and multiple TiKV nodes. In thi
17911791
- This variable is renamed from the variable [`tidb_ddl_version`](https://docs-archive.pingcap.com/tidb/v7.6/system-variables#tidb_ddl_version-new-in-v760) that is introduced in v7.6.0. Starting from v8.0.0, `tidb_ddl_version` no longer takes effect.
17921792
- Starting from TiDB v8.5.0, the accelerated table creation feature is enabled by default for newly created clusters, with `tidb_enable_fast_create_table` set to `ON`. For clusters upgraded from v8.4.0 or earlier versions, the default value of `tidb_enable_fast_create_table` remains unchanged.
17931793
1794+
### `tidb_opt_selectivity_factor` <span class="version-mark">Introduced in v9.0.0</span>
1795+
1796+
- Scope: SESSION | GLOBAL
1797+
- Is persisted to the cluster: Yes
1798+
- Is controlled by the Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
1799+
- Type: Floating-point number
1800+
- Value range: `[0, 1]`
1801+
- Default value: `0.8`
1802+
- This variable is used to specify the default selectivity of the TiDB optimizer. In some cases, when the optimizer cannot derive the predicate selectivity based on statistics, the optimizer uses this default selectivity as an alternative value. **It is not recommended** to modify this value.
1803+
17941804
### tidb_default_string_match_selectivity <span class="version-mark">New in v6.2.0</span>
17951805
17961806
- Scope: SESSION | GLOBAL

0 commit comments

Comments
 (0)