Skip to content

docs: add documentation for ADMIN ALTER DDL JOBS command#19492

Merged
ti-chi-bot[bot] merged 16 commits intopingcap:masterfrom
tangenta:admin-alter-ddl-job
Dec 2, 2024
Merged

docs: add documentation for ADMIN ALTER DDL JOBS command#19492
ti-chi-bot[bot] merged 16 commits intopingcap:masterfrom
tangenta:admin-alter-ddl-job

Conversation

@tangenta
Copy link
Copy Markdown
Contributor

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 22, 2024
@hfxsd hfxsd self-assigned this Nov 22, 2024
@hfxsd hfxsd added translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. v8.5 and removed missing-translation-status This PR does not have translation status info. labels Nov 22, 2024
@hfxsd hfxsd self-requested a review November 22, 2024 07:52
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Nov 22, 2024

@fzzf678: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
tangenta and others added 2 commits November 25, 2024 13:43
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
@hfxsd hfxsd requested a review from lilin90 November 25, 2024 06:45
Comment thread TOC.md Outdated
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-alter-ddl.md
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
- `BATCH_SIZE`: the batch size. The initial value is set by [`tidb_ddl_reorg_batch_size`](/system-variables.md#tidb_ddl_reorg_batch_size).
- `MAX_WRITE_SPEED`: the maximum bandwidth limit for importing index records into each TiKV. The initial value is set by [`tidb_ddl_reorg_max_write_speed`](/system-variables.md#tidb_ddl_reorg_max_write_speed-new-in-v850).
- `BATCH_SIZE`: the batch size. You can set the initial value by [`tidb_ddl_reorg_batch_size`](/system-variables.md#tidb_ddl_reorg_batch_size).
- `MAX_WRITE_SPEED`: the maximum bandwidth limit for importing index records into each TiKV. The initial value is set by [`tidb_ddl_reorg_max_write_speed`](/system-variables.md#tidb_ddl_reorg_max_write_speed-new-in-v850). Currently this parameter only works for jobs with `ADD INDEX` submitted and running after disabling [`tidb_enable_dist_task`](/system-variables.md#tidb_enable_dist_task-new-in-v710).
Copy link
Copy Markdown
Collaborator

@Frank945946 Frank945946 Dec 2, 2024

Choose a reason for hiding this comment

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

Suggested change
- `MAX_WRITE_SPEED`: the maximum bandwidth limit for importing index records into each TiKV. The initial value is set by [`tidb_ddl_reorg_max_write_speed`](/system-variables.md#tidb_ddl_reorg_max_write_speed-new-in-v850). Currently this parameter only works for jobs with `ADD INDEX` submitted and running after disabling [`tidb_enable_dist_task`](/system-variables.md#tidb_enable_dist_task-new-in-v710).
- `MAX_WRITE_SPEED`: the maximum bandwidth limit for importing index records into each TiKV. The initial value is set by [`tidb_ddl_reorg_max_write_speed`](/system-variables.md#tidb_ddl_reorg_max_write_speed-new-in-v850).
Currently, the above parameters only work for jobs with `ADD INDEX` submitted and running after disabling [`tidb_enable_dist_task`](/system-variables.md#tidb_enable_dist_task-new-in-v710).

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Dec 2, 2024

@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Dec 2, 2024

@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-show-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
Comment thread sql-statements/sql-statement-admin-alter-ddl.md Outdated
@hfxsd hfxsd added the needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. label Dec 2, 2024
Copy link
Copy Markdown
Member

@lilin90 lilin90 left a comment

Choose a reason for hiding this comment

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

/lgtm

@ti-chi-bot ti-chi-bot Bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Dec 2, 2024
@ti-chi-bot ti-chi-bot Bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Dec 2, 2024
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Dec 2, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-12-02 06:28:07.945433634 +0000 UTC m=+1049875.565088150: ☑️ agreed by lilin90.
  • 2024-12-02 06:52:29.102945631 +0000 UTC m=+1051336.722600142: ☑️ agreed by hfxsd.

@hfxsd
Copy link
Copy Markdown
Collaborator

hfxsd commented Dec 2, 2024

/approve

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Dec 2, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hfxsd

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Dec 2, 2024
@ti-chi-bot ti-chi-bot Bot merged commit 9184833 into pingcap:master Dec 2, 2024
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch release-8.5: #19546.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. v8.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants