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

what is the benefit of LowCardinaliy? #424

Closed
zdyj3170101136 opened this issue Sep 19, 2024 · 1 comment
Closed

what is the benefit of LowCardinaliy? #424

zdyj3170101136 opened this issue Sep 19, 2024 · 1 comment

Comments

@zdyj3170101136
Copy link
Contributor

zdyj3170101136 commented Sep 19, 2024

if i have a column

    env LowCardinality(String)

i could use proto.LowCardinaliy[proto.Str] and proto.Str to insert the column.

the LowCardinaliy would reduce bytes sent to clickhouse server but increase client memory usage.

in fact, if env is too slow that have only 2~3 bytes and the batch is very large, the LowCardinaliy index would too long that could not reduce too much memory.

is it have any other benefit?

@serprex
Copy link
Member

serprex commented Oct 13, 2024

I assume #425 reflects fix related to this issue you're raising?

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