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

The PQ cannot correctly multiply indexes when using analyze version 1 #57257

Closed
Rustin170506 opened this issue Nov 9, 2024 · 0 comments · Fixed by #57258
Closed

The PQ cannot correctly multiply indexes when using analyze version 1 #57257

Rustin170506 opened this issue Nov 9, 2024 · 0 comments · Fixed by #57258
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. component/statistics severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@Rustin170506
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Create a TiDB cluster
  2. Create a table and insert 1000 rows
  3. Creare two new indexes
  4. Check the stats

2. What did you expect to see? (Required)

All newly added indexes have been analyzed.

3. What did you see instead (Required)

Only the first index has been analyzed.

4. What is your TiDB version? (Required)

master, v8.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. component/statistics severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant