docs icon indicating copy to clipboard operation
docs copied to clipboard

develop: fix paging sql with multiple columns for clustered index table

Open Mini256 opened this issue 1 year ago • 1 comments

First-time contributors' checklist

What is changed, added or deleted? (Required)

Change the paging SQL example with multiple columns for the cluster index table.

The old example will make a bad full table scan, the new one can use indexes.

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] v6.2 (TiDB 6.2 versions)
  • [x] v6.1 (TiDB 6.1 versions)
  • [ ] v5.4 (TiDB 5.4 versions)
  • [ ] v5.3 (TiDB 5.3 versions)
  • [ ] v5.2 (TiDB 5.2 versions)
  • [ ] v5.1 (TiDB 5.1 versions)
  • [ ] v5.0 (TiDB 5.0 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

Mini256 avatar Sep 19 '22 16:09 Mini256

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • Oreoxmt

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.

ti-chi-bot avatar Sep 19 '22 16:09 ti-chi-bot

/hold

Need to change further.

Mini256 avatar Oct 11 '22 06:10 Mini256

Close due to https://github.com/pingcap/docs/pull/10988

Oreoxmt avatar Oct 25 '22 05:10 Oreoxmt