Skip to content

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

Open
@redsquare

Description

@redsquare

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions