Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,22 @@ This variable is an alias for `last_insert_id`.
- Range: `[0, 65535]`
- The port that the `tidb-server` is listening on when speaking the MySQL protocol.

### rand_seed1

- Scope: SESSION
- Default value: `0`
- Range: `[0, 2147483647]`
- This variable is used to seed the random value generator used in the `RAND()` SQL function.
- The behavior of this variable is MySQL compatible.

### rand_seed2

- Scope: SESSION
- Default value: `0`
- Range: `[0, 2147483647]`
- This variable is used to seed the random value generator used in the `RAND()` SQL function.
- The behavior of this variable is MySQL compatible.

### skip_name_resolve <span class="version-mark">New in v5.2.0</span>

- Scope: GLOBAL
Expand Down Expand Up @@ -463,7 +479,7 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
### tidb_backoff_lock_fast

- Scope: SESSION | GLOBAL
- Default value: `100`
- Default value: `10`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seiya-annie PTAL this default value change. From which version this value has been changed?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's still 100 in v5.3.0, maybe a new change for master

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the checklist at the time there was no option, but I selected master.

This affects TiDB 5.4 and above.

- Range: `[1, 2147483647]`
- This variable is used to set the `backoff` time when the read request meets a lock.

Expand Down Expand Up @@ -1542,7 +1558,7 @@ SET tidb_slow_log_threshold = 200;

### tidb_store_limit <span class="version-mark">New in v3.0.4 and v4.0</span>

- Scope: INSTANCE | GLOBAL
- Scope: GLOBAL
- Default value: `0`
- Range: `[0, 9223372036854775807]`
- This variable is used to limit the maximum number of requests TiDB can send to TiKV at the same time. 0 means no limit.
Expand Down