Skip to content

Commit 11b518c

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

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
@@ -1792,6 +1792,16 @@ Assume that you have a cluster with 4 TiDB nodes and multiple TiKV nodes. In thi
17921792
17931793
### `tidb_enable_fast_create_table` <span class="version-mark">New in v8.0.0</span>
17941794
1795+
### `tidb_opt_selectivity_factor` <span class="version-mark">Introduced in v9.0.0</span>
1796+
1797+
- Scope: SESSION | GLOBAL
1798+
- Persist to cluster: Yes
1799+
- Controlled by Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
1800+
- Type: Floating-point number
1801+
- Range: `[0, 1]`
1802+
- Default value: `0.8`
1803+
- 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.
1804+
17951805
- Scope: GLOBAL
17961806
- Persists to cluster: Yes
17971807
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No

0 commit comments

Comments
 (0)