-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tidb-functions: update tidb-functions.md doc #8775
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
Conversation
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
Co-authored-by: Enwei <jinenwei@pingcap.com>
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
@TonsnakeLin Please sign the CLA. Thanks! |
Co-authored-by: Enwei <jinenwei@pingcap.com>
Signed-off-by: TonsnakeLin <lpbgytong@163.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
TomShawn
left a comment
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.
LGTM
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 918b457 |
|
In response to a cherrypick label: new pull request created: #9586. |
| - 创建方式: | ||
| 当二级唯一索引 `uk((tidb_shard(a)), a))` 的索引字段 `a` 上存在因单调递增或递减而产生的热点时,索引的前缀 `tidb_shard(a)` 会打散热点,从而提升集群扩展性。 |
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.
这句话说的像是触发场景?并没有说如何创建
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.
#9670 已提 PR 添加创建方式的说明“使用 uk((tidb_shard(a)), a)) 为字段 a 创建一个 SHARD INDEX。”
Signed-off-by: TonsnakeLin lpbgytong@163.com
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 (in Chinese).
What is the related PR or file link(s)?
pingcap/tidb#30659
Do your changes match any of the following descriptions?