Skip to content

fix(warehouse): change ClickHouse partition from daily to monthly#6669

Open
deepshekhardas wants to merge 1 commit intorudderlabs:masterfrom
deepshekhardas:fix/clickhouse-monthly-partition-5079
Open

fix(warehouse): change ClickHouse partition from daily to monthly#6669
deepshekhardas wants to merge 1 commit intorudderlabs:masterfrom
deepshekhardas:fix/clickhouse-monthly-partition-5079

Conversation

@deepshekhardas
Copy link
Copy Markdown

Closes #5079

Changed PARTITION BY from toDate() to toYYYYMM() in ClickHouse table creation.

This follows ClickHouse best practices recommending partitions of 30-150GB.
Monthly partitions are more appropriate for typical rudder-server workloads.

…dderlabs#5079)

Changed PARTITION BY from toDate() to toYYYYMM() in ClickHouse table creation.

This follows ClickHouse best practices recommending partitions of 30-150GB. Monthly partitions are more appropriate for typical rudder-server workloads.

Closes rudderlabs#5079
@contributor-support
Copy link
Copy Markdown

Thank you @deepshekhardas for contributing this PR.
Please sign the Contributor License Agreement (CLA) before merging.

@gitcommitshow
Copy link
Copy Markdown
Collaborator

Hi @deepshekhardas , thanks for your contribution.
Can you please sign the CLA by visiting the link in the earlier comment?
This is a mandatory requirement to ensure compliance with the project's license.

@deepshekhardas
Copy link
Copy Markdown
Author

This PR is ready for review. Could a maintainer please take a look? All CI checks are passing. 🙏

1 similar comment
@deepshekhardas
Copy link
Copy Markdown
Author

This PR is ready for review. Could a maintainer please take a look? All CI checks are passing. 🙏

@deepshekhardas
Copy link
Copy Markdown
Author

This PR is ready for review. Could a maintainer please take a look? All CI checks are passing.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

This PR is considered to be stale. It has been open 20 days with no further activity thus it is going to be closed in 7 days. To avoid such a case please consider removing the stale label manually or add a comment to the PR.

@github-actions github-actions bot added the Stale label Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants