Skip to content
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

stats, sql: fix format and update wording #18192

Merged
merged 14 commits into from
Jul 19, 2024
Merged

Conversation

lilin90
Copy link
Member

@lilin90 lilin90 commented Jul 11, 2024

What is changed, added or deleted? (Required)

When I was creating pingcap/docs-cn#17827, I found some issues in the English version. So I created this PR to:

  • Fix some typos and format
  • Update wording and links

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.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v8.0 (TiDB 8.0 versions)
  • v7.6 (TiDB 7.6 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)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 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

@lilin90 lilin90 added needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. needs-cherry-pick-release-8.2 labels Jul 11, 2024
@lilin90 lilin90 requested review from dveeden and qiancai July 11, 2024 10:21
@lilin90 lilin90 self-assigned this Jul 11, 2024
@lilin90 lilin90 added the translation/no-need No need to translate this PR. label Jul 11, 2024
@ti-chi-bot ti-chi-bot bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 11, 2024
@@ -148,13 +148,13 @@ If a table has many columns, collecting statistics on all the columns can cause

<CustomContent platform="tidb">

After the setting, TiDB writes the `PREDICATE COLUMNS` information to the `mysql.column_stats_usage` system table every 100 * [`stats-lease`](/tidb-configuration-file.md#stats-lease).
After the setting, TiDB writes the `PREDICATE COLUMNS` information to the [`mysql.column_stats_usage`](/mysql-schema.md#statistics-system-tables) system table every 100 * [`stats-lease`](/tidb-configuration-file.md#stats-lease).
Copy link
Contributor

Choose a reason for hiding this comment

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

The docs for the mysql schema could be improved:

But this doesn't need to be fixed in this PR

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jul 11, 2024
@dveeden
Copy link
Contributor

dveeden commented Jul 11, 2024

extended-statistics.md
  108:115-108:219  warning  Dead anchor: /statistics.md#import-and-export-statistics. Did you mean #export-and-import-statistics  pingcap-docs-anchors  remark-lint

@lilin90
Copy link
Member Author

lilin90 commented Jul 18, 2024

@qiancai All the comments have been addressed. PTAL again~ Thanks!

Copy link
Collaborator

@qiancai qiancai left a comment

Choose a reason for hiding this comment

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

Rest LGTM

statistics.md Outdated Show resolved Hide resolved
statistics.md Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jul 18, 2024
Copy link

ti-chi-bot bot commented Jul 18, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-07-11 11:28:06.543861468 +0000 UTC m=+529783.779095566: ☑️ agreed by dveeden.
  • 2024-07-18 09:44:31.528711141 +0000 UTC m=+519893.519652610: ☑️ agreed by qiancai.

@ti-chi-bot ti-chi-bot bot removed the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 19, 2024
@ti-chi-bot ti-chi-bot bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 19, 2024
statistics.md Outdated Show resolved Hide resolved
@lilin90
Copy link
Member Author

lilin90 commented Jul 19, 2024

/approve

Copy link

ti-chi-bot bot commented Jul 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lilin90

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

The pull request process is described here

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 Jul 19, 2024
@ti-chi-bot ti-chi-bot bot merged commit a991a83 into pingcap:master Jul 19, 2024
9 checks passed
@ti-chi-bot
Copy link
Member

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

@lilin90 lilin90 deleted the refine-stats branch July 19, 2024 07:23
@ti-chi-bot
Copy link
Member

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

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.1 Should cherry pick this PR to release-8.1 branch. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/no-need No need to translate this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants