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

Clickhouse - Default Partition should be monthly (toYYYYMM) rather than daily #5079

Open
redsquare opened this issue Sep 10, 2024 · 3 comments

Comments

@redsquare
Copy link

Advised on Clickhouse to have partitions of between 30gb and 150gb per partition, I am sure most people using rudder->click do not have this volume daily therefore the default should be monthly - keeping the amount of parts on disk lower should be the preferred option

partitionByClause = fmt.Sprintf(`PARTITION BY toDate(%s)`, partitionField)

@contributor-support
Copy link

Thanks for opening this issue! We'll get back to you shortly. If it is a bug, please make sure to add steps to reproduce the issue.

@redsquare redsquare changed the title Default Partition should be monthly (toYYYYMM) rather than daily Clickhouse - Default Partition should be monthly (toYYYYMM) rather than daily Sep 10, 2024
@ericdodds
Copy link

@redsquare we are going to slot this into an upcoming sprint. I'll reach out to you for more info as we get closer to starting the work.

@redsquare
Copy link
Author

@ericdodds any update on this :)

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

2 participants