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

enhancements when BR update stats meta if tables have not statistic data #60374

Open
3 tasks
Leavrth opened this issue Apr 2, 2025 · 0 comments
Open
3 tasks
Labels
component/br This issue is related to BR of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@Leavrth
Copy link
Contributor

Leavrth commented Apr 2, 2025

Enhancement

  • introduce a parameter --auto-analyze to update the column modify_count of the table mysql.stats_meta to trigger tidb_analyze_priority_queue to analyze tables in the background.
  • also update the stats meta of the partition.
  • batch update the stats meta and skip updating stats meta history.
@Leavrth Leavrth added type/enhancement The issue or PR belongs to an enhancement. component/br This issue is related to BR of TiDB. labels Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant