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

[Enhancement] support setting auto_min_buckets seperately for each table in dynamic partition #49132

Open
2 of 3 tasks
Elijah-Liu opened this issue Mar 17, 2025 · 0 comments
Open
2 of 3 tasks

Comments

@Elijah-Liu
Copy link

Elijah-Liu commented Mar 17, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Description

In dynamic partitioning, there is a global property auto_min_buckets. We want to set this property individually for each table.

The reason is that our log tables are divided into large and small tables. If auto_min_buckets is set too high, it will lead to excessive partitioning for small tables, even when they contain very little data.

But setting it too low also causes issues because our large log tables receive a high volume of data from Monday to Friday but much less on weekends. This results in too few partitions being created on Mondays, which negatively impacts query performance.

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant