Skip to content

stats, sql: fix format and update wording#18192

Merged
ti-chi-bot[bot] merged 14 commits into
pingcap:masterfrom
lilin90:refine-stats
Jul 19, 2024
Merged

stats, sql: fix format and update wording#18192
ti-chi-bot[bot] merged 14 commits into
pingcap:masterfrom
lilin90:refine-stats

Conversation

@lilin90
Copy link
Copy Markdown
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
Comment thread statistics.md
<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
Copy Markdown
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
Copy Markdown
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

Comment thread sql-statements/sql-statement-show-stats-histograms.md Outdated
Comment thread sql-statements/sql-statement-show-stats-histograms.md
@lilin90
Copy link
Copy Markdown
Member Author

lilin90 commented Jul 18, 2024

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

Copy link
Copy Markdown
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

Comment thread statistics.md Outdated
Comment thread statistics.md Outdated
@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
@ti-chi-bot
Copy link
Copy Markdown

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.

Co-authored-by: Grace Cai <qqzczy@126.com>
@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
Comment thread statistics.md Outdated
@lilin90
Copy link
Copy Markdown
Member Author

lilin90 commented Jul 19, 2024

/approve

@ti-chi-bot
Copy link
Copy Markdown

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

Details 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
@ti-chi-bot
Copy link
Copy Markdown
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
Copy Markdown
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