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

*: support auto analyze partition table (#7789) #8649

Merged
merged 3 commits into from
Dec 12, 2018

Conversation

alivxxx
Copy link
Contributor

@alivxxx alivxxx commented Dec 11, 2018

What problem does this PR solve?

When creating a partition table, the stats will keep auto analyze that table.

What is changed and how it works?

Each partition will have its own stats, so we cannot get the partition stats using the table id and we will repeatedly analyze that table.
Cherry-pick #7789

Check List

Tests

  • Unit test

Code changes

  • Has exported function/method change

Side effects

  • None

Related changes

  • None

PTAL @zz-jason @winoros @XuHuaiyu @eurekaka


This change is Reviewable

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@eurekaka eurekaka left a comment

Choose a reason for hiding this comment

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

LGTM

@eurekaka eurekaka added the status/LGT2 Indicates that a PR has LGTM 2. label Dec 12, 2018
@eurekaka
Copy link
Contributor

/run-all-tests tikv=release-2.1 pd=release-2.1

@zz-jason
Copy link
Member

/run-all-tests tidb-test=release-2.1 tikv=release-2.1 pd=release-2.1

@zz-jason zz-jason merged commit 68a19bb into pingcap:release-2.1 Dec 12, 2018
@alivxxx alivxxx deleted the auto-analyze branch April 28, 2019 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/statistics status/LGT2 Indicates that a PR has LGTM 2. type/bug-fix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants