-
Couldn't load subscription status.
- Fork 1.2k
distribute-table: support to scatter the region distribution of the given table and engine #19534
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
ca62ac6
add distribute table fd
bufferflies a4fc306
address comment
bufferflies c0b9415
address comment
bufferflies e80d334
add toc changes and anther two sql docs
qiancai 1bdc893
Apply suggestions from code review
qiancai 2bfb0e1
update the file naming style to use hyphen
qiancai acd05fa
Apply suggestions from code review
qiancai 92d3a9c
add cancel job sql
bufferflies c7611d9
conflict
bufferflies 20a6312
split
bufferflies a4ccf2c
address comment
bufferflies 1e9b393
cancel distribution job
bufferflies 51c781b
toc add cancel distribution job link
bufferflies 8f08f70
add a section for parameter descriptions
qiancai 418934e
Update sql-statements/sql-statement-cancel-distribution-job.md
qiancai 17547f5
scatter
bufferflies e2f16f4
optimize parser
bufferflies 3ce5099
add " " to wrap argument values
qiancai 4e1386f
minor format updates
qiancai 0ae5d5c
----
bufferflies 0881fba
Merge branch 'distribute_table' of github.com:bufferflies/docs-cn int…
bufferflies f0545be
address comment
bufferflies 7140d09
minor format updates
qiancai 1bfac73
show distribution
bufferflies 4bffb4e
Merge branch 'distribute_table' of github.com:bufferflies/docs-cn int…
bufferflies 745d235
remove an empty line
qiancai 4bcab8e
remove an empty line
qiancai 5673ec1
add four comments about the support info
qiancai f5e6ffa
Apply suggestions from code review
qiancai 9bae0eb
use <span> to wrap the version support info
qiancai 97fc420
Merge branch 'distribute_table' of https://github.com/bufferflies/doc…
qiancai a27f6cd
show the version span in the doc title
qiancai 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| --- | ||
| title: CANCEL DISTRIBUTION | ||
| summary: TiDB 数据库中 CANCEL DISTRIBUTION 的使用情况。 | ||
| --- | ||
|
|
||
| # CANCEL DISTRIBUTION | ||
|
|
||
| <!-- New in v9.0.0 --> | ||
|
|
||
| `CANCEL DISTRIBUTION` 语句用于取消 TiDB 中通过 [`DISTRIBUTE TABLE`](sql-statements/sql-statement-distribute-table.md) 语句创建的 Region 调度任务。 | ||
|
|
||
| ## 语法图 | ||
|
|
||
| ```ebnf+diagram | ||
| CancelDistributionJobsStmt ::= | ||
| 'CANCEL' 'DISTRIBUTION' 'JOB' JobID | ||
| ``` | ||
|
|
||
| ## 示例 | ||
|
|
||
| 下面示例取消 ID 为 1 的导入任务: | ||
|
|
||
| ```sql | ||
| CANCEL DISTRIBUTION JOB 1; | ||
| ``` | ||
|
|
||
| 输出结果如下: | ||
|
|
||
| ``` | ||
| Query OK, 0 rows affected (0.01 sec) | ||
| ``` | ||
|
|
||
| ## MySQL 兼容性 | ||
|
|
||
| 该语句是 TiDB 对 MySQL 语法的扩展。 | ||
|
|
||
| ## 另请参阅 | ||
|
|
||
| * [`DISTRIBUTE TABLE`](/sql-statements/sql-statement-distribute-table.md) | ||
| * [`SHOW DISTRIBUTION JOB`](/sql-statements/sql-statement-show-distribution-jobs.md) | ||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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
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.