-
Notifications
You must be signed in to change notification settings - Fork 692
Update description of MAX_WRITE_SPEED
#20852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -1741,11 +1741,12 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; | |||||
- Type: String | ||||||
- Default value: `0` | ||||||
- Range: `[0, 1PiB]` | ||||||
- This variable limits the write bandwidth for each TiKV node and only takes effect when index creation acceleration is enabled (controlled by the [`tidb_ddl_enable_fast_reorg`](#tidb_ddl_enable_fast_reorg-new-in-v630) variable). When the data size in your cluster is quite large (such as billions of rows), limiting the write bandwidth for index creation can effectively reduce the impact on application workloads. | ||||||
- This variable limits the write bandwidth of each TiDB node to TiKV and only takes effect when index creation acceleration is enabled (controlled by the [`tidb_ddl_enable_fast_reorg`](#tidb_ddl_enable_fast_reorg-new-in-v630) variable). When the data size in your cluster is quite large (such as billions of rows), limiting the write bandwidth for index creation can effectively reduce the impact on application workloads. | ||||||
- The default value `0` means no write bandwidth limit. | ||||||
- You can specify the value of this variable either with a unit or without a unit. | ||||||
- When you specify the value without a unit, the default unit is bytes per second. For example, `67108864` represents `64MiB` per second. | ||||||
- When you specify the value with a unit, supported units include KiB, MiB, GiB, and TiB. For example, `'1GiB`' represents 1 GiB per second, and `'256MiB'` represents 256 MiB per second. | ||||||
- When the Distributed eXecution Framework (DXF) is enabled, this write limit applies to each TiDB node respectively. For example, if you add index using 4 TiDB nodes, setting this variable to `64MiB` means the maximum write speed to TiKV is `256MiB/s`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
### tidb_ddl_reorg_worker_cnt | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,7 +280,7 @@ The `security` section specifies certificates and keys for TLS connections withi | |
|
||
#### `store-write-bwlimit` | ||
|
||
- Limits the bandwidth in which TiDB Lightning writes data into each TiKV node in the physical import mode. | ||
- Limits the per-table bandwidth to write data into TiKV for each TiDB Lightning instance in the physical import mode. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why add per-table? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i remember all tables in one lightning instance shares the same limit |
||
- Default value: `0`, which means no limit. | ||
|
||
#### `disk-quota` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.