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

load all column stats by sync load #53141

Closed
hawkingrei opened this issue May 9, 2024 · 0 comments · Fixed by #53137
Closed

load all column stats by sync load #53141

hawkingrei opened this issue May 9, 2024 · 0 comments · Fixed by #53137
Assignees
Labels
affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.

Comments

@hawkingrei
Copy link
Member

Enhancement

In calculating cost, we need all columns' stats to get row size.

image

To get right result,so we need to load all stats when to sync load

@hawkingrei hawkingrei added the type/enhancement The issue or PR belongs to an enhancement. label May 9, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in a2037fe May 14, 2024
@ti-chi-bot ti-chi-bot added the affects-8.1 This bug affects the 8.1.x(LTS) versions. label May 14, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
terry1purcell pushed a commit to terry1purcell/tidb that referenced this issue May 17, 2024
@ti-chi-bot ti-chi-bot added the affects-7.5 This bug affects the 7.5.x(LTS) versions. label May 21, 2024
@jebter jebter added the sig/planner SIG: Planner label May 21, 2024
RidRisR pushed a commit to RidRisR/tidb that referenced this issue May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants