add sql tuning best practice into tuning guide
First-time contributors' checklist
- [x] I've signed Contributor License Agreement that's required for repo owners to accept my contribution.
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.
- [x] master (the latest development version)
- [x] v8.4 (TiDB 8.4 versions)
- [x] v8.3 (TiDB 8.3 versions)
- [x] v8.2 (TiDB 8.2 versions)
- [x] v8.1 (TiDB 8.1 versions)
- [x] v7.5 (TiDB 7.5 versions)
- [x] v7.1 (TiDB 7.1 versions)
- [x] 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)?
- This PR is translated from:
- Other reference 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
Hi @dbsid. Thanks for your PR.
I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
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/test-infra repository.
/ok-to-test
Only one issue left in the checks:
ERROR: sql-tuning-best-practice.md has unclosed tags: <>.
Not sure where the issue is exactly
@winoros: adding LGTM is restricted to approvers and reviewers in OWNERS files.
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/test-infra repository.
Maybe @mjonss can check if we could/should add more details about partitioning
@mjonss: adding LGTM is restricted to approvers and reviewers in OWNERS files.
In response to this:
Very good job with examples and explanations. I only have some minor questions and suggestions!
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.
Maybe @mjonss can check if we could/should add more details about partitioning
@dveeden I think this PR is big enough as-is, I create a follow up, #19578, instead.
@Yui-Song: adding LGTM is restricted to approvers and reviewers in OWNERS files.
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.
Removed the needs-cherry-pick-release-8.2 label because the v8.2 docs have been archived at https://docs-archive.pingcap.com/tidb/v8.2 and will no longer receive new updates.
/cc @qiancai
[LGTM Timeline notifier]
Timeline:
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Oreoxmt
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [Oreoxmt]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
In response to a cherrypick label: new pull request created to branch release-6.5: #20511.
But this PR has conflicts, please resolve them!
In response to a cherrypick label: new pull request created to branch release-7.1: #20512.
But this PR has conflicts, please resolve them!
In response to a cherrypick label: new pull request created to branch release-7.5: #20513.
But this PR has conflicts, please resolve them!
In response to a cherrypick label: new pull request created to branch release-8.1: #20514.
In response to a cherrypick label: new pull request created to branch release-8.3: #20515.
But this PR has conflicts, please resolve them!
In response to a cherrypick label: new pull request created to branch release-8.5: #20516.
In response to a cherrypick label: new pull request created to branch release-8.4: #20517.