-
Notifications
You must be signed in to change notification settings - Fork 706
premium: add limitations on import and index creation #22026
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
Open
Frank945946
wants to merge
12
commits into
pingcap:release-8.5
Choose a base branch
from
Frank945946:update-the-doc-of-DXF
base: release-8.5
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+61
−0
Open
Changes from 8 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b0f3d97
Add limitations on import and index creation for TiDB X Premium
Frank945946 d9b7fba
Update format
lilin90 7be80ef
Apply suggestions from code review
lilin90 b0313a4
sql: refine wording
lilin90 93ee4a6
Refine wording in global sort and fix content position
lilin90 71c4211
Update wording and format in sys variables
lilin90 8778c75
Update sql-statements/sql-statement-admin-alter-ddl.md
Frank945946 88faa5d
Apply suggestions from code review
hfxsd 6bfea7a
Update tidb-global-sort.md
hfxsd 502326e
Update system variable notes and fix format
lilin90 4500fec
Merge branch 'release-8.5' into pr/22026
lilin90 881b96a
Merge branch 'release-8.5' into pr/22026
hfxsd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1576,10 +1576,23 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; | |
|
|
||
| ### tidb_ddl_disk_quota <span class="version-mark">New in v6.3.0</span> | ||
|
|
||
| <CustomContent platform="tidb-cloud" plan="starter,essential"> | ||
|
|
||
| > **Note:** | ||
| > | ||
| > This variable is read-only for [{{{ .starter }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#starter) and [{{{ .essential }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#essential). | ||
|
|
||
| </CustomContent> | ||
|
|
||
| <CustomContent platform="tidb-cloud" plan="premium"> | ||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| > **Note:** | ||
| > | ||
| > - This variable is read-only for [{{{ .starter }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#starter), [{{{ .essential }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#essential), and [{{{ .premium }}}](https://docs-preview.pingcap.com/tidbcloud/tidb-cloud-intro/#deployment-options). | ||
| > - For {{{ .premium }}}, this variable is automatically tuned to an appropriate value and cannot be modified by users. If you need to adjust the setting, contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md). | ||
|
|
||
| </CustomContent> | ||
|
|
||
| - Scope: GLOBAL | ||
| - Persists to cluster: Yes | ||
| - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No | ||
|
|
@@ -1733,11 +1746,23 @@ Assume that you have a cluster with 4 TiDB nodes and multiple TiKV nodes. In thi | |
| - When Global Sort is disabled, only one TiDB node writes to TiKV at a time. In this case, the maximum write bandwidth per TiKV node is `100MiB`. | ||
| - When Global Sort is enabled, all 4 TiDB nodes can write to TiKV simultaneously. In this case, the maximum write bandwidth per TiKV node is `4 * 100MiB = 400MiB`. | ||
|
|
||
| <CustomContent platform="tidb-cloud" plan="premium"> | ||
|
|
||
| > **Note:** | ||
| > | ||
| > For {{{ .premium }}}, this parameter is automatically tuned to an appropriate value and cannot be modified by users. If you need to adjust it, contact [TiDB Cloud support](/tidb-cloud/tidb-cloud-support.md). | ||
|
|
||
| </CustomContent> | ||
|
|
||
| ### tidb_ddl_reorg_worker_cnt | ||
|
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <CustomContent platform="tidb-cloud" plan="premium"> | ||
|
|
||
| > **Note:** | ||
| > | ||
| > This variable is read-only for [{{{ .starter }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#starter) and [{{{ .essential }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#essential). | ||
| > This variable is read-only for [{{{ .starter }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#starter) and [{{{ .essential }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#essential). For [{{{ .premium }}}](https://docs.pingcap.com/tidbcloud/select-cluster-tier#premium), modifying this parameter has no effect on index creation. | ||
|
||
|
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </CustomContent> | ||
|
|
||
| - Scope: SESSION | GLOBAL | ||
| - Persists to cluster: Yes | ||
|
|
@@ -1750,6 +1775,14 @@ Assume that you have a cluster with 4 TiDB nodes and multiple TiKV nodes. In thi | |
| - Starting from v8.3.0, this parameter is supported at the SESSION level. Modifying the parameter at the GLOBAL level will not impact currently running DDL statements. It will only apply to DDLs submitted in new sessions. | ||
| - Starting from v8.5.0, you can modify this parameter for a running DDL job by executing `ADMIN ALTER DDL JOBS <job_id> THREAD = <new_thread_count>;`. Note that this operation is not supported for `ADD INDEX` DDL when [`tidb_enable_dist_task`](/system-variables.md#tidb_enable_dist_task-new-in-v710) is enabled. For details, see [`ADMIN ALTER DDL JOBS`](/sql-statements/sql-statement-admin-alter-ddl.md). | ||
|
|
||
| <CustomContent platform="tidb-cloud" plan="premium"> | ||
|
|
||
| > **Note:** | ||
| > | ||
| > For {{{ .premium }}}, modifying this variable has no effect on index creation. If you need to adjust it, contact [TiDB Cloud support](/tidb-cloud/tidb-cloud-support.md). | ||
|
|
||
| </CustomContent> | ||
|
|
||
| ### `tidb_enable_fast_create_table` <span class="version-mark">New in v8.0.0</span> | ||
|
|
||
| - Scope: GLOBAL | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.